Traceback (most recent call last):
File "./tools/test.py", line 214, in
main()
File "./tools/test.py", line 172, in main
checkpoint = load_checkpoint(model, args.checkpoint, map_location="cpu")
File "/home/zzy/PycharmProjects/Det3D/det3d/torchie/trainer/checkpoint.py", line 155, in load_checkpoint
raise IOError("{} is not a checkpoint file".format(filename))
OSError: /home/zzy/PycharmProjects/Det3D/work_dirs/latest.pth is not a checkpoint file
what changes you made (git diff) or what code you wrote
/home/zzy/miniconda3/envs/det3d/lib/python3.6/site-packages/numba/cuda/envvars.py:17: NumbaWarning:
Environment variables with the 'NUMBAPRO' prefix are deprecated and consequently ignored, found use of NUMBAPRO_CUDA_DRIVER=/usr/lib/x86_64-linux-gnu/libcuda.so.
For more information about alternatives visit: ('https://numba.pydata.org/numba-doc/latest/cuda/overview.html', '#cudatoolkit-lookup')
warnings.warn(errors.NumbaWarning(msg))
/home/zzy/miniconda3/envs/det3d/lib/python3.6/site-packages/numba/cuda/envvars.py:17: NumbaWarning:
Environment variables with the 'NUMBAPRO' prefix are deprecated and consequently ignored, found use of NUMBAPRO_NVVM=/usr/local/cuda/nvvm/lib64/libnvvm.so.
For more information about alternatives visit: ('https://numba.pydata.org/numba-doc/latest/cuda/overview.html', '#cudatoolkit-lookup')
warnings.warn(errors.NumbaWarning(msg))
/home/zzy/miniconda3/envs/det3d/lib/python3.6/site-packages/numba/cuda/envvars.py:17: NumbaWarning:
Environment variables with the 'NUMBAPRO' prefix are deprecated and consequently ignored, found use of NUMBAPRO_LIBDEVICE=/usr/local/cuda/nvvm/libdevice.
For more information about alternatives visit: ('https://numba.pydata.org/numba-doc/latest/cuda/overview.html', '#cudatoolkit-lookup')
warnings.warn(errors.NumbaWarning(msg))
Traceback (most recent call last):
File "./tools/test.py", line 214, in
main()
File "./tools/test.py", line 172, in main
checkpoint = load_checkpoint(model, args.checkpoint, map_location="cpu")
File "/home/zzy/PycharmProjects/Det3D/det3d/torchie/trainer/checkpoint.py", line 155, in load_checkpoint
raise IOError("{} is not a checkpoint file".format(filename))
OSError: /home/zzy/PycharmProjects/Det3D/work_dirs/latest.pth is not a checkpoint file
Neither the model downloaded from the home page nor the model trained by myself can run. Thank you for your help.
Thanks for your code!
Instructions To Reproduce the Issue:
Traceback (most recent call last): File "./tools/test.py", line 214, in
main()
File "./tools/test.py", line 172, in main
checkpoint = load_checkpoint(model, args.checkpoint, map_location="cpu")
File "/home/zzy/PycharmProjects/Det3D/det3d/torchie/trainer/checkpoint.py", line 155, in load_checkpoint
raise IOError("{} is not a checkpoint file".format(filename))
OSError: /home/zzy/PycharmProjects/Det3D/work_dirs/latest.pth is not a checkpoint file
git diff
) or what code you wrotepython ./tools/test.py --show ./examples/point_pillars/configs/nusc_all_point_pillars_mghead_syncbn.py /home/zzy/PycharmProjects/Det3D/work_dirs/latest.pth
For more information about alternatives visit: ('https://numba.pydata.org/numba-doc/latest/cuda/overview.html', '#cudatoolkit-lookup') warnings.warn(errors.NumbaWarning(msg)) /home/zzy/miniconda3/envs/det3d/lib/python3.6/site-packages/numba/cuda/envvars.py:17: NumbaWarning: Environment variables with the 'NUMBAPRO' prefix are deprecated and consequently ignored, found use of NUMBAPRO_NVVM=/usr/local/cuda/nvvm/lib64/libnvvm.so.
For more information about alternatives visit: ('https://numba.pydata.org/numba-doc/latest/cuda/overview.html', '#cudatoolkit-lookup') warnings.warn(errors.NumbaWarning(msg)) /home/zzy/miniconda3/envs/det3d/lib/python3.6/site-packages/numba/cuda/envvars.py:17: NumbaWarning: Environment variables with the 'NUMBAPRO' prefix are deprecated and consequently ignored, found use of NUMBAPRO_LIBDEVICE=/usr/local/cuda/nvvm/libdevice.
For more information about alternatives visit: ('https://numba.pydata.org/numba-doc/latest/cuda/overview.html', '#cudatoolkit-lookup') warnings.warn(errors.NumbaWarning(msg)) Traceback (most recent call last): File "./tools/test.py", line 214, in
main()
File "./tools/test.py", line 172, in main
checkpoint = load_checkpoint(model, args.checkpoint, map_location="cpu")
File "/home/zzy/PycharmProjects/Det3D/det3d/torchie/trainer/checkpoint.py", line 155, in load_checkpoint
raise IOError("{} is not a checkpoint file".format(filename))
OSError: /home/zzy/PycharmProjects/Det3D/work_dirs/latest.pth is not a checkpoint file