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 on trainingsetpreparation #27

Open
qmj123 opened this issue Dec 4, 2018 · 2 comments
Open

error on trainingsetpreparation #27

qmj123 opened this issue Dec 4, 2018 · 2 comments

Comments

@qmj123
Copy link

qmj123 commented Dec 4, 2018

Hi,
When I run trainingsetpreparation .py,
Creating perturbations of 0 shapes
E:\anaconda\lib\site-packages\numpy\core\fromnumeric.py:2957: RuntimeWarning: Mean of empty slice.
out=out, **kwargs)
E:\anaconda\lib\site-packages\numpy\core_methods.py:80: RuntimeWarning: invalid value encountered in true_divide
ret = ret.dtype.type(ret / rcount)
E:\anaconda\lib\site-packages\numpy\core_methods.py:135: RuntimeWarning: Degrees of freedom <= 0 for slice
keepdims=keepdims)
E:\anaconda\lib\site-packages\numpy\core_methods.py:105: RuntimeWarning: invalid value encountered in true_divide
arrmean, rcount, out=arrmean, casting='unsafe', subok=False)
E:\anaconda\lib\site-packages\numpy\core_methods.py:127: RuntimeWarning: invalid value encountered in true_divide
ret = ret.dtype.type(ret / rcount)
Traceback (most recent call last):
File "TrainingSetPreparation.py", line 17, in
trainSet.NormalizeImages()#去均值,除以标准差
File "F:\code\Deep-Alignment-Network-tensorflow-master\DAN-TF\ImageServer.py", line 219, in NormalizeImages
plt.imshow(meanImg[:,:,0], cmap=plt.cm.gray)
IndexError: invalid index to scalar variable.
Can you help me ?
Thank you !

@Louise163
Copy link

I ran into the same problem, have you solved the problem yet?

@Louise163
Copy link

Oh maybe you didn't download the datasets yet.

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