-
Notifications
You must be signed in to change notification settings - Fork 302
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
Dynamic image size [batch, None, None, 3] error. #41
Comments
I got same problem. |
@riokt I solved this problem, please check the SRGAN implementation https://github.com/zsdonghao/SRGAN |
@zsdonghao Nice. Thank you |
@zsdonghao Hello, I tried to contact you through tencent QQ, but mention again here if you didn't see it. Hope you can give me some help, thanks. |
@SystemErrorWang please update your TensorLayer version, it will support dynamic image size. |
@zsdonghao I tried the tensorlayer script and it succeeded, but still I would like to know if there is any method to deal with it in native tensorflow, thanks. |
@SystemErrorWang hi, you can just simply copy the core codes from TensorLayer's layer. |
@zsdonghao Thank, I solved this problem |
@zsdonghao @SystemErrorWang |
@lhanappa I didn't test this function myself, but I think they are theorically the same. Guess you can do some experiments. |
@SystemErrorWang Thanks, yes, I already did. |
Hi thank you for releasing this implementation.
I try to evaluate the model on images with different size, so I would like to define a placeholder as:
then when I use the subpixel layer, I will get:
Do you have any idea to solve this problem? if we cannot use dynamic size, we need to define different inference for different image, which is resource and time consuming.
Many thanks in advance.
The text was updated successfully, but these errors were encountered: