We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
您好,现在换了自己的数据集,图片尺寸有要求吗?我将DeepHash/DeepHash/model/dch/dch.py 中49行代码改成self.img = tf.placeholder(tf.float32, [None, 416, 416, 3]),出现以下错误: ValueError: Cannot feed value of shape (256, 256, 256, 3) for Tensor 'Placeholder:0', which has shape '(?, 416, 416, 3)' 如果我要更改图片的输入尺寸应如何修改代码
The text was updated successfully, but these errors were encountered:
你好,图片尺寸是有要求的,必须是(256, 256, 3),你可以把你的图片resize一下,或者修改一下网络的架构
Sorry, something went wrong.
修改网络结构是修改img_alexnet_layers吗
是的。
好的,谢谢
No branches or pull requests
您好,现在换了自己的数据集,图片尺寸有要求吗?我将DeepHash/DeepHash/model/dch/dch.py 中49行代码改成self.img = tf.placeholder(tf.float32, [None, 416, 416, 3]),出现以下错误:
ValueError: Cannot feed value of shape (256, 256, 256, 3) for Tensor 'Placeholder:0', which has shape '(?, 416, 416, 3)'
如果我要更改图片的输入尺寸应如何修改代码
The text was updated successfully, but these errors were encountered: