RCAN-tf icon indicating copy to clipboard operation
RCAN-tf copied to clipboard

Value error : setting an array element with a sequence

Open Zepharchit opened this issue 5 years ago • 5 comments

Screenshot from 2020-08-26 15-45-06

Zepharchit avatar Aug 27 '20 06:08 Zepharchit

In my environment, the code works without the error. It will be helpful to let me know the command you used. Thank you!

dongheehand avatar Sep 03 '20 00:09 dongheehand

Utilised the main.py for training the dataset

python main.py --train_GT_path ./GT_path --train_LR_path ./LR_path --test_GT_path ./test_GT_path --test_LR_path ./test_LR_path --test_with_train True --scale 2 --log_freq 1000

Zepharchit avatar Sep 03 '20 05:09 Zepharchit

Are you using multi-gpu? The code is assumed to run in single gpu environment

If you use multi-gpu environment, use this command CUDA_VISIBLE_DEVICES=0 python main.py ....

dongheehand avatar Sep 03 '20 05:09 dongheehand

No i tried it on single GPU environment. I am still stuck with the same issue

have used the following command CUDA_VISIBLE_DEVICES=0 python main.py --train_GT_path ../Dat_Noh/train/train_h/ --train_LR_path ../Dat_Noh/train/train_l --scale 2 --log_freq 1000

Screenshot from 2020-09-24 15-58-49

Zepharchit avatar Sep 24 '20 10:09 Zepharchit

I am using tensorflow 1.13 and python 3.6.9 numpy 1.15 scikit-image 0.15.0

Zepharchit avatar Sep 24 '20 10:09 Zepharchit