eldar / pose-tensorflow

Human Pose estimation with TensorFlow framework
GNU Lesser General Public License v3.0
1.14k stars 384 forks source link

in mat_reader_factory byte_stream, file_opened = _open_file(file_name, appendmat) TypeError: 'NoneType' object is not iterable #67

Open beyzozhan opened 6 years ago

beyzozhan commented 6 years ago

Hey, I am trying to run the demo/demo_mutiperson.py (with python 3.5 and windows 10). I got this error: File "C:/Users/user/Desktop/bitirme-2/pose-tensorflow-master/demo/demo_multiperson.py", line 25, in dataset = create_dataset(cfg) File "C:\Users\user\Desktop\bitirme-2\pose-tensorflow-master\dataset\factory.py", line 11, in create data = MSCOCO(cfg) File "C:\Users\user\Desktop\bitirme-2\pose-tensorflow-master\dataset\mscoco.py", line 38, in init super().init(cfg) File "C:\Users\user\Desktop\bitirme-2\pose-tensorflow-master\dataset\pose_dataset.py", line 97, in init self.pairwise_stats = load_pairwise_stats(self.cfg) File "C:\Users\user\Desktop\bitirme-2\pose-tensorflow-master\dataset\pose_dataset.py", line 67, in load_pairwise_stats mat_stats = sio.loadmat(cfg.pairwise_stats_fn) File "C:\Users\user\AppData\Roaming\Python\Python35\site-packages\scipy\io\matlab\mio.py", line 141, in loadmat MR, file_opened = mat_reader_factory(file_name, appendmat, **kwargs) File "C:\Users\user\AppData\Roaming\Python\Python35\site-packages\scipy\io\matlab\mio.py", line 64, in mat_reader_factory byte_stream, file_opened = _open_file(file_name, appendmat) TypeError: 'NoneType' object is not iterable

How can i fix this error?

wtiandong commented 6 years ago

+1

larry10hhobh commented 6 years ago

Hi , Do you solve it ?