-
Notifications
You must be signed in to change notification settings - Fork 7
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
Problem running #10
Comments
This means the loading function does not load any image. Please check the loading path. |
Thanks for your reply,Excuse me what the loading path refers to ?Do you mean the one in my screenshot?
…------------------ 原始邮件 ------------------
发件人: "Xi ***@***.***>;
发送时间: 2022年4月6日(星期三) 晚上8:34
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [IanYeung/RealVSR] Problem running (Issue #10)
How can I solve this problem when I run it?
(realvsr) ***@***.***:~/code/RealVSR/RealVSR-main/codes$ python test_RealVSR_wi_GT.py 22-04-06 17:05:11.072 - INFO: Data: RealVSR - /home/lzw/code/data/ycbcr/LQ_YCbCr_test 22-04-06 17:05:11.073 - INFO: Padding mode: replicate 22-04-06 17:05:11.073 - INFO: Model path: /home/lzw/code/data/ycbcr/RealVSR-Models/001_EDVR_NoUp_woTSA_scratch_lr1e-4_150k_RealVSR_3frame_WiCutBlur_YCbCr_LapPyr+GW.pth 22-04-06 17:05:11.073 - INFO: Save images: True Traceback (most recent call last): File "test_RealVSR_wi_GT.py", line 220, in main() File "test_RealVSR_wi_GT.py", line 98, in main imgs = data_util.read_img_seq(subfolder, color=color) File "/home/lzw/code/RealVSR/RealVSR-main/codes/data/util.py", line 116, in read_img_seq img_l = [read_img(None, v) for v in img_path_l] File "/home/lzw/code/RealVSR/RealVSR-main/codes/data/util.py", line 116, in img_l = [read_img(None, v) for v in img_path_l] File "/home/lzw/code/RealVSR/RealVSR-main/codes/data/util.py", line 95, in read_img img = img.astype(np.float32) / 255. AttributeError: 'NoneType' object has no attribute 'astype'
This means the loading function does not load any image. Please check the loading path.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
22-04-06 17:05:11.072 - INFO: Data: RealVSR - /home/lzw/code/data/ycbcr/LQ_YCbCr_test |
How can I solve this problem when I run it?
(realvsr) lzw@computer3:~/code/RealVSR/RealVSR-main/codes$ python test_RealVSR_wi_GT.py
22-04-06 17:05:11.072 - INFO: Data: RealVSR - /home/lzw/code/data/ycbcr/LQ_YCbCr_test
22-04-06 17:05:11.073 - INFO: Padding mode: replicate
22-04-06 17:05:11.073 - INFO: Model path: /home/lzw/code/data/ycbcr/RealVSR-Models/001_EDVR_NoUp_woTSA_scratch_lr1e-4_150k_RealVSR_3frame_WiCutBlur_YCbCr_LapPyr+GW.pth
22-04-06 17:05:11.073 - INFO: Save images: True
Traceback (most recent call last):
File "test_RealVSR_wi_GT.py", line 220, in
main()
File "test_RealVSR_wi_GT.py", line 98, in main
imgs = data_util.read_img_seq(subfolder, color=color)
File "/home/lzw/code/RealVSR/RealVSR-main/codes/data/util.py", line 116, in read_img_seq
img_l = [read_img(None, v) for v in img_path_l]
File "/home/lzw/code/RealVSR/RealVSR-main/codes/data/util.py", line 116, in
img_l = [read_img(None, v) for v in img_path_l]
File "/home/lzw/code/RealVSR/RealVSR-main/codes/data/util.py", line 95, in read_img
img = img.astype(np.float32) / 255.
AttributeError: 'NoneType' object has no attribute 'astype'
The text was updated successfully, but these errors were encountered: