You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote my dataset.py and search.yaml for segmentation. The first forward pass is ok but at the first backward pass I get this error message:
File "anaconda3/envs/nn_seg/lib/python3.8/site-packages/torch/autograd/init.py", line 147, in backward
Variable._execution_engine.run_backward(
RuntimeError: Trying to backward through the graph a second time (or directly access saved variables after they have already been freed). Saved intermediate values of the graph are freed when you call .backward() or autograd.grad(). Specify retain_graph=True if you need to backward through the graph a second time or if you need to access saved variables after calling backward.
Hi,
I wrote my dataset.py and search.yaml for segmentation. The first forward pass is ok but at the first backward pass I get this error message:
Full log in log.txt
Do you have any idea where this problem could come from ?
Bests,
The text was updated successfully, but these errors were encountered: