we0091234 / Chinese_license_plate_detection_recognition

yolov5 车牌检测 车牌识别 中文车牌识别 检测 支持12种中文车牌 支持双层车牌
GNU General Public License v3.0
1.35k stars 226 forks source link

whats the pytorch version #14

Closed ReverseSystem001 closed 1 year ago

ReverseSystem001 commented 1 year ago

when i export_torchscipt. It reports local/lib/python3.6/site-packages/torch/_tensor.py:575: UserWarning: floor_divide is deprecated, and will be removed in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values. To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor'). (Triggered internally at /pytorch/aten/src/ATen/native/BinaryOps.cpp:467.) return torch.floor_divide(self, other) can you tell me your training pytroch version? and have you trained yolov5s. if so, can you public the model. thanks

we0091234 commented 1 year ago

when i export_torchscipt. It reports local/lib/python3.6/site-packages/torch/_tensor.py:575: UserWarning: floor_divide is deprecated, and will be removed in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values. To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor'). (Triggered internally at /pytorch/aten/src/ATen/native/BinaryOps.cpp:467.) return torch.floor_divide(self, other) can you tell me your training pytroch version? and have you trained yolov5s. if so, can you public the model. thanks

torch 1.7.1+cu110

ReverseSystem001 commented 1 year ago

thanks. have you trained the yolov5s?

we0091234 commented 1 year ago

thanks. have you trained the yolov5s? no i haven't,you can train by yourself

ReverseSystem001 commented 1 year ago

thanks for your answer