-
Notifications
You must be signed in to change notification settings - Fork 40
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
niform_ expects to return a [from, to) range, but found from=1 > to=0.02 #12
Comments
i met same question,i don't know why |
who can help me solve this problem?please |
i changed the 'uniform_' to 'normal_' and could you give me your email or wechat or qq ,then we can discuss some quetions about this project |
可以一起交流么 我的qq582379270 |
把 0.02和1换下位置 |
|
您好,请问可以加qq交流几个问题吗?741100750 |
Excuse me, have you already solved this problem? And could you please tell me where is positation you change? |
init.uniform_(m.weight.data, 1.0, gain)
File "/home/user/.local/lib/python3.5/site-packages/torch/nn/init.py", line 88, in uniform_
return no_grad_uniform(tensor, a, b)
File "/home/user/.local/lib/python3.5/site-packages/torch/nn/init.py", line 14, in no_grad_uniform
return tensor.uniform_(a, b)
RuntimeError: uniform_ expects to return a [from, to) range, but found from=1 > to=0.02
1.0 > 0.02 is the networks.py has some mistakes?
The text was updated successfully, but these errors were encountered: