keras_Realtime_Multi-Person_Pose_Estimation icon indicating copy to clipboard operation
keras_Realtime_Multi-Person_Pose_Estimation copied to clipboard

Error with rmpe_dataser_server command

Open ghost opened this issue 7 years ago • 3 comments

Hi @michalfaber !

While I am trying to run the training, I am getting this error when I try the rmpe_dataset_server command. Please refer to the screenshot below for more details screen shot 2017-11-08 at 4 05 14 pm

ghost avatar Nov 08 '17 23:11 ghost

It looks like your train_dataset.h5 file is invalid. Make sure that train_dataset.h5 is generated by generate_hdf5.py (not by deprecated tool rmpe_dataset_transformer).

michalfaber avatar Nov 09 '17 05:11 michalfaber

Thanks @michalfaber , The train_dataset.h5 file was generated using the month old code of yours. Now if I try to run the same command, I get the following error: screen shot 2017-11-09 at 11 47 53 am

ghost avatar Nov 09 '17 17:11 ghost

Faced the same problem when trying to launch this in Python2. The source appears to be the different behavior of bytes object in Python3 vs 2. In Python3 you get integers while iterating through bytes (output of struct.pack), and in Python2 you get single byte string.

Try to run the script with Python3.

BTW, the learning itself seems to work from both of the versions.

kirillfish avatar Nov 27 '17 10:11 kirillfish