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

detect.py issue - EOFError on 'weights.npz' file #117

Open
javidsch opened this issue Jun 21, 2019 · 0 comments
Open

detect.py issue - EOFError on 'weights.npz' file #117

javidsch opened this issue Jun 21, 2019 · 0 comments

Comments

@javidsch
Copy link

python detect.py in.jpg weights.npz out.jpg

Traceback (most recent call last):
File "detect.py", line 183, in
param_vals = [f[n] for n in sorted(f.files, key=lambda s: int(s[4:]))]
File "detect.py", line 183, in
param_vals = [f[n] for n in sorted(f.files, key=lambda s: int(s[4:]))]
File "/Users/javid/anaconda3/lib/python3.7/site-packages/numpy/lib/npyio.py", line 251, in getitem
pickle_kwargs=self.pickle_kwargs)
File "/Users/javid/anaconda3/lib/python3.7/site-packages/numpy/lib/format.py", line 690, in read_array
data = _read_bytes(fp, read_size, "array data")
File "/Users/javid/anaconda3/lib/python3.7/site-packages/numpy/lib/format.py", line 829, in _read_bytes
r = fp.read(size - len(data))
File "/Users/javid/anaconda3/lib/python3.7/zipfile.py", line 899, in read
data = self._read1(n)
File "/Users/javid/anaconda3/lib/python3.7/zipfile.py", line 969, in _read1
data = self._read2(n)
File "/Users/javid/anaconda3/lib/python3.7/zipfile.py", line 1002, in _read2
raise EOFError
EOFError

Mac/Anaconda/Python 3.7.3

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