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

code error #6

Open
BillGreenHand opened this issue Jun 27, 2019 · 0 comments
Open

code error #6

BillGreenHand opened this issue Jun 27, 2019 · 0 comments

Comments

@BillGreenHand
Copy link

thank you for your share, i try to run your code, but it appear one error:
first,i want to know your image, gt are 1D in your dataset?
In standard_loader.py , 47 line code : orgImg=plt.imread(orgPath) ,it will produce 2D array,
but 48 line code : imgs[index,:,:,0]=np.asarray(orgImg[:,:,1]*0.75+orgImg[:,:,0]*0.25), it appear one
error , too many index! and i don't know what you want in this line code?

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