Skip to content

How to resume training from a certain epoch or how to update an already trained model in torch ? #490

@maryam089

Description

@maryam089

I have alexnet model which is trained on 100K images now i want to update this model by adding few thousand more images to it. But when i tried to load the model and start training, it gives me following error.... any help ???? @soumith

/home/maryam/torch/install/bin/lua: /home/maryam/torch/install/share/lua/5.2/nn/Module.lua:327: check that you are sharing parameters and gradParameters
stack traceback:
[C]: in function 'assert'
/home/maryam/torch/install/share/lua/5.2/nn/Module.lua:327: in function 'getParameters'
train.lua:270: in main chunk
[C]: in function 'dofile'
...ryam/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: in ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions