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

"old hickle version" error #53

Closed
LanaSina opened this issue Jan 28, 2019 · 10 comments
Closed

"old hickle version" error #53

LanaSina opened this issue Jan 28, 2019 · 10 comments

Comments

@LanaSina
Copy link

Hi!
When running kitty_evaluate.py, I get this error:

  File "kitti_evaluate.py", line 50, in <module>
    test_generator = SequenceGenerator(test_file, test_sources, nt, sequence_start_mode='unique', data_format=data_format)
  File "...\prednet\data_utils.py", line 12, in __init__
    self.X = hkl.load(data_file)  # X will be like (n_images, nb_cols, nb_rows, nb_channels)
  File "...\virtual_envs\prednet_venv\lib\site-packages\hickle\hickle.py", line 523, in load
    raise RuntimeError("Cannot open file. This file was likely"
RuntimeError: Cannot open file. This file was likely created with Python 2 and an old hickle version.

I am using Python 3.6 because the readme said that version was supported. I'm going to try with 2.7 but I'm reporting this error in case you want to look into it

@matinhosseiny
Copy link

I had the same issue but if you create your hickle file with python 3, it will be fixed.

@LanaSina
Copy link
Author

I ended up loading the hkl files with python 2 and an old version of hickle, dumping them in a new file, and reading that file with python 3 and the newest version of hickle

@LanaSina
Copy link
Author

I could put those files somewhere for others to use, but where...

@kimna4
Copy link

kimna4 commented Mar 6, 2019

I could put those files somewhere for others to use, but where...

Hello,
Can I get the dumped hkl files?
I had also the same issue. Thank you

@LanaSina
Copy link
Author

LanaSina commented Mar 6, 2019

@kimna4 consider this a temporary solution, as I don't know of a stable alternative to store it: https://drive.google.com/open?id=1KVXw6geQTw2IRTACG4MlwC8EA8OC1d-m

@kimna4
Copy link

kimna4 commented Mar 11, 2019

@LanaSina Thank you very much for sharing the hkl files. With these files I can run this project.
However, the result of 'kitti_test.py' is a little strange like below image. (not a color)
predicted

Do you have a same problem??
Thank you.

@jiahaosu
Copy link

@LanaSina Thank you very much for sharing the hkl files. With these files I can run this project.
However, the result of 'kitti_test.py' is a little strange like below image. (not a color)
predicted

Do you have a same problem??
Thank you.

I face the same problem. How can I resolve it?

@Man-Sung
Copy link

I could put those files somewhere for others to use, but where...
LanaSina,
Could I get the dumped hkl files? I had also the same issue. Thank you

@LanaSina
Copy link
Author

hkl files now available here: https://figshare.com/articles/KITTI_hkl_files/7985684
For other bugs, please make sure it's really a bug and then open another issue ticket.

@Po0ria
Copy link

Po0ria commented Nov 5, 2019

@LanaSina I still can't open the hkl files that you provided. This is the error:
File "h5py/h5f.pyx", line 88, in h5py.h5f.open
OSError: Unable to open file (truncated file: eof = 323616768, sblock->base_addr = 0, stored_eof = 2543376384)

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

6 participants