CheXNet
CheXNet copied to clipboard
I can't run code. Can anyone help me
When I download and run the code I get the following error. I get the same error when I try to run it on COLAB. I didn't understand the problem and I couldn't solve it
C:\Users\BrQ\AppData\Local\Programs\Python\Python39\python.exe C:\Users\BrQ\Desktop\COLAB\CheXNet-master\model.py
C:\Users\BrQ\AppData\Local\Programs\Python\Python39\lib\site-packages\torchvision\models_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
warnings.warn(
C:\Users\BrQ\AppData\Local\Programs\Python\Python39\lib\site-packages\torchvision\models_utils.py:223: UserWarning: Arguments other than a weight enum or None
for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing weights=DenseNet121_Weights.IMAGENET1K_V1
. You can also use weights=DenseNet121_Weights.DEFAULT
to get the most up-to-date weights.
warnings.warn(msg)
=> loading checkpoint
Traceback (most recent call last):
File "C:\Users\BrQ\Desktop\COLAB\CheXNet-master\model.py", line 129, in
Process finished with exit code 1