TensorFlow.js训练模型时报错,node train 跑起来报错,求解

(node:1676) UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'trainable' of undefined
at defineModel (D:\yxy\garbage-classification system\train\index.js:32:21)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async main (D:\yxy\garbage-classification system\train\index.js:87:17)
(Use node --trace-warnings ... to show where the warning was created)
(node:1676) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To
terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (r


img