wandb: Invalid cross-device link error preventing logging of images
wandb, version 0.10.2 Python 3.7.8 Linux
Description
When trying to log images with W&B, I am getting an error that prevents the temp image file from being copied, which prevents logging and causes the job to crash.
What I Did
Calling ``wandb.log(…)on anwandb.Image(…)` object, I get the following error:
Traceback (most recent call last):
File "/home/timbrooks/anaconda3/envs/prototypes/lib/python3.7/shutil.py", line 566, in move
os.rename(src, real_dst)
OSError: [Errno 18] Invalid cross-device link: '/tmp/tmp5u21hyu4wandb-media/34f2xax2.png' -> '/home/timbrooks/code/prototypes/wandb/run-202009
22_021201-3qfz7a58/files/media/images/val/0/input_4000_0.png'
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (3 by maintainers)
Hi,
the problem is still not solved for wandb==0.12.16. Initializing with
wandb.init(dir=tempfile.gettempdir())is only a workaround, which is not possible in our case. And only downgrading to W&B to 0.9.7 as @timothybrooks suggested helped, but of course, we would like to keep up to date. Any plans of addressing it?Best, Daniel
I’ve downgraded W&B to 0.9.7 and the problem resolved. So perhaps there is a regression in writing or copying images?