princeton-vl / CornerNet

BSD 3-Clause "New" or "Revised" License
2.36k stars 475 forks source link

Upsampling error #95

Closed HRanWang closed 5 years ago

HRanWang commented 5 years ago

when I train the model, I meet the error like this, then it stops. And I have tried to use the nn.functional.interpolate instead, it didn't work, help me please, love u!

training start... 0%| | 0/480000 [00:00<?, ?it/s]/home/tfboys/anaconda3/envs/CenterNet/lib/python3.6/site-packages/torch/nn/modules/upsampling.py:123: UserWarning: nn.Upsampling is deprecated. Use nn.functional.interpolate instead. warnings.warn("nn.Upsampling is deprecated. Use nn.functional.interpolate instead.") Segmentation fault (core dumped)

HRanWang commented 5 years ago

gcc == 4.9 solve it! good luck~

wangs311 commented 5 years ago

hi, my gcc version is 4.9 now, but I still meet the same error. Do you know how to solve it? ps: gcc -v 5.4.0 doesn't work either.

this is my gcc -v: gcc version 4.9.3 (Ubuntu 4.9.3-13ubuntu2)

this is the error log: /root/anaconda3/lib/python3.6/site-packages/torch/nn/modules/upsampling.py:122: UserWarning: nn.Upsampling is deprecated. Use nn.functional.interpolate instead. warnings.warn("nn.Upsampling is deprecated. Use nn.functional.interpolate instead.") Segmentation fault (core dumped)