Hi, I have run a code with metaflow, but closed th...
# ask-metaflow
l
Hi, I have run a code with metaflow, but closed the terminal. I want to access the log that was displayed on terminal.
metaflow logs / metaflow --logs
does not help. I get error Error: No such command 'logs'. Also if there are multiple steps and my code fails in step #6. I realise this is because step #5 had a mistake and I corrected it. Is there any way I can resume the code from step #5 (
python my_code.py resume
starts from step #6)
1
a
for the logs - you could do
python flow.py logs --help
for resume you can do
python my_code.py resume step-name
to resume from
step-name
l
Thanks for the reply but when I do this, it actually executs from the previous step i.e
python my_code.py resume step#5
actually executes code from step#4
a
did
step#4
finish successfully in the previous run? if not, then you wouldn't be able to execute from
step#5
l
So maybe it is running again because step#4 imports a module and that module has changed. How to resume for a particular run id
python my_code.py run_id 12345 resume step-name
something like this?
s
python my_code.py resume --origin-run-id 12345 step-name
would work