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

Export Linear #77

Open
theyearis1981 opened this issue Jun 23, 2023 · 2 comments
Open

Export Linear #77

theyearis1981 opened this issue Jun 23, 2023 · 2 comments

Comments

@theyearis1981
Copy link

Hi!

I am trying to export a network containing linear layers, but I'm getting the following error:

File "X/site-packages/escnn/nn/modules/linear.py", line 305, in export
linear.weight.data[:] = self
TypeError: can't assign a Linear to a torch.FloatTensor

Do you know what's causing it?

Thanks!

@Gabri95
Copy link
Collaborator

Gabri95 commented Jun 23, 2023

Hi @theyearis1981

I think you posted this on the wrong library, can you move this issue on the newer escnn library?

Gabriele

@theyearis1981
Copy link
Author

Sorry! Just reposted it there.

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

2 participants