Open jch-wang opened 3 years ago
File does not exist : ../configs/yolov4-kFLOAT-batch4.engine Building the TensorRT Engine... Building complete! Serializing the TensorRT Engine... Killed
补充:也报过这个错误: wjc@wjc-desktop:~/yolo-tensorrt/build$ ./yolo-trt File does not exist : ../configs/yolov4-kFLOAT-batch4.engine Loading pre-trained weights... Loading complete! ....... ...... File does not exist : ../configs/yolov4-kFLOAT-batch4.engine Building the TensorRT Engine... Building complete! Serializing the TensorRT Engine... ERROR: FAILED_ALLOCATION: std::bad_alloc yolo-trt: /home/wjc/yolo-tensorrt/modules/yolo.cpp:1251: void Yolo::writePlanFileToDisk(): Assertion `m_ModelStream && "Unable to serialize engine"' failed. Aborted (core dumped)
v4不成功,多半是因为内存不够,用nano的换成半精度试试
config_v4.inference_precison = FP32; 改这个。fp16 int8
config_v4.inference_precison = FP32; 改这个。fp16 int8
晓得了,感谢指点,我去尝试。
@yutao007 @jch-wang 是的就是内存问题
请问这个yolo-tenssort可以部署在ubuntu上吗,是x86的机器+nvidia GPU,不是jetson系列的板子
请问这个yolo-tenssort可以部署在ubuntu上吗,是x86的机器+nvidia GPU,不是jetson系列的板子 可以
望解答,不胜感激。