Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to implement pb file in Android App #136

Open
Xxfore opened this issue Jun 11, 2020 · 1 comment
Open

How to implement pb file in Android App #136

Xxfore opened this issue Jun 11, 2020 · 1 comment

Comments

@Xxfore
Copy link

Xxfore commented Jun 11, 2020

Hi ,

After i train and freeze to pb file by following commands:

python2 train.py --model_architecture ds_cnn --model_size_info 5 64 10 4 2 2 64 3 3 1 1 64 3 3 1 1 64 3 3 1 1 64 3 3 1 1 --dct_coefficient_count 10 --window_size_ms 40 --window_stride_ms 20 --learning_rate 0.0005,0.0001,0.00002 --how_many_training_steps 10000,10000,10000 --summaries_dir work/DS_CNN/DS_CNN1/retrain_logs --train_dir work/DS_CNN/DS_CNN1/training

python2 freeze.py --model_architecture ds_cnn --model_size_info 5 64 10 4 2 2 64 3 3 1 1 64 3 3 1 1 64 3 3 1 1 64 3 3 1 1 --checkpoint ./work/DS_CNN/DS_CNN1/training/best/ --output_file ds_cnn.pb

so that i get a pb file named ds_cnn.pb
Does it have simple way to implement it into Android App?
Is there any guide about it?

Thank a lot.
Wait for your kindness reply

@saichand07
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants