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

Inspect dataset not working. #10

Open
piperod opened this issue Jan 18, 2018 · 1 comment
Open

Inspect dataset not working. #10

piperod opened this issue Jan 18, 2018 · 1 comment

Comments

@piperod
Copy link

piperod commented Jan 18, 2018

Im trying to visualize the data of the generated dataset h5. First I generated a new h5 following the instructions for new generated dataset. Then I was trying to visualize the augmentation using the recomendation from the readme.

  1. I try using the notebook in the section "Verify data generator":
from ds_iterator import DataIterator
di = DataIterator("../dataset/val_dataset_new.h5", data_shape=(3, 368, 368),
                  mask_shape=(1, 46, 46),
                  label_shape=(57, 46, 46),
                  vec_num=38, heat_num=19, batch_size=10, shuffle=True)
x,y = di.next()
x,y = di.next()
x,y = di.next()

However it raises an error No module named ds_iterator

  1. I also tried using "./rmpe_servert_tester.py raw save" But it didn't process anything nor show any error. Before this I modified the function main() in rmpe_server.py with
val =    Server(["../dataset/val_dataset_new.h5"],        [RmpeCocoConfig], 5556, "Val",   shuffle=False, augment=False)"  

Maybe I didn't understand all the instructions. Is it a different part of the notebook the one I should use? or is the command for save the images to disk needs me to create a folder or take any further step previously?

@anatolix
Copy link
Owner

anatolix commented Jan 19, 2018

  1. I may have changes name of files and haven't updated notebook. Sorry it is ds_generators.py now. Will be grateful if you fix and make pull request.
  2. ./rmpe_servert_tester.py raw save waiting to connect rmpe_server.py which should be run on 5556 port. It could be mine or old c++ server.
  3. To be honest I've moved to another branch with development which called new-generation and mostly use notebooks from there
    https://github.com/anatolix/keras_Realtime_Multi-Person_Pose_Estimation/blob/new-generation/testing/inspect_nn_input_output.ipynb
    Contrary to inspect-dataset they inspect not content of hdf5, but data we feed to neural network and get from neural network.

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