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

Retraining Data #1

Open
BFMarks opened this issue Mar 27, 2017 · 3 comments
Open

Retraining Data #1

BFMarks opened this issue Mar 27, 2017 · 3 comments

Comments

@BFMarks
Copy link

BFMarks commented Mar 27, 2017

I'm trying to optimize my model but when I change the training data - the Trainer doesn't seem to retrain based on my new input data. What other files should I change besides the Images/Originals/ folder? Also, I want to adjust the variance and bias and I can't seem to find the best way to do that.

Anyway - love the app! Very cool and I'd like to keep working with it!

Cheers,

@mortenjust
Copy link
Owner

Good pointers for the tutorial here, thanks.

Adjusting parameters: Should definitely be a part of the UI, so that's coming up next.
Retraining: Adding images to the Originals folder should indeed add those to the model and retrain.

There's a resizing and bottleneck cache, so retraining will be a lot faster. If you're only adding, say 10 new images, it will be many times faster than the initial training. When it's done, all you have to do is to delete the .pb file from the xcode project and drag the newly trained model pb file (check the timestamp to verify it's been retrained) into the xcode project.

If you think there may be a bug, try and paste in the content of the console output panel here.

@mortenjust
Copy link
Owner

Oh, and can you paste in the shell command where you'd normally change variance and bias while retraining?

@BFMarks
Copy link
Author

BFMarks commented Mar 27, 2017

Hey Morten,

The training logs say:

grep: /tf_files/log-resized-images.txt: Transport endpoint is not connected
grep: /tf_files/log-resized-images.txt: Transport endpoint is not connected
Resizing 2632855.jpg for label test2 into /tf_files/images/resized/test2
mkdir: cannot create directory '/tf_files': Transport endpoint is not connected
Error response from daemon: Bad response from Docker engine

It maybe the file space on my Macbook - I'll try again on a different system. I'll also get back to you on how I change the variance and bias. The docker engine is still running, will restart.

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