You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yolo.py:108: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
#591
Open
HZW-WW opened this issue
Sep 26, 2024
· 5 comments
/home/aaa/me/yolov9-main/models/yolo.py:108: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
elif self.dynamic or self.shape != shape:
When training the train_dual.py file, this warning was reported during training. Does it affect normal training? How to solve this problem? The problem seems to be line 229 of the yolo. py file: elif self.dynamic or self.shape != shape:
The text was updated successfully, but these errors were encountered:
/home/aaa/me/yolov9-main/models/yolo.py:108: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
elif self.dynamic or self.shape != shape:
When training the train_dual.py file, this warning was reported during training. Does it affect normal training? How to solve this problem? The problem seems to be line 229 of the yolo. py file: elif self.dynamic or self.shape != shape:
The text was updated successfully, but these errors were encountered: