Open 18370271993 opened 1 year ago
您好,训练结束后,运行验证程序 eval_stats = evaluate(model, criterion, data_loader_val, device, epoch, summary_writer, False) 出现错误: File "C:\stereo-transformer-main\utilities\eval.py", line 62, in evaluate eval_stats['epe'] = eval_stats['epe'] / valid_samples ZeroDivisionError: float division by zero
发现测试集每张图片的losses都是none,请问怎么解决,万分感谢!!!
您好,训练结束后,运行验证程序 eval_stats = evaluate(model, criterion, data_loader_val, device, epoch, summary_writer, False) 出现错误: File "C:\stereo-transformer-main\utilities\eval.py", line 62, in evaluate eval_stats['epe'] = eval_stats['epe'] / valid_samples ZeroDivisionError: float division by zero
发现测试集每张图片的losses都是none,请问怎么解决,万分感谢!!!