panzheyi / ST-MetaNet

The codes and data of paper "Urban Traffic Prediction from Spatio-Temporal Data Using Deep Meta Learning"
MIT License
194 stars 73 forks source link

Run errors with "DeferredInitializationError" #13

Open RootChenLQ opened 2 years ago

RootChenLQ commented 2 years ago

"mxnet.gluon.parameter.DeferredInitializationError: Parameter 'seq2seq_encoder_g0_in_mlp0_dense0_weight' has not been initialized yet because initialization was deferred. Actual initialization happens during the first forward pass. Please pass one batch of data through the network before accessing Parameters. You can also avoid deferred initialization by specifying in_units, num_features, etc., for network layers."

When running the codes, I met the above initialization problem. How can I debug it?