Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On conversion shows SpatialFullConvolution has no attribute bias #41

Open
aszenz opened this issue Nov 5, 2018 · 0 comments
Open

On conversion shows SpatialFullConvolution has no attribute bias #41

aszenz opened this issue Nov 5, 2018 · 0 comments

Comments

@aszenz
Copy link

aszenz commented Nov 5, 2018

The same error is thrown by the load_lua method, the model I'm trying to convert is the DGAN CPU pretrained model from here.

The full error message:
Traceback (most recent call last): File "./convert_torch_2_pytorch.py", line 314, in <module> torch_to_pytorch(args.model,args.output) File "./convert_torch_2_pytorch.py", line 303, in torch_to_pytorch lua_recursive_model(model,n) File "./convert_torch_2_pytorch.py", line 114, in lua_recursive_model copy_param(m,n) File "./convert_torch_2_pytorch.py", line 45, in copy_param if m.bias is not None: n.bias.data.copy_(m.bias) AttributeError: 'SpatialFullConvolution' object has no attribute 'bias'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant