Skip to content

Issue with Reproducing the Model #1

@senaygor

Description

@senaygor

I am facing problems reproducing the model linked here. When I try to load the model, it gives the following error:

AttributeError: 'NoneType' object has no attribute 'seek'. You can only torch.load from a file that is seekable. Please pre-load the data into a buffer like io.BytesIO and try to load from it instead.

It seems the script is trying to load a model using args.model, but the model does not exist.

checkpoint = torch.load(args.model, map_location=torch.device('cpu'))

Additionally, there is no code provided to train and reproduce the model from scratch. I would appreciate your help with this! I am looking to apply the model to other types of landslides.

Thank you!

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