Any way to save the model?
Closed this issue · 2 comments
jamesclyeh commented
I tried saving it using SnapshotLogger, but when I tried to load it back in the constructor of NMN, it gave me an error saying that I am "loading into empty net".
I figured this is because the layers of the network is not yet defined in the constructor.
But because the layout of the network is dynamic, I am not exactly sure if the current saving/loading mechanism will work. Do you have any suggestions?
ShangxuanWu commented
Same question here.
jacobandreas commented
Add this line to the training script:
model.apollo_net.save("model.caffemodel")
…On Wed, Apr 5, 2017 at 10:13 AM ShangxuanWu ***@***.***> wrote:
Same question here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAOaT6O5vY_hWq8586X0-0V2sqhHQY0Gks5rs8u_gaJpZM4LhbMz>
.