-
I created the following code:
I get this error: |
Beta Was this translation helpful? Give feedback.
Answered by
wjmaddox
Nov 26, 2021
Replies: 1 comment
-
This is because this line is causing your candidates to be generated in double rather than float precision: bounds=torch.tensor([[1,0],[10,0.5]],dtype=torch.float64)
# change to
bounds=torch.tensor([[1,0],[10,0.5]],dtype=torch.float) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
A-ep93
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is because this line is causing your candidates to be generated in double rather than float precision: