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 when generating the dataset #26

Open
ejichen opened this issue Nov 8, 2018 · 1 comment
Open

Error when generating the dataset #26

ejichen opened this issue Nov 8, 2018 · 1 comment

Comments

@ejichen
Copy link

ejichen commented Nov 8, 2018

Hello,
Thanks for the great work! However I'm facing some errors when generating the images dataset. One of them is when I executed the command python2 h5tool.py create_celeba_hq file_name_to_save /path/to/celeba_dataset/ /path/to/celeba_hq_deltas, it shows the error message below. How should I solve this? Thank you so much.


Traceback (most recent call last):
  File "h5tool.py", line 697, in <module>
    execute_cmdline(sys.argv)
  File "h5tool.py", line 692, in execute_cmdline
    func(**vars(args))
  File "h5tool.py", line 596, in create_celeba_hq
    for idx, img in pool.process_items_concurrently(fields['idx'], process_func=process_func, max_items_in_flight=num_tasks):
  File "h5tool.py", line 161, in process_items_concurrently
    for res in retire_result(): yield res
  File "h5tool.py", line 149, in retire_result
    processed, (prepared, idx) = self.get_result(task_func)
  File "h5tool.py", line 126, in get_result
    raise Exception('%s, %s' % (result.type, result.value))
Exception: <type 'exceptions.ValueError'>, Unable to create correctly shaped tuple from ((420, 1730), (420, 1906), (0, 0))

@cg3575
Copy link

cg3575 commented Nov 19, 2018

have you solve the problem? I have met the same question.

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