Open stdinR opened 1 year ago
You could try this version
https://github.com/Zeqiang-Lai/torchlight/tree/90305e52599a037f36e77c4b5a23d196408c798a
You could try this version
https://github.com/Zeqiang-Lai/torchlight/tree/90305e52599a037f36e77c4b5a23d196408c798a
thanks a lot. But a new issue occurs, it seems like my configuration of crossnet.yaml is somewhat wrong?
The issues are like :
================Epoch[1]===================
Iters Elapsed Time Speed
0/64 - -
0.0% |
Traceback (most recent call last):
File "run.py", line 24, in
The size of my image is 480*480. What should I modify. Thank you.
My crossnet.yaml: =train: ===img1_keys: ['HR','LR_UX4'] # which denotes img1 HR(GT) and img1 (Bicubic) ===img2_keys: ['HR'] #which denotes img2 (Ref)
=test: same keys config as train
=module: ==input_mode: ===input:LR_UX4 # which denotes input is Bicubic image ===flow:['LR_UX4', 'HR']
The rest is same as default
I have found the problem, which is the size of input image. It cannot be divided by a continuous of 2. (16/2=7, 7*2=15, 15!=16) I have solved this by changing dataset. Thank you for your code.
How to install torchlight? I used pip install torchlight (0.0.1) or pip install torchlights but none of them seemed to work. I wondered what's your version of torchlight