neptune-client: Cannot resume in offline mode due to lack of `sys/id` field
import neptune.new as neptune
run = neptune.init(mode='offline')
run.sync()
run.wait()
rid = run['sys/id'].fetch()
run = neptune.init(mode='offline', run=rid)
rid = run['sys/id'].fetch()
ends up with:
offline/1b7c5e70-695d-4d1c-8587-a5ca2e3d222c
Traceback (most recent call last):
File "err4.py", line 5, in <module>
run.sync()
File "/home/wojciech/miniconda3/envs/nori/lib/python3.8/site-packages/neptune/new/run.py", line 453, in sync
attributes = self._backend.get_attributes(self._uuid)
File "/home/wojciech/miniconda3/envs/nori/lib/python3.8/site-packages/neptune/new/internal/backends/offline_neptune_backend.py", line 42, in get_attributes
raise NeptuneOfflineModeFetchException
neptune.new.exceptions.NeptuneOfflineModeFetchException:
----NeptuneOfflineModeFetchException---------------------------------------------------
It seems you are trying to fetch data from the server, while working in an offline mode.
You need to work in non-offline connection mode to fetch data from the server.
The thing is that I don’t try to fetch data from the server but from the run, whenever it stores its data.
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 31 (17 by maintainers)
Hi @Blaizzy , Thanks for your quick response. For the students in University, in the lab, the GPU server always lacks, because training a neural network is time-consuming work, and the training process often is terminated by other students, so I think the function of resume offline run must be useful and popular, 😃. Further, you know that tensorboard’s graph and table are ugly and low resolution, they can not be used in the thesis directly. Neptune’s beautiful diagrams are welcome and its export function is very easy to use.
Many years before, I have to draw, compare and adjust the graph manually, and now, I am going to move from tensorboard to Neptune this year. Come on and have a nice day.
@wouterzwerink great to hear!
If anything pops up feel free to let me know. I’ll be happy to help 😃
Switching from spreadssheets to Neptune.ai and How it Pushed…
The truth is that I just wanted to use resuming in debug mode which initially did not work for me so I tried offline mode, which also failed.
On Mon, 7 Jun 2021 at 14:52, Marcin Mycek @.***> wrote: