state-farm-distracted-driver-detection icon indicating copy to clipboard operation
state-farm-distracted-driver-detection copied to clipboard

Help!

Open zhicai-liu opened this issue 7 years ago • 4 comments

Hi, when I run Distracted_Driver_Detection.ipynb, it caused a error: ModuleNotFoundError: No module named 'lib'. Why? I am looking forward to your reply!

zhicai-liu avatar Dec 02 '17 10:12 zhicai-liu

Hi, we are still developing this project... The missing module is essentially used to train the model using PyTorch. I strongly recommend you to analyse the PyTorch documentation (http://pytorch.org). If you have any question, please let me know. Be care to avoid overfiting during the training ;)

RenatoBMLR avatar Dec 03 '17 23:12 RenatoBMLR

Hi RenatoBMLR, I also have the same problem as liu :ModuleNotFoundError: No module named 'lib.pytorch_trainer'. I'm sure that PyTorch works well in my computer, but I don't know what causes the error . Can you give me some advice to solve the problem? :)

dengzhhaooo avatar Dec 05 '17 11:12 dengzhhaooo

Hello @jackjack1234 ,

As @RenatoBMLR mentioned this library does the training routine of the models. It also implements some callbacks such as ReduceLROnPlateau and ModelCheckPoint. You can find a similar version of it here http://pytorch.org/tutorials/beginner/blitz/cifar10_tutorial.html#train-the-network :]

EulerFaria avatar Dec 05 '17 12:12 EulerFaria

@EulerFaria Thank you !

dengzhhaooo avatar Dec 05 '17 12:12 dengzhhaooo