-
Notifications
You must be signed in to change notification settings - Fork 5
Description
at first i cant find the 0.3.0 version of pytorch for windows , so installed the 0.4.1 cpu version, then when i tried to run the project , i got the following error :
File "C:\Users\Rami\Desktop\DeepRadiology-master\DeepRadiology\urls.py", line 3, in
from app.views import index
File "C:\Users\Rami\Desktop\DeepRadiology-master\app\views.py", line 7, in
from densenet.model import predict
File "C:\Users\Rami\Desktop\DeepRadiology-master\densenet\model.py", line 9, in
model = densenet169(pretrained=True)
File "C:\Users\Rami\Desktop\DeepRadiology-master\densenet\densenet.py", line 22, in densenet169
**kwargs)
File "C:\Users\Rami\Desktop\DeepRadiology-master\densenet\densenet.py", line 95, in init
bn_size=bn_size, growth_rate=growth_rate, drop_rate=drop_rate)
File "C:\Users\Rami\Desktop\DeepRadiology-master\densenet\densenet.py", line 51, in init
layer = _DenseLayer(num_input_features + i * growth_rate, growth_rate, bn_size, drop_rate)
File "C:\Users\Rami\Desktop\DeepRadiology-master\densenet\densenet.py", line 30, in init
self.add_module('norm.1', nn.BatchNorm2d(num_input_features)),
File "C:\Users\Rami\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\nn\modules\module.py", line 178, in add_module
raise KeyError("module name can't contain "."")
KeyError: 'module name can't contain "."'