Skip to content

Saving the model kills the Kernel #13

@AhmadZobairSurosh

Description

@AhmadZobairSurosh

Hi

Thank you for the great repo.

After training the model i try to save it by:
aux=learn.model
aux=aux.cpu()
traced_cell=torch.jit.script(aux)
traced_cell.save("whatever.pth")
learn.save('whatever')

But unfortunately the kernel dies each time! Is my method incorrect?

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