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

[CLI]: wandb write data error #7836

Open
schangze opened this issue Jun 20, 2024 · 2 comments
Open

[CLI]: wandb write data error #7836

schangze opened this issue Jun 20, 2024 · 2 comments
Labels
c:integration Component: Integration c:media

Comments

@schangze
Copy link

Describe the bug

model.train(data="cfg/preformhaze.yaml", epochs=75, imgsz=[1280,854], batch=32)

<!--- A full traceback of the exception in the quotes below -->
```shell

Additional Files

No response

Environment

WandB version:
0.16.6
OS:
Window 10
Python version:
3.11
Versions of relevant libraries:
YOLO v8

Additional Context

FileNotFoundError
[Errno 2] No such file or directory: '...\ultralytics-main\ultralytics\wandb\offline-run-20240620_100621-0pfbp5fu\files\media\images\confusion_matrix_normalized_1_3e3844ebf3a66cf58ed7.png'
File "C:\Users...\ultralytics-main\ultralytics\haze_train.py", line 48, in main
haze_model.train(data="cfg/preformhaze.yaml", epochs=1, imgsz=[1280,854], batch=32)
File "...\ultralytics-main\ultralytics\haze_train.py", line 56, in
main()
FileNotFoundError: [Errno 2] No such file or directory: '...\ultralytics-main\ultralytics\wandb\offline-run-20240620_100621-0pfbp5fu\files\media\images\confusion_matrix_normalized_1_3e3844ebf3a66cf58ed7.png'

@schangze
Copy link
Author

error occurs when model train finished, and code trying to save a image into a specified folder, and it seems to be the problem of offline mode wandb.

@kptkin kptkin added c:integration Component: Integration c:media labels Jun 27, 2024
@paulosabile-wb
Copy link

Hi @schangze Good day and thank you for reaching out to us. Happy to help you on this!

It seems that this file/directory can't be reached by the wandb service, we'll help you troubleshoot this error. Do you know if the image file has been logged properly in wandb when you ran your code?

May I know your current SDK version, you can get this by running wandb --version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:integration Component: Integration c:media
Projects
None yet
Development

No branches or pull requests

3 participants