maximiliangilles / MetaGraspNet

MetaGraspNet: Official Code Repository
Other
90 stars 10 forks source link

data set isnt visualizing #7

Closed Virat-IIITDWD closed 1 year ago

Virat-IIITDWD commented 1 year ago

(metagraspnet_env) vrn@vrn-OMEN-Laptop-15-en0xxx:~/MetaGraspNet$ python Scripts/visualize_2d.py --data_root ./dataset_sim --scene 8002 --viewpt 0 --visualizelayout [ WARN:0@0.588] global loadsave.cpp:244 findDecoder imread('dataset_sim/scene8002/0_rgb.png'): can't open/read file: check file path/integrity Traceback (most recent call last): File "Scripts/visualize_2d.py", line 60, in color_img = cv2.cvtColor(color_bgr, cv2.COLOR_BGR2RGB) cv2.error: OpenCV(4.7.0) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'

all the dataset are placed properly. except for scene 1557 none of the other are opening

Virat-IIITDWD commented 1 year ago

also can you please properly specify the required versions of all the dependencies like numpy

maximiliangilles commented 1 year ago

Hi @Virat-IIITDWD,

thanks for pointing this out. It looks like something went wrong with the paths, could specify your folder structure for me?

With regard to your 2nd question, in the 'environment.yml' file all packages are specified with version number, maybe this can be a starting point.

Best,

Max

Virat-IIITDWD commented 1 year ago

Hi @Virat-IIITDWD,

thanks for pointing this out. It looks like something went wrong with the paths, could specify your folder structure for me?

With regard to your 2nd question, in the 'environment.yml' file all packages are specified with version number, maybe this can be a starting point.

Best,

Max

thank you for replying. things got resolved after i reinstalled numpy1.21.1