How to reload cell in jupyter notebook? After OSError: [Errno 12] Cannot allocate memory Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) 2019 Moderator Election Q&A - Questionnaire 2019 Community Moderator Election ResultsHow to export one cell of a jupyter notebook?Why Tensorflow does NOT quit when CUDA_ERROR_OUT_OF_MEMORYShare Jupyter Notebook with a non programmerDeep learning with Tensorflow: training with big data setsJupyter notebook running very slowProblem importing CNTK in Azure jupyter notebookChange priority of cell execution in jupyter notebook?Integrating google cloud with jupyter notebookError with Jupyter Notebook and Google CloudCan I continue a machine learning process after shutdown?
Sally's older brother
newbie Q : How to read an output file in one command line
Are there any irrational/transcendental numbers for which the distribution of decimal digits is not uniform?
Is this Kuo-toa homebrew race balanced?
The test team as an enemy of development? And how can this be avoided?
My mentor says to set image to Fine instead of RAW — how is this different from JPG?
Why did Bronn offer to be Tyrion Lannister's champion in trial by combat?
Baking rewards as operations
Inverse square law not accurate for non-point masses?
As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?
What was the last profitable war?
Russian equivalents of おしゃれは足元から (Every good outfit starts with the shoes)
Noise in Eigenvalues plot
Is the Mordenkainen's Sword spell underpowered?
Fit odd number of triplets in a measure?
Diophantine equation 3^a+1=3^b+5^c
Did any compiler fully use 80-bit floating point?
How can I prevent/balance waiting and turtling as a response to cooldown mechanics
Is there a verb for listening stealthily?
Why is there so little support for joining EFTA in the British parliament?
Why can't fire hurt Daenerys but it did to Jon Snow in season 1?
malloc in main() or malloc in another function: allocating memory for a struct and its members
The Nth Gryphon Number
Why do C and C++ allow the expression (int) + 4*5;
How to reload cell in jupyter notebook? After OSError: [Errno 12] Cannot allocate memory
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
2019 Moderator Election Q&A - Questionnaire
2019 Community Moderator Election ResultsHow to export one cell of a jupyter notebook?Why Tensorflow does NOT quit when CUDA_ERROR_OUT_OF_MEMORYShare Jupyter Notebook with a non programmerDeep learning with Tensorflow: training with big data setsJupyter notebook running very slowProblem importing CNTK in Azure jupyter notebookChange priority of cell execution in jupyter notebook?Integrating google cloud with jupyter notebookError with Jupyter Notebook and Google CloudCan I continue a machine learning process after shutdown?
$begingroup$
I got an error:OSError: [Errno 12] Cannot allocate memory
I deleted some files. And I have free memory. I don't want start learning again from first epoch. (I got an error in last epoch).
I use jupyter notebook.
I have 19 .h5 file in my output file.
Can I click something to save my last .h5 file?

Edit: 
deep-learning jupyter
$endgroup$
|
show 7 more comments
$begingroup$
I got an error:OSError: [Errno 12] Cannot allocate memory
I deleted some files. And I have free memory. I don't want start learning again from first epoch. (I got an error in last epoch).
I use jupyter notebook.
I have 19 .h5 file in my output file.
Can I click something to save my last .h5 file?

Edit: 
deep-learning jupyter
$endgroup$
$begingroup$
Are you using tensorflow?
$endgroup$
– Vaalizaadeh
Apr 3 at 15:58
$begingroup$
Yes. I use tensorflow.
$endgroup$
– Badum
Apr 3 at 15:59
$begingroup$
If you are using tensorflow and your kernel is still alive you can just resume the training because the variables hold what they've learnt until now. The current snapshot of your graph, you can be stored it.
$endgroup$
– Vaalizaadeh
Apr 3 at 16:00
$begingroup$
Yes. My kernel is alive. How can I resume the training?
$endgroup$
– Badum
Apr 3 at 16:01
$begingroup$
just run the sess.run cell. Your current values are still available.
$endgroup$
– Vaalizaadeh
Apr 3 at 16:01
|
show 7 more comments
$begingroup$
I got an error:OSError: [Errno 12] Cannot allocate memory
I deleted some files. And I have free memory. I don't want start learning again from first epoch. (I got an error in last epoch).
I use jupyter notebook.
I have 19 .h5 file in my output file.
Can I click something to save my last .h5 file?

Edit: 
deep-learning jupyter
$endgroup$
I got an error:OSError: [Errno 12] Cannot allocate memory
I deleted some files. And I have free memory. I don't want start learning again from first epoch. (I got an error in last epoch).
I use jupyter notebook.
I have 19 .h5 file in my output file.
Can I click something to save my last .h5 file?

Edit: 
deep-learning jupyter
deep-learning jupyter
edited Apr 3 at 16:18
Badum
asked Apr 3 at 15:56
BadumBadum
537
537
$begingroup$
Are you using tensorflow?
$endgroup$
– Vaalizaadeh
Apr 3 at 15:58
$begingroup$
Yes. I use tensorflow.
$endgroup$
– Badum
Apr 3 at 15:59
$begingroup$
If you are using tensorflow and your kernel is still alive you can just resume the training because the variables hold what they've learnt until now. The current snapshot of your graph, you can be stored it.
$endgroup$
– Vaalizaadeh
Apr 3 at 16:00
$begingroup$
Yes. My kernel is alive. How can I resume the training?
$endgroup$
– Badum
Apr 3 at 16:01
$begingroup$
just run the sess.run cell. Your current values are still available.
$endgroup$
– Vaalizaadeh
Apr 3 at 16:01
|
show 7 more comments
$begingroup$
Are you using tensorflow?
$endgroup$
– Vaalizaadeh
Apr 3 at 15:58
$begingroup$
Yes. I use tensorflow.
$endgroup$
– Badum
Apr 3 at 15:59
$begingroup$
If you are using tensorflow and your kernel is still alive you can just resume the training because the variables hold what they've learnt until now. The current snapshot of your graph, you can be stored it.
$endgroup$
– Vaalizaadeh
Apr 3 at 16:00
$begingroup$
Yes. My kernel is alive. How can I resume the training?
$endgroup$
– Badum
Apr 3 at 16:01
$begingroup$
just run the sess.run cell. Your current values are still available.
$endgroup$
– Vaalizaadeh
Apr 3 at 16:01
$begingroup$
Are you using tensorflow?
$endgroup$
– Vaalizaadeh
Apr 3 at 15:58
$begingroup$
Are you using tensorflow?
$endgroup$
– Vaalizaadeh
Apr 3 at 15:58
$begingroup$
Yes. I use tensorflow.
$endgroup$
– Badum
Apr 3 at 15:59
$begingroup$
Yes. I use tensorflow.
$endgroup$
– Badum
Apr 3 at 15:59
$begingroup$
If you are using tensorflow and your kernel is still alive you can just resume the training because the variables hold what they've learnt until now. The current snapshot of your graph, you can be stored it.
$endgroup$
– Vaalizaadeh
Apr 3 at 16:00
$begingroup$
If you are using tensorflow and your kernel is still alive you can just resume the training because the variables hold what they've learnt until now. The current snapshot of your graph, you can be stored it.
$endgroup$
– Vaalizaadeh
Apr 3 at 16:00
$begingroup$
Yes. My kernel is alive. How can I resume the training?
$endgroup$
– Badum
Apr 3 at 16:01
$begingroup$
Yes. My kernel is alive. How can I resume the training?
$endgroup$
– Badum
Apr 3 at 16:01
$begingroup$
just run the sess.run cell. Your current values are still available.
$endgroup$
– Vaalizaadeh
Apr 3 at 16:01
$begingroup$
just run the sess.run cell. Your current values are still available.
$endgroup$
– Vaalizaadeh
Apr 3 at 16:01
|
show 7 more comments
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "557"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48537%2fhow-to-reload-cell-in-jupyter-notebook-after-oserror-errno-12-cannot-allocat%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Data Science Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48537%2fhow-to-reload-cell-in-jupyter-notebook-after-oserror-errno-12-cannot-allocat%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
Are you using tensorflow?
$endgroup$
– Vaalizaadeh
Apr 3 at 15:58
$begingroup$
Yes. I use tensorflow.
$endgroup$
– Badum
Apr 3 at 15:59
$begingroup$
If you are using tensorflow and your kernel is still alive you can just resume the training because the variables hold what they've learnt until now. The current snapshot of your graph, you can be stored it.
$endgroup$
– Vaalizaadeh
Apr 3 at 16:00
$begingroup$
Yes. My kernel is alive. How can I resume the training?
$endgroup$
– Badum
Apr 3 at 16:01
$begingroup$
just run the sess.run cell. Your current values are still available.
$endgroup$
– Vaalizaadeh
Apr 3 at 16:01