Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with rmpe_dataser_server command #23

Open
ghost opened this issue Nov 8, 2017 · 3 comments
Open

Error with rmpe_dataser_server command #23

ghost opened this issue Nov 8, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 8, 2017

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

@michalfaber
Copy link
Owner

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

@ghost
Copy link
Author

ghost commented Nov 9, 2017

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

@kirillfish
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants