Comments (8)
can you try with
.../inception/flowers_train
--train_dir=/tmp/flowers
--batch_size=16
--data_dir=/tmp/flowers-data
--max_steps=2000
--input_queue_memory_factor=2
--pretrained_model_checkpoint_path=model.ckpt-157585
--fine_tune=True
--initial_learning_rate=0.001
--num_epochs_per_decay=10
from models.
Yes, thank you! I am currently running cifar10 with multiple GPUs just to make sure I'm not running into something funny not related to the flowers example. I will follow your suggestion as soon as that finishes.
from models.
I ran your suggested setup 10 times and it diverged to NaN after: [10, 490, 110, 100, 510, 250, 280, 230, 90, 100] steps (with num_gpus=1)
Might this be a floating point precision issue?
In contrast, cifar10 with multiple GPUs (cifar10_multi_gpu_train.py) ran 20,000 steps before I stopped it.
from models.
My guess is that since CIFAR10 is only 32x32 pixels, when it gets cropped and expanded to 299x299 the activations of the network can become too flat and gradients unstable.
Try changing the --image_size=150 although that could be still too big for cifar10.
Another option is keep decreasing the --initial_learning_rate until it stops diverging.
from models.
I'm sorry, I did not point inception-v3 at CIFAR10 - I ran the simple tutorial demo (cifar10_multi_gpu_train.py) just as a way of making sure that the newly build machine I have is not failing for some reason unrelated to the inception-v3 codes.
I did try to decrease the initial_learning_rate and stopped when I got to 10e-9 as that was a millionth the rate suggested in the example. I also messed around with the batch_size. I am rather baffled.
from models.
At least there is an error in the code I would like to close this issue. As mentioned inception_v3 maybe is not best suited for CIFAR10 due to its low resolution
from models.
I've given up on inception-v3 for my work so I cannot report any more insights other then those I've mentioned above.
I do not understand "At least there is an error in the code"
To reiterate the CIFAR10 comment above - I did not use inception-v3 for that, I was simply reporting that the GPUs I am using were able to handle that example. I was trying to be helpful and eliminate the possibility that my GPU configuration was causing more general problems then the issues I was having with inception-v3
from models.
@robwell This issue has come of age but did you re-address this & come across a solution? I have the same issue (training with CPU instead of GPU). The issue also appears with mobilnet for most configuurations.
from models.
Related Issues (20)
- i cant run movinet streaming official model on vs code running windows, it keep throwing an error HOT 12
- Keras 3 compatibility? AttributeError: 'LossScaleOptimizer' object has no attribute 'get_scaled_loss' HOT 7
- tensorflow.python.framework.errors_impl.NotFoundError: inference.so not found. HOT 4
- TypeError: unhashable type: 'list'. When running "model_builder_tf2_test.py" HOT 8
- ValueError: Only fixed_shape_resizeris supported with tflite. Found keep_aspect_ratio_resize HOT 2
- object_detection : python setup.py egg_info did not run successfully installing the object detection API HOT 2
- Apache Beam Pipeline cannot maximize the number of workers for criteo_preprocess.py in Google Cloud
- SSD output structure
- ImportError: cannot import name 'eval_pb2' from 'object_detection.protos' HOT 6
- Unable to install tf-models-official HOT 5
- GradCAM for MoViNet HOT 2
- models/research/object_detection/exporter_main_v2.py give me error "ImportError: cannot import name 'builder'" HOT 1
- Trying to Load Keras Model Returns ListIndex Error HOT 4
- several errors (4) on movinet streaming_model_training_and_inference notebook when simply ran through on kaggle and colab HOT 7
- Issue with link to MaskConver implementation HOT 1
- How to add additional class (QR Codes) for coco dataset or any suggested dataset for the class I have mentioned HOT 4
- Keras 3 compatibility! HOT 1
- error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. HOT 6
- A model training problem for plant disease detection HOT 10
- Inconsistent result of coco metrics and eval side-by-side.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from models.