You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The model.loadPyTorchDump() function does not handle nested module within Sequential layers, and is unable to track the layer names correctly to import the files.
And the loadPyTorchDump function does not correctly handle these file names since it does not keep track of the "nested" nature of the Conv2d layer since it's inside of the Sequential layer.
A more complicated example that expands on the above:
I think the loading in feature should be rebuild, along with a discussion about how to engineer the module system to be more like PyTorch. I didn't have enough time to fix this during the internship.
The
model.loadPyTorchDump()
function does not handle nested module withinSequential
layers, and is unable to track the layer names correctly to import the files.Ex: If we have a model from pytorch:
and we dump it using
chai_dump
The files we get are:
And the
loadPyTorchDump
function does not correctly handle these file names since it does not keep track of the "nested" nature of theConv2d
layer since it's inside of theSequential
layer.A more complicated example that expands on the above:
Gives us the files:
Again, the
loadPyTorchDump
cannot handle this nested nature of models.The text was updated successfully, but these errors were encountered: