yanconglin / Deep-Hough-Transform-Line-Priors

Official implementation for Deep-Hough-Transform-Line-Priors (ECCV 2020)
MIT License
164 stars 31 forks source link

'Trainer' object has no attribute 'writer' #11

Closed zhang-21 closed 2 years ago

zhang-21 commented 2 years ago

Hi Dr Lin, thanks for your great work. When I'm trying to train the module using the pre-processed dataset from LCNN accroding to your instruction:

python ./train.py -d 0 --identifier baseline config/wireframe.yaml

and the terminal output: 1

The code I used is the original version without modification, thererfore, I don't understand it.

Looking forward to your reply!

yanconglin commented 2 years ago

Em, no idea. I did multiple tests several times when releasing the code. No idea why this happens. I will have a look later. the 'writer' function is only to record loss values.

zhang-21 commented 2 years ago

Thanks for your reply. I guess some of my dependences in the vitual env are conflict to each other. Could you please give me a certain list of dependences (such as requirements.txt)?

Thanks for your help : )

yanconglin commented 2 years ago

em. unfortunately, I am not able to do this. The original repo no longer exists on the local cluster. I do not think it is a depedency problem, as self.writer is missing. Try to uncomment line43-46, from here to there.

zhang-21 commented 2 years ago

Really thanks for your help, and I have solved this problem.