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

read data errors #35

Open
zhao181 opened this issue May 25, 2018 · 1 comment
Open

read data errors #35

zhao181 opened this issue May 25, 2018 · 1 comment

Comments

@zhao181
Copy link

zhao181 commented May 25, 2018

Dear author,
The following errors occurs when I run the train.py for training.
Would your please help me solve the problems?
I am looking forward to your reply. Thanks very much.

Process Process-1:
Process Process-6:
Traceback (most recent call last):
Traceback (most recent call last):
File "/home/ygzhao/ProGram1/Anaconda3x501/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/ygzhao/ProGram1/Anaconda3x501/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/ygzhao/ProGram1/Anaconda3x501/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/ygzhao/ProDataS/FaceProc/sphereface/dataset.py", line 38, in dataset_handle
data = callback(name,filename,pindex,cacheobj,zfile)
File "/home/ygzhao/ProDataS/FaceProc/sphereface/train.py", line 56, in dataset_load
data = np.frombuffer(zfile.read(nameinzip),np.uint8)
File "/home/ygzhao/ProGram1/Anaconda3x501/lib/python3.6/zipfile.py", line 1315, in read
return fp.read()
File "/home/ygzhao/ProGram1/Anaconda3x501/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/ygzhao/ProDataS/FaceProc/sphereface/dataset.py", line 38, in dataset_handle
data = callback(name,filename,pindex,cacheobj,zfile)
File "/home/ygzhao/ProGram1/Anaconda3x501/lib/python3.6/zipfile.py", line 835, in read
buf += self._read1(self.MAX_N)
File "/home/ygzhao/ProGram1/Anaconda3x501/lib/python3.6/zipfile.py", line 939, in _read1
self._update_crc(data)
File "/home/ygzhao/ProDataS/FaceProc/sphereface/train.py", line 56, in dataset_load
data = np.frombuffer(zfile.read(nameinzip),np.uint8)
File "/home/ygzhao/ProGram1/Anaconda3x501/lib/python3.6/zipfile.py", line 1315, in read
return fp.read()

@chaochao12345lala
Copy link

did you question solved ?

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