Open hemangjoshi37a opened 1 month ago
i see some random url inserted on the line 65 in your error log, which is not in the original code: https://github.com/eps696/aphantasia/blob/575edd631329fd9c3eb4ad73bb7fc64492d338c5/depth/depth.py#L65 considering that error is happening before that line, i suspect there may be more erroneous edits in the repo copy. if you use google drive, i would suggest removing the repo copy from it altogether and start from scratch (to copy a clean codebase).
@eps696 i beleive there sohuld be something like error protection for this in that case it checks the mask file is available if not then use the mask = cv2.resize(mask, (size[1]//2, size[0]//2)) / 255.
line .
thanks for the hint; unfortunately, it's not feasible to safeguard everything (especially against random edits in the open-source code). please let me know if you get any errors running the original code.
I already tried different opencv versions but still same results . please suggest me how to solve this error .