Skip to content

train.py error because of the torch.utils.serialization module lost #60

@0119tagawa

Description

@0119tagawa

In myutils/utils.py,
from torch.utils.serialization import load_lua
should be changed above
import torchfile
and
vgglua = load_lua(os.path.join(model_folder, 'vgg16.t7'))
should be changed above
vgglua = torchfile.load(os.path.join(model_folder, 'vgg16.t7'))

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