Skip to content

ValueError: expected 2D or 3D input (got 4D input) #1

Description

@MrLinNing

Hello Andreas Veit:

My PyTorch version is 4.0 , cuda is 9.0 and python is 3.5.
I run the code, but I find this problem.

 python train.py

problem:
image

I think the problem is ResNet110_cifar() function in convnet_aig.py file. I don't know how to fix the debug, can you help me? Thanks. @andreasveit

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions