ClassNLLCriterion.cu:105: void cunn_ClassNLLCriterion_updateOutput_kernel(Dtype *, Dtype *, Dtype *, long *, Dtype *, int, int, int, int, long) [with Dtype = float, Acctype = float]: block: [0,0,0], thread: [0,0,0] Assertion `t >= 0 && t < n_classes` failed.
when I used this command python main.py -n1 --auto_gpu_config 0 --split val
I got
2021-06-04 21:17:23,075 initializing task Nav-v0
2021-06-04 21:17:23,083 Computing map for data/scene_datasets/gibson/Cantwell.glb
num:0
Time: 00d 00h 00m 00s, num timesteps 0, FPS 0,
Rewards:
Losses:
Time: 00d 00h 00m 01s, num timesteps 10, FPS 7,
Rewards:
Losses: Local Loss: 0.000,
/opt/conda/conda-bld/pytorch_1565272279342/work/aten/src/THCUNN/ClassNLLCriterion.cu:105: void cunn_ClassNLLCriterion_updateOutput_kernel(Dtype *, Dtype *, Dtype *, long *, Dtype *, int, int, int, int, long) [with Dtype = float, Acctype = float]: block: [0,0,0], thread: [0,0,0] Assertion t >= 0 && t < n_classes failed.
THCudaCheck FAIL
file=/opt/conda/condabld/pytorch_1565272279342/work/aten/src/THCUNN/generic/ClassNLLCriterion.cu line=110 error=59 : device-side assert triggered
Traceback (most recent call last):
File "main.py", line 797, in
I don't know how to solve this problem. Hope to get your reply.
This seems to be an issue with your CUDA or pytorch installation and does not seem to be related to the Neural-SLAM code.