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

Plotting neural network built by skflow #58

Closed
vinhqdang opened this issue Dec 29, 2015 · 10 comments
Closed

Plotting neural network built by skflow #58

vinhqdang opened this issue Dec 29, 2015 · 10 comments

Comments

@vinhqdang
Copy link

Hi,

Sorry I asked too much.

I think plotting is always a nice feature. Is it possible right now for skflow (or can we do that through tensorflow directly)?

@terrytangyuan
Copy link
Member

We have just added this https://github.com/google/skflow#summaries
Is this what you want?

@vinhqdang
Copy link
Author

Wow, it's great.

@ilblackdragon
Copy link
Contributor

No worries about questions, they are always welcome! Some of them may be more suitable for chat here - https://gitter.im/google/skflow

@vinhqdang vinhqdang reopened this Dec 30, 2015
@vinhqdang
Copy link
Author

Hi,

Today I tried to add logdir parameter to fit function, and I have a .local file of 45MB.

However, when I opened TensorBoard, it reported that there is no image, graph, or anything else.

I train the model continuously

while True:
    classifier.fit(X_train, Y_train, logdir="./logdir/my_model")

and press Ctrl - C to stop. Maybe it is a problem?

@ilblackdragon
Copy link
Contributor

How are you running tensorboard?
It should be something like this: tensorboard --logdir="logdir/my_model"
And can you list the logdir/my_model/<date>/ folder, does it have event files?

@vinhqdang
Copy link
Author

Hi, I ran tensorboard command already. In my case, it used the port 6006

Well, in the directory logdir/my_model/date, there is only 1 file with extension .local

@ilblackdragon
Copy link
Contributor

Something like this is correct: logdir/my_model/2015-12-30_10-39-11/events.out.tfevents.1451500751.local
What do you see in the tensorboard?
Do you see something like 2015-12-30_10-39-11 in the list of runs?
Also which classifier are you running?

@vinhqdang
Copy link
Author

Yeah, I saw the date in the list of runs, with four tabs: Events, Histogram, Graph, etc.

But when I clicked to each tab, it said that there is no Event with tags ...

I am following the example text_classifity with rnn of skflow

@ilblackdragon
Copy link
Contributor

Can you send me your .local file? (my username at gmail.com)

@vinhqdang
Copy link
Author

well, I ran it again and now I can view the graph. Maybe something wrong with previous run.

Thanks for your help

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