Comments (9)
Hi @sammlapp
Good day and thank you for reaching out to us. Happy to help you on this!
The test1 table works on Windows when I tried it on my machine.
While it seems I was able to reproduce the behavior for test2, I am also getting no rows logged on the table. Let me investigate this behavior and I will get back to you for an update.
Best Regards,
Paulo
from wandb.
Interesting, thanks for looking into it. Perhaps @paulpeyret-biophonia has a minimal working example of the issue with logging using " / " on Windows?
from wandb.
Hello,
Note: wandb seems to create temp files and folders that it sends to the wandb server, then it deletes (flush) the temp folder.
I have the same behavior as @paulosabile-wb with your code snippet on my windows machine.
Test1:
I was able to reproduce the error in CNN.train() with this following snippet.
This sneaky bug is only raised when you run log function with " /" in the name (it must be the first log of all logs otherwise it works fine)
import wandb
import pandas as pd
table1 = wandb.Table(dataframe=pd.DataFrame({'a':[1,2,3],'b':[4,5,6]}))
wandb_session=wandb.init(entity='kitzeslab',project="opensoundscape",name='test wandb table')
wandb_session.log({"test1 / nested1": table1})
This is caused in wandb package by the call of os.makedirs() function that remove any space at the end of the folder name before creating it.
You can test it here:
import os
my_filename='./test1 / nested1.table.json'
print(os.path.dirname(my_filename))
os.makedirs(os.path.dirname(my_filename), exist_ok=True)
So no space before "/" in wandb_session.log() input dictionary key shall solve this bug.
from wandb.
Hi @sammlapp Good day! Just checking if you were able to make your test1 table work by following @paulpeyret-biophonia suggestion above?
from wandb.
Hi @sammlapp Since we have not received an update from you, we will now mark this as Solved. Please feel free to reach out again if you need assistance!
Have a great day ahead!
Best Regards,
Paulo
from wandb.
Sorry for the delay - I'm largely off grid for fieldwork. I would consider @paulpeyret-biophonia's suggestion a workaround rather than a solution - it is buggy that " /" causes an exception.
from wandb.
Hi @paulpeyret-biophonia Good day! It seems that I am unable to reproduce errors when following your snippet. Could you please clarify what errors are being thrown when you were testing the bug when logging the nested table in Windows?
Could you also share me your sdk version by running wandb --version
?
from wandb.
Hi @paulosabile-wb ,
The error is :
File "C:\Users\Username\myproject\.venv\lib\site-packages\wandb\util.py", line 1617, in fsync_open
with open(path, mode, encoding=encoding) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Username\\AppData\\Local\\Temp\\tmpcatlpygf\\test1 / nested1.table.json'
My config is:
wandb, version 0.13.11
Windows 11
from wandb.
Thank you @paulpeyret . I am not able to reproduce this when using version 0.17.1. Any chance you could try this on the latest version of wandb?
from wandb.
Related Issues (20)
- [CLI]: AMD GPU Monitoring HOT 6
- [CLI]: Running Sweep stops running new runs every 5 runs and each sweep creates 5 agents HOT 2
- [CLI]: Multiple sweeps at the same time / project not recognized the sweep id HOT 3
- [Q] How to use local controller? HOT 3
- [Q] Typo in local instance documentation related to mounting local volume to docker container? HOT 1
- [Q]How do I get the data in logs? HOT 3
- Failed to query for notebook name HOT 17
- [Q] How to Plot loss and accuracy HOT 4
- [Feature]: Log custom commands HOT 1
- [CLI]: initializing twice leads to `AttributeError: 'Run' object has no attribute '_telemetry_obj'.` HOT 25
- [App]: Using run ids in search box no longer works HOT 15
- [Q] Is there is a way to upload the summary of offline crashed runs? HOT 1
- [Q] I have many wandb files in my local server, Can I see values and graphs on the web? HOT 15
- [Q] What happens if I log to one run (same id) from 2 different python code at the same time? HOT 2
- [Feature]: Add function for loading id token to wandb.login HOT 1
- [App]: `export WANDB_SILENT="true"` isn't being honored HOT 3
- [Q]How can I show the loss gap in figure? HOT 3
- [Q] Why there is a sentry-sdk dependency (privacy/security concern)? HOT 2
- [CLI]: Regression in GPU system metrics logging when upgrading from 0.17.4 to 0.17.6
- [App]: Hover over graphs in Workspace cuts off making it difficult to read HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wandb.