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 training the dataset. Please help! #39

Open
venuraaa opened this issue Sep 30, 2019 · 0 comments
Open

Error when training the dataset. Please help! #39

venuraaa opened this issue Sep 30, 2019 · 0 comments

Comments

@venuraaa
Copy link

Could someone please help me. Im getting the error and I cannot understand why. I get it when I run the code:
python3 create_db.py --output data/imdb_db.mat --db imdb --img_size 64

Is it something to do with a dependency not installed?
Please help me!

Code Error in full;

(EnVee) D:\FYP\FYP Platforms\SSR-Net-master\data>python TYY_IMDBWIKI_create_db.py --db imdb --output imdb.npz
Traceback (most recent call last):
File "TYY_IMDBWIKI_create_db.py", line 61, in
main()
File "TYY_IMDBWIKI_create_db.py", line 34, in main
full_path, dob, gender, photo_taken, face_score, second_face_score, age = get_meta(mat_path, db)
File "D:\FYP\FYP Platforms\SSR-Net-master\data\TYY_utils.py", line 17, in get_meta
meta = loadmat(mat_path)
File "C:\Users\VenuraKetipearachchi\Anaconda3\envs\EnVee\lib\site-packages\scipy\io\matlab\mio.py", line 142, in loadmat
matfile_dict = MR.get_variables(variable_names)
File "C:\Users\VenuraKetipearachchi\Anaconda3\envs\EnVee\lib\site-packages\scipy\io\matlab\mio5.py", line 272, in get_variables
hdr, next_position = self.read_var_header()
File "C:\Users\VenuraKetipearachchi\Anaconda3\envs\EnVee\lib\site-packages\scipy\io\matlab\mio5.py", line 226, in read_var_header
mdtype, byte_count = self._matrix_reader.read_full_tag()
File "mio5_utils.pyx", line 548, in scipy.io.matlab.mio5_utils.VarReader5.read_full_tag
File "mio5_utils.pyx", line 556, in scipy.io.matlab.mio5_utils.VarReader5.cread_full_tag
File "streams.pyx", line 171, in scipy.io.matlab.streams.ZlibInputStream.read_into
File "streams.pyx", line 158, in scipy.io.matlab.streams.ZlibInputStream._fill_buffer
zlib.error: Error -3 while decompressing data: invalid code lengths set

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

1 participant