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

你的代码图片是用1个通道,如果我想变为3个通道,应该怎么办 #2

Open
little2Rabbit opened this issue Dec 12, 2018 · 1 comment

Comments

@little2Rabbit
Copy link

我把img = cv2.imread(file, 1)变为img = cv2.imread(file, 3)但是在转置的时候X = np.transpose(X, (0, 2, 3, 1))会报如下错误
ValueError: axes don't match array
应该怎么解决呢

@mengpengfei
Copy link

cnn用得是什么网络?

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