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

How to inference? #7

Open
yongzhuo opened this issue Dec 20, 2023 · 0 comments
Open

How to inference? #7

yongzhuo opened this issue Dec 20, 2023 · 0 comments

Comments

@yongzhuo
Copy link

How to inference?
I have some confuse, while using basicsr/models/sr_model.py and the model of 'RRDB_RealCE.pth',
the code:

print(img.shape)
output = self.net_g(img)
print(output.shape)
print:
torch.Size([1, 8120, 9792, 3])
torch.Size([1, 4, 39168, 12])

but the output shape is not a image, Is that right?Or any post-processing I need add?

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