Skip to content

KeyError: 'module name can\'t contain "."' #13

Description

@gyc521zsc

File "/home/gyc/Ranked_Person_ReID-master/modeling/backbones/densenet121_ibn_a.py", line 41, in densenet121_ibn_a
**kwargs)
File "/home/gyc/Ranked_Person_ReID-master/modeling/backbones/densenet121_ibn_a.py", line 168, in init
bn_size=bn_size, growth_rate=growth_rate, drop_rate=drop_rate, ibn=ibn)
File "/home/gyc/Ranked_Person_ReID-master/modeling/backbones/densenet121_ibn_a.py", line 117, in init
layer = _DenseLayer(num_input_features + i * growth_rate, growth_rate, bn_size, drop_rate, True)
File "/home/gyc/Ranked_Person_ReID-master/modeling/backbones/densenet121_ibn_a.py", line 93, in init
self.add_module('norm.1', BNIN(num_input_features)),
File "/home/gyc/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 178, in add_module
raise KeyError("module name can't contain "."")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions