Implementation of paper - YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information
GNU General Public License v3.0
8.93k
stars
1.41k
forks
source link
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
/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:
/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: