PopicLab / cue

Deep learning framework for SV calling and genotyping
MIT License
102 stars 20 forks source link

Update plotting.py #8

Closed sivianil closed 1 year ago

sivianil commented 1 year ago

In line 161, change the centre coordinates datatype of circle function in cv2 module into int type.

viq854 commented 1 year ago

Hi @sivianil, could you provide more details about why you're suggesting this change. Thanks, V

sivianil commented 1 year ago
Screenshot 2022-12-12 at 15 30 33

When I tried to run the model after updating all of the packages versions in requirements.txt file, I ran into an error. You can check the error displayed in the screenshot. After changing it into int type, I didn't encountered any error. Correct me, If I'm wrong.

viq854 commented 1 year ago

It looks like your OpenCV package has a different version from the one in the requirements file: opencv-python==4.5.1.48. All the software versions must match (especially for the image-generation logic) to ensure expected model functionality. The provided Dockerfile could help with the install as well.