Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Attribute of input is error when summary is running #59

Open
3097108366 opened this issue Nov 19, 2023 · 0 comments
Open

Attribute of input is error when summary is running #59

3097108366 opened this issue Nov 19, 2023 · 0 comments

Comments

@3097108366
Copy link

Attribute of input is error when summary in main.py is running.
When I go to 'python main.py --model conv3d --dataset IndianPines --training_sample 0.05 --cuda 0' , I see error 'AttributeError: 'builtin_function_or_method' object has no attribute 'size' '.Error code:'summary(model.to(hyperparams["device"]), input.size()[1:])'
Conv3d model is added by myself.

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

No branches or pull requests

1 participant