Closed jshaffer94247 closed 2 years ago
Hi @jshaffer94247 yes you are right about all of this. We are going to be cleaning up the tutorials and specifically the versioning in our next minor release.
Hi @jshaffer94247 sorry for the delay, but all of our tutorials are now fixed and in working order.
You can see: https://vissl.ai/tutorials/Using_a_pretrained_model_for_inference_V0_1_6.
Instructions To Reproduce the 🐛 Bug:
Example notebook Using_a_pretrained_model_for_inference does not run in my local environment. If downloaded as-is, the first crash occurs with the line
model = build_model(cfg.config.MODEL, cfg.config.OPTIMIZER)
which reports the errorWhat seems to be wrong and my suggestion for how to fix it
print(vissl.__version__)
If you somehow have the 'master' version of files like vissl/models/trunks/resnext.py, fetch these yaml files as currently shown in the notebook:
If you did a conda or pip install and your
vissl.__version__
shows that you have v0.1.5:Note that I've opted to change the name of the file as it is saved locally. This means there are 2 small changes later in the notebook to use the _v015 versions of the yaml files.