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.
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 ~
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. 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 ~