Closed sfremerey closed 3 years ago
Based on how you're describing then installation it sounds like you did it manually, and I'm seeing evidence of this: FastAI version appears to be different than the required 1.0.51 because I'm comparing the line numbers in that stacktrace there and they don't match up to the 1.0.51 fastai version of that data_block.py file I have here. I can tell you this much: The fastai version matters a lot. There were breaking changes made after that version, which is why I froze it there.
The better approach here is to use the conda install, via command line in the root DeOldify folder:
conda env create -f environment.yml
Then run
conda activate deoldify
and you should be set.
That'll take care of your dependencies for you so that you don't run into a potential mismatch. That's really what this looks like at this point.
Now it seems to work. I indeed made an error in installing the wrong requirements, as I did it by using the python3-venv module installing the requirements given in the requirements.txt
file.
Using the approach with conda seems to work properly.
Thank you for the hint!
I wanted to re train a new video model using the "NoGAN" based training approach. For doing so, I at first tried to execute the notebook
ColorizeTrainingStable.ipynb
, but if I do so, the following error is thrown:I installed the respective Python versions you are defining in the
requirements.txt
. Further, I am using the imagenet database for training. Originally, I planned to use a different set of images for training, but at first I wanted to somehow test the training procedure using the imagenet database.Did I do something wrong?