WongKinYiu / yolov7

Implementation of paper - YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors
GNU General Public License v3.0
13.41k stars 4.23k forks source link

Sahilbirje4551 patch deprication fix for segmentation tasks #2008

Open sahilbirje4551 opened 8 months ago

sahilbirje4551 commented 8 months ago

numpy lib latest version depricated use of astype(np.int) and astype(np.bool) made the changes to astype(np.int64) and astype(np.bool_)