Open KangweiiLiu opened 1 year ago
Missing dependence: ImportError: cannot import name 'folder_to_concat_folder' from 'basicsr.utils' (/home/lkw/anaconda3/envs/dvp/lib/python3.7/site-packages/basicsr/utils/init.py)
@KangweiiLiu Thanks for your interest. I provide answers of some questions as below.
I will check the error and training data details latter.
Missing dependence: ImportError: cannot import name 'folder_to_concat_folder' from 'basicsr.utils' (/home/lkw/anaconda3/envs/dvp/lib/python3.7/site-packages/basicsr/utils/init.py) @KangweiiLiu Did you fix it? I also have this problem!
Great work! I encountered some errors when trying to reproduce your sr_model. The errors are as follows:
Traceback (most recent call last): File "Experimental_root/train.py", line 16, in
train_pipeline(root_path)
File "/home/lkw/anaconda3/envs/dvp/lib/python3.7/site-packages/basicsr/train.py", line 169, in train_pipeline
model.optimize_parameters(current_iter)
File "/home/lkw/lkw_docs/source_code1/MetaPortrait-main/sr_model/Experimental_root/models/metaportrait_video_model.py", line 100, in optimize_parameters
super(MetaportraitVideoRecurrentModel, self).optimize_parameters(current_iter)
File "/home/lkw/anaconda3/envs/dvp/lib/python3.7/site-packages/basicsr/models/sr_model.py", line 105, in optimize_parameters
l_percep, l_style = self.cri_perceptual(self.output, self.gt)
File "/home/lkw/anaconda3/envs/dvp/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, kwargs)
File "/home/lkw/anaconda3/envs/dvp/lib/python3.7/site-packages/basicsr/losses/basic_loss.py", line 209, in forward
x_features = self.vgg(x)
File "/home/lkw/anaconda3/envs/dvp/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, *kwargs)
File "/home/lkw/anaconda3/envs/dvp/lib/python3.7/site-packages/basicsr/archs/vgg_arch.py", line 157, in forward
x = layer(x)
File "/home/lkw/anaconda3/envs/dvp/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(input, kwargs)
File "/home/lkw/anaconda3/envs/dvp/lib/python3.7/site-packages/to
Also, for the dataset part of sr_model, after reading the paper, I still have some questions: