Skip to content

ModuleNotFoundError: No module named 'vgg' #2

Description

@ydwang-good

Traceback (most recent call last):
File "/WdHeDisk/users/wangyd/wangyd/24BottleNet/BottleNet++_VGG16.py", line 96, in
model = BottleNetPlusPlus_VGG().to(device)
File "/WdHeDisk/users/wangyd/wangyd/24BottleNet/BottleNet++_VGG16.py", line 59, in init
self.vgg_model = torch.load('vgg16_74.02.pth')
File "/mnt/miniconda3/envs/wangyd/lib/python3.6/site-packages/torch/serialization.py", line 595, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/mnt/miniconda3/envs/wangyd/lib/python3.6/site-packages/torch/serialization.py", line 774, in _legacy_load
result = unpickler.load()
ModuleNotFoundError: No module named 'vgg'

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