When I was testing the official pretrained model, I encountered a problem. Can you provide me with some suggestions?
2023-04-06 20:24:38,156 INFO * Performance of EPOCH 100 ***
Traceback (most recent call last):
File "test.py", line 200, in
main()
File "test.py", line 196, in main
eval_single_ckpt(model, test_loader, args, eval_output_dir, logger, epoch_id, dist_test=dist_test)
File "test.py", line 62, in eval_single_ckpt
eval_utils.eval_one_epoch(
File "/home/k/clusterest/VoxSeT/tools/eval_utils/eval_utils.py", line 81, in eval_one_epoch
sec_per_example = (time.time() - start_time) / len(dataloader.dataset)
ZeroDivisionError: float division by zero
When I was testing the official pretrained model, I encountered a problem. Can you provide me with some suggestions? 2023-04-06 20:24:38,156 INFO * Performance of EPOCH 100 *** Traceback (most recent call last): File "test.py", line 200, in
main()
File "test.py", line 196, in main
eval_single_ckpt(model, test_loader, args, eval_output_dir, logger, epoch_id, dist_test=dist_test)
File "test.py", line 62, in eval_single_ckpt
eval_utils.eval_one_epoch(
File "/home/k/clusterest/VoxSeT/tools/eval_utils/eval_utils.py", line 81, in eval_one_epoch
sec_per_example = (time.time() - start_time) / len(dataloader.dataset)
ZeroDivisionError: float division by zero