Giter Club home page Giter Club logo

Comments (10)

jiaxiang-wu avatar jiaxiang-wu commented on May 16, 2024 1

@dhingratul We will, but it may take some time.

from pocketflow.

jiaxiang-wu avatar jiaxiang-wu commented on May 16, 2024

Sorry, I do not fully understand your question. What do you mean by "optimized output from tf.Saver.save() from as the .pb file"?

from pocketflow.

dhingratul avatar dhingratul commented on May 16, 2024

I am talking about the output from "Train the Compressed Model" in the tutorial, https://pocketflow.github.io/tutorial/. I am assuming as the next step is to export it as a TFLITE file, the output from the above step is a .pb file, I am looking for that file. I see you benchmarked your optimizations for Mobile Device, i am looking to do the same for the GPU, for which i need the .pb file before you generate the tflite file.

from pocketflow.

jiaxiang-wu avatar jiaxiang-wu commented on May 16, 2024

tools/conversion/export_pb_tflite_models.py generates both *.pb and *.tflite model files, located in the same directory. Can you find them in the directory specified by --model_dir?

from pocketflow.

dhingratul avatar dhingratul commented on May 16, 2024

The imagenet download is super slow, the last time I did that it took almost 3-4 days to complete. I just want to skip that and get the .pb file directly from that tutorial if possible.

from pocketflow.

jiaxiang-wu avatar jiaxiang-wu commented on May 16, 2024

Sorry, ChannelPrunedLearner requires the imagenet data set to complete its training process. Maybe you can try using smaller data sets, like CIFAR-10? Some modification will be required:

  1. nets/resnet_at_ilsvrc12_run.py -> nets/resnet_at_cifar10_run.py
  2. In ImageClassifierFloatResNet.java, change the image size and label file.

from pocketflow.

dhingratul avatar dhingratul commented on May 16, 2024

Yes, i understand, i was hoping that you have that you make the optimized model(after pruning) available so that i can do some benchmarks to make sure the results in terms of gains is reproducible on my machine.

from pocketflow.

jiaxiang-wu avatar jiaxiang-wu commented on May 16, 2024

Okay, we will release pre-trained compressed models for some selected pruning ratio in the next few weeks.

from pocketflow.

jiaxiang-wu avatar jiaxiang-wu commented on May 16, 2024

Enhancement required: release a few pre-trained compressed models for benchmark test.

from pocketflow.

dhingratul avatar dhingratul commented on May 16, 2024

@jiaxiang-wu Were you able to publish the pre-trained compressed models ?

from pocketflow.

Related Issues (20)

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.