Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Achieving 100% accuracy with Hypertune #6

Closed
Threynaud opened this issue Oct 31, 2016 · 3 comments
Closed

Achieving 100% accuracy with Hypertune #6

Threynaud opened this issue Oct 31, 2016 · 3 comments

Comments

@Threynaud
Copy link

Threynaud commented Oct 31, 2016

I started using Hypertune of a dataset of mine using almost the same code than the one in the samples from the documentation.
The distributed version works very well for me but with Hypertune I manage to get an objective value (set to accuracy, like the MNIST sample) of 1.0 = 100% which is quite surprising. Note that I use the same config file that in the example and I get such a high accuracy for high learning rates, close to 0.5.
I thought that the error was on my side but it turns out that there is the same problem with the MNIST example. In the docs, here, 100% accuracy is also achieved with a very simple network which is very unlikely to happen.

...
state: SUCCEEDED
...
trainingOutput:
  completedTrialCount: '10'
  trials:
  - finalMetric:
      objectiveValue: 1.0
      trainingStep: '5006'
    hyperparameters:
      hidden1: '339'
      hidden2: '30'
      learning_rate: '0.49576010451421226'
    trialId: '4'
  - finalMetric:
      objectiveValue: 1.0
      trainingStep: '5009'
    hyperparameters:
      hidden1: '392'
      hidden2: '248'
      learning_rate: '0.49432185726663225'
    trialId: '5'

Also, it might not be related at all but I noticed a big discrepancy between metrics on the training and eval sets. You can find the corresponding stack overflow question here.

Thanks

EDIT: The stack overflow question is actually not related, I think.

@elibixby
Copy link
Contributor

elibixby commented Feb 6, 2017

Thanks for the report. I need a little more info here. Do you have (1) summaries from during the hptuning job (tensorboard screenshots are fine but you can also add me as a reader to your GCS bucket two and I'll load them up. @google.com ), and (2) your job config?

@puneith
Copy link
Contributor

puneith commented Jun 20, 2017

@Threynaud Can you please try out Census sample and see if you are running into same issues.

@elibixby
Copy link
Contributor

Closing this as inactive

nat-henderson pushed a commit to nat-henderson/cloudml-demo that referenced this issue Mar 20, 2018
…-readme

Fix gsutil acl - needs the actual access
nat-henderson pushed a commit to nat-henderson/cloudml-demo that referenced this issue Mar 20, 2018
davidcavazos pushed a commit to davidcavazos/cloudml-samples that referenced this issue May 1, 2018
The URL was being constructed with a *storage.BucketHandle instead of the
bucket's name.

Fixes GoogleCloudPlatform#6.

Change-Id: I3e2710c2a33a6aadb2920d5f0e1a0c2bce25cd6d
gogasca pushed a commit that referenced this issue Jan 30, 2019
gogasca pushed a commit that referenced this issue Apr 22, 2019
This is the combined PR for PR3 and PR5
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants