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

RuntimeError adding keepdim #13

Closed
wants to merge 6 commits into from
Closed

RuntimeError adding keepdim #13

wants to merge 6 commits into from

Conversation

qa276390
Copy link

Since torchvision is not compatible with Pytorch version 0.1.12, I am running this project with torch==1.1.0. And the error occur in type_specific_network.py line 119 and 142. Adding keepdim=True to torch.normcould prevent from that.
Also, in polyvore_outfits.py line 235 add list(...) might good.

RuntimeError: The expanded size of the tensor (64) must  match the existing  size (66) at non-singleton dimension 2. Target sizes: [256, 66, 64]. Tensor sizes: [256, 66]

@qa276390 qa276390 closed this Jul 17, 2019
@fuhailin
Copy link

Can you run this code without error?
I want to consult you

@qa276390
Copy link
Author

@fuhailin finally, I install Pytorch==0.1.12 and torchvision==0.1.6 to run the codes successfully.

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

Successfully merging this pull request may close these issues.

None yet

2 participants