minar09 / PGN_tf

Part Grouping Network (PGN) implementation in TensorFlow, for custom parsing dataset
https://github.com/Engineering-Course/CIHP_PGN
MIT License
11 stars 6 forks source link

error when running test_pgn.py #6

Closed l-mengwei closed 2 years ago

l-mengwei commented 2 years ago

File "CIHP_PGN/content/PGN_tf/test_pgn.py", line 269, in main() File "CIHP_PGN/content/PGN_tf/test_pgn.py", line 56, in main False, False, False, coord) File "CIHP_PGN/content/PGN_tf/utils/image_reader.py", line 285, in init self.data_dir, self.data_list) File "CIHP_PGN/content/PGN_tf/utils/image_reader.py", line 194, in read_labeled_image_list masks.append(os.path.join(mask_dir, mask)) File "anaconda3/envs/cihp-pgn/lib/python3.7/posixpath.py", line 80, in join a = os.fspath(a) TypeError: expected str, bytes or os.PathLike object, not NoneType

The above is the error message. image This is where the error is reported in test_pgn.py. Please how to solve this? Thank you very much, looking forward to your reply ~