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

how long it takes for main_lstM_etallica.py #7

Open
SeekPoint opened this issue Nov 4, 2016 · 10 comments
Open

how long it takes for main_lstM_etallica.py #7

SeekPoint opened this issue Nov 4, 2016 · 10 comments

Comments

@SeekPoint
Copy link

In my gtx1080, it takes 3 days and still going to

@keunwoochoi
Copy link
Owner

For how many epoches? That seems too long.

@SeekPoint
Copy link
Author

I just run python main_lstM_etallica.py

now it is still print:

23188/23188 [==============================] - 681s - loss: 0.0028
Epoch 1/1
23188/23188 [==============================] - 669s - loss: 0.0022
Epoch 1/1
23188/23188 [==============================] - 673s - loss: 0.0036
Epoch 1/1
23188/23188 [==============================] - 662s - loss: 0.0036
Epoch 1/1
23188/23188 [==============================] - 696s - loss: 0.0023
Epoch 1/1
23188/23188 [==============================] - 682s - loss: 0.0028
Epoch 1/1
7552/23188 [========>.....................] - ETA: 441s - loss: 0.0038

@unsalted
Copy link

You set a while loop with a boolean value in front of it batch_size_not_decided so it never leaves the while loop, is that intentional @keunwoochoi ?

    batch_size_not_decided: True
    while batch_size_not_decided:
         result = model.fit(X, y, batch_size=batch_size, nb_epoch=nb_epoch, callbacks=[checker, early_stop]) 
         loss_history = loss_history + result.history['loss']

@keunwoochoi
Copy link
Owner

I completely forgot about the lines and they seem strange ;)

@unsalted
Copy link

What is supposed to go there (if anything at all)?

@keunwoochoi
Copy link
Owner

Well, there should be a way to break the loop. I really don't understand why there isn't.

@unsalted
Copy link

@lovejasmine running the code on a 1080 with a while loop not exiting was like leaving the lights on with no one in the room for 3 days ; ) - I've been there, fortunately not today.

@unsalted
Copy link

unsalted commented Nov 21, 2016

@keunwoochoi Do you have a branch or commit from when you ran it (correctly). Because right now batch_size_not_decided is never set to False (or at all) in the code.

@keunwoochoi
Copy link
Owner

@unsalted I removed the lines. Turned out that I made a mistake while cleaning the code, the code is definitely unnecessary. Thanks for pointing out.

@unsalted
Copy link

Sure thing, thanks for the fix!

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

3 participants