JiawangBian / SC-SfMLearner-Release

Unsupervised Scale-consistent Depth Learning from Video (IJCV2021 & NeurIPS 2019)
https://jwbian.net/sc-sfmlearner
GNU General Public License v3.0
732 stars 149 forks source link

Finetuning Error #25

Closed TopGun666 closed 4 years ago

TopGun666 commented 4 years ago

Hi Jiawang @JiawangBian ,

How could you use the pre-trained model to do model finetuning? When I add the path of the pre-trained model to finetune_csk+k_resnet_256.sh, it outputs some errors below. Compared with Clement Pinard's SfMLearner implementation, your train.py has changed something (just like output_writers)about the part. What do you think about it?

=> creating model => using pre-trained weights for PoseNet => using pre-trained weights for DispNet => setting adam solver N/A% (0 of 200) | | Elapsed Time: 0:00:00 ETA: --:--:-- Traceback (most recent call last): File "train.py", line 423, in main() File "train.py", line 190, in main 100% (472 of 472) |########################################################################| Elapsed Time: 0:00:00 ETA: 00:00:00 NameError: name 'output_writers' is not defined

Regards, Yu

JiawangBian commented 4 years ago

Hi,

It may be some grammar errors in previous version. Could you try the latest code by "git pull"?

Best, Jiawang

TopGun666 commented 4 years ago

I'll try it. Thank you.