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

Evaluating Model Search Results #47

Open
malekinho8 opened this issue Mar 27, 2021 · 7 comments
Open

Evaluating Model Search Results #47

malekinho8 opened this issue Mar 27, 2021 · 7 comments

Comments

@malekinho8
Copy link

As a test, I just ran the supplied code with all of the default parameters for the "Getting Started" example, just to make sure I installed everything correctly and that the code would run smoothly. The test has now finished, and I saw that the model search put all the outputs in a 'tmp\run_example' directory, with each model getting its own folder numbered from 1 - 200. I would now like to evaluate the results of this run, but I have no idea where to even start. I would like to see things like optimal model architecture, architectures evaluated, architecture with highest ratio of accuracy to # parameters, etc., but I am just lost as to how to go about doing that. Would anyone be able to offer any guidance in that area?

I tried loading in a model taking inspiration from the following tutorial on Tensorflow,
image

but ultimately I got an error after running the code below:

M = tf.keras.models.load_model("C:\\tmp\\run_example\\tuner-1\\200\\saved_model\\1616871647") M.summary() Traceback (most recent call last): File "<string>", line 1, in <module> AttributeError: 'AutoTrackable' object has no attribute 'summary'

Does anyone have any ideas how to get information about the model architectures from these runs?

@Xiaoping777
Copy link

it can be identified from the tensorboard

@malekinho8
Copy link
Author

it can be identified from the tensorboard

@Xiaoping777 Would you be able to paste a couple lines of code to show what you mean exactly? I've never use Tensorboard so I'm not sure where to even start.

@Xiaoping777
Copy link

You can Run TensorBoard from command line:

  1. cd tensorflow folder: cd /data/.local/lib/python3.6/site-packages/tensorboard/
  2. python3 -m tensorboard.main --logdir="/data/tmp/run_sample/" --host='localhost' --port=6010

@malekinho8
Copy link
Author

Thanks for the help @Xiaoping777

Is this what you are seeing with Tensorboard? I've zoomed in and I don't see where I'm supposed to find the model architecture. I just see a bunch of seemingly randomly labeled blocks...

image

@Xiaoping777
Copy link

Main Graph part gives you the Graph, if you check Scalars tab, it gives the model performance

@Andy546
Copy link

Andy546 commented Apr 1, 2021

Thanks for the help @Xiaoping777

Is this what you are seeing with Tensorboard? I've zoomed in and I don't see where I'm supposed to find the model architecture. I just see a bunch of seemingly randomly labeled blocks...

image

how can i build network with this tensorboar?

@anaptoro
Copy link

@Xiaoping777 My tensorflow scalars bar is only showing things like this:
image

With no difference between the models but the time they were executed...
(As input I used the example csv provided in the repo)

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

4 participants