VoVAllen opened a new issue #16098: [Bug] Unrecognize parameter shape after npx.set_up() URL: https://github.com/apache/incubator-mxnet/issues/16098 ## Description In MXNet: ```python from mxnet.gluon import nn print(nn.Dense(32).collect_params()) # weight shape=(32,0) ``` After importing dgl: ```python from mxnet import npx npx.set_up() from mxnet.gluon import nn print(nn.Dense(32).collect_params()) # weight shape=(32,-1) ``` Basically, it is not a problem when creating, training & saving models. However, when loading models from files by net.load_parameters(filename), it throws errors like: shape (32,-1) is incompatible with shape (32, 8). So we cannot correctly load the model by using the current API. Related issue: https://github.com/dmlc/dgl/issues/829
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
