-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Got Segmentation fault when running amc_search.py #4000
Comments
Have you modified the code of amc_search.py? In the same setting, I have no bug here. |
No modification except I used my own dataset. |
The error is from |
I have tried 1.4.1, everything seems fine. |
I found out the action produced by the actor may be nan. thus mu would be nan (https://github.com/microsoft/nni/blob/master/nni/algorithms/compression/pytorch/pruning/amc/lib/agent.py#L228) is it possible that actor may produce nan values (https://github.com/microsoft/nni/blob/master/nni/algorithms/compression/pytorch/pruning/amc/lib/agent.py#L32) ? |
Exploding gradients will lead to NaN value. |
I switch to torch1.7.0 from torch.1.8.0 and the error is gone. there might be some problems between torch1.8.0 and nni v2.3. |
Hi,
I have segmentation fault error when running amc_search
after debugging with faulthandler. It seems that the error is caused by scipy
my scipy versio is 1.4.1 and nni version is v2.3.
any idea?
The text was updated successfully, but these errors were encountered: