Git Product home page Git Product logo

Comments (6)

mrajchl avatar mrajchl commented on September 6, 2024

Hi,
please refer to this closed issue:
#11
This should do it.

from models.

vidalmaxime avatar vidalmaxime commented on September 6, 2024

Thanks, but that's not the same issue. He is deploying the downloaded neuronet, whereas I have trained on my own data using the neuronet architecture. So i'm not trying to find the path to saved_model.pb, but rather to create it as it doesn't exist once I do train.py

from models.

mrajchl avatar mrajchl commented on September 6, 2024

This is where the model is exported: https://github.com/DLTK/models/blob/master/ukbb_neuronet_brain_segmentation/train.py#L181

If you break the training loop with CTRL+C, it will be triggered too. Is that what you mean? The downloaded models are produced as is from train.py

from models.

vidalmaxime avatar vidalmaxime commented on September 6, 2024

Yes, the files produced by this line of code are : checkpoint, events.out.tfevents, model.ckpt.index, model.ckpt.data, model.ckpt.meta, and graph.pbtxt. However, deploy.py requires 'saved_model.pb' which is not created inside train.py. It is however included in the downloaded models. I am trying to create it.

from models.

mrajchl avatar mrajchl commented on September 6, 2024

No, these files are created during training with the estimator train func (c.f. https://github.com/DLTK/models/blob/master/ukbb_neuronet_brain_segmentation/train.py#L168). The above line should export the model AFAIR. In order to trigger it, you will either need to:
a) Stop the iterations with CTRL+C, triggering the line here: https://github.com/DLTK/models/blob/master/ukbb_neuronet_brain_segmentation/train.py#L177
or
b) let the training run to maximum iterations.

I am not entirely certain that you have done this. Let me know if that worked or visit us in our gitter chat (https://gitter.im/DLTK/DLTK).

from models.

vidalmaxime avatar vidalmaxime commented on September 6, 2024

Thanks a lot, I wrongly ended the training indeed.

from models.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.