Skip to content

Reproducing mini_imagenet experiments #3

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

Open
Yiqin-Luo opened this issue Jan 10, 2024 · 0 comments
Open

Reproducing mini_imagenet experiments #3

Yiqin-Luo opened this issue Jan 10, 2024 · 0 comments

Comments

@Yiqin-Luo
Copy link

File "/data/Code/Incremental_learning/PCR-main/models/resnet.py", line 85, in forward
cos_dist = torch.mm(x_normalized,weight_normalized.transpose(0,1))
RuntimeError: mat1 and mat2 shapes cannot be multiplied (30x640 and 160x100)

In the case of the PCR model, encountering error prompts occurs when attempting to execute the code directly with the mini_imagenet dataset. May I request specific details regarding the configuration of the mini_imagenet dataset within the model? This includes information such as the setup_elements.py file. Your assistance in this matter is greatly appreciated.

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