-
Notifications
You must be signed in to change notification settings - Fork 112
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
self.scale_factor = float(scale_factor) if scale_factor else None出现问题 #21
Comments
@chunxia0202 解决了没 |
@chunxia0202 numpy==1.14.2 |
|
没有问题啦,我改过来了,感谢感谢
发自我的iPhone
…------------------ 原始邮件 ------------------
发件人: anqin1117 ***@***.***>
发送时间: 2022年5月12日 18:15
收件人: lee-zq/3DUNet-Pytorch ***@***.***>
抄送: chunxia0202 ***@***.***>, Mention ***@***.***>
主题: Re: [lee-zq/3DUNet-Pytorch] self.scale_factor = float(scale_factor) if scale_factor else None出现问题 (#21)
@chunxia0202 numpy==1.14.2 torch==1.0.1 visdom==0.1.8.8 pandas==0.23.3 scipy==1.0.0 tqdm==4.40.2 scikit-image==0.13.1 SimpleITK==1.0.1 pydensecrf==1.0rc3
真的是版本问题吗?我换了环境也出现这个错误了。哪个包版本没对上?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在上采样的时候出现这个问题是什么情况呢,是我的版本不对吗
File "/home/qinxueke/.conda/envs/vic/lib/python3.6/site-packages/torch/nn/modules/upsampling.py", line 125, in init
self.scale_factor = float(scale_factor) if scale_factor else None
TypeError: float() argument must be a string or a number, not 'tuple'
The text was updated successfully, but these errors were encountered: