GreatChenLab / Deep-B3

A multi-model framework for blood-brain barrier permeability discovery
14 stars 3 forks source link

NameError: name 'LearnerCallback' is not defined #3

Open sumone-compbio opened 11 months ago

sumone-compbio commented 11 months ago

Hi, I need help in fixing this error please.

Traceback (most recent call last): File "/home/sumit/DEEPB3/train.py", line 15, in <module> import model File "/home/sumit/DEEPB3/model.py", line 149, in <module> class RNNTrainerSimple(LearnerCallback): NameError: name 'LearnerCallback' is not defined

BioTKang commented 11 months ago

Hi, I need help in fixing this error please.

Traceback (most recent call last): File "/home/sumit/DEEPB3/train.py", line 15, in <module> import model File "/home/sumit/DEEPB3/model.py", line 149, in <module> class RNNTrainerSimple(LearnerCallback): NameError: name 'LearnerCallback' is not defined

Please check the version of the installed package

sumone-compbio commented 11 months ago

Hi @BioTKang, thank you so much for the response. Below are the versions of the installed packages: fastai 2.7.13
fastcore 1.5.29
fastdownload 0.0.7
fastprogress 1.0.3

sumone-compbio commented 11 months ago

I apologise for not checking the required versions. Thank you, I'll clean the working environment and re-run the process.