pose-tensorflow icon indicating copy to clipboard operation
pose-tensorflow copied to clipboard

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

Open beyzozhan opened this issue 6 years ago • 2 comments

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?

beyzozhan avatar Mar 28 '18 14:03 beyzozhan

+1

wtiandong avatar Aug 02 '18 12:08 wtiandong

Hi , Do you solve it ?

larry10hhobh avatar Oct 31 '18 15:10 larry10hhobh