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

typeerror #18

Open
justinner opened this issue Feb 26, 2019 · 3 comments
Open

typeerror #18

justinner opened this issue Feb 26, 2019 · 3 comments

Comments

@justinner
Copy link

Hi Marvin,when I just run 'python demo.py data/2007_001288_0img.png data/2007_001288_5labels.png
', the error occured as following:

TypeError: avg_pool2d(): argument 'padding' must be tuple of ints, but found element of type float at pos 1
could you help me ?thanks very much.

@zhudelong
Copy link

zhudelong commented Mar 5, 2019

just convert them to int type by putting 'int()'

@Zhaosoi
Copy link

Zhaosoi commented Jun 24, 2019

@justinner Hi! I have encountered the same problem. Could you tell me how you solved it in the end?

@Zhaosoi
Copy link

Zhaosoi commented Jun 26, 2019

@justinner Hi! I have encountered the same problem. Could you tell me how you solved it in the end?

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

3 participants