GithubHelp home page GithubHelp logo

Comments (5)

sercant avatar sercant commented on August 29, 2024

Hi @InstantWindy, thank you for your interest. There is no plan to implement the code in pytorch at the moment but a re-write using the new tensorflow API might happen. Since tensorflow is easy to be exported for mobile targets such as smartphones using tf-lite, it was the choice of framework. I am not sure if pytorch runs on Android or iOS.

To run on the network on a mobile platform one should export the trained model to tf-lite using the export_tflite.py. After that, you can see a simple Android application that I have implemented at this repository: sercant/android-segmentation-app.

from mobile-segmentation.

InstantWindy avatar InstantWindy commented on August 29, 2024

Thanks for your reply. How do you implement DPC(dense predictioncell ) ?

from mobile-segmentation.

sercant avatar sercant commented on August 29, 2024

I'm not quite sure what did you mean by how do I implement DPC but it is a part of the network so the exported model already contains the architecture. The architecture of the module is described in the paper and also here in the repository you can see the core/dense_prediction_cell_branch5_top1_cityscapes.json file and model.py for the implementation.

from mobile-segmentation.

InstantWindy avatar InstantWindy commented on August 29, 2024

I mean how you get the DPC module . How do you get the parameters of file "dense_prediction_cell_branch5_top1_cityscapes.json" . Thanks!

from mobile-segmentation.

sercant avatar sercant commented on August 29, 2024

The parameters of the DPC module was found in Searching for Efficient Multi-Scale Architectures for Dense Image Prediction by LC Chen. The code that parses the JSON file is under the core folder. Let me know if this answers your question and don't hesitate to ask more if you have any.

from mobile-segmentation.

Related Issues (15)

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.