Comments (9)
Hi, I fixed the issue by keeping the last two steps. Apparently, the problem was that some of the runs crashed before uploading the last step. Thanks again for the help I'll close the issue.
from wandb.
Hey @kkoutini , Thank you for writing in!
Could you please provide a link to a workspace where you are experiencing this behavior?
from wandb.
Hi there, I wanted to follow up on this request. Please let us know if we can be of further assistance or if your issue has been resolved.
from wandb.
Hi, Thank you, it seems to be working now. I feel like something was cached, which caused the failures. Most of the runs are working now, but here is one example I found that is still not working, although the media files from the last steps still exist.
from wandb.
Thank you for the update! Could you please send me a link to a run where it is working for you now - for me to compare both of the workspaces?
from wandb.
Hi thank you!
Here is a run that works for me, I can choose the steps 429 and 430, these are the only steps that still have the audio files, and I can play them in the webapp.
PS: Sometimes, I may need to edit the panels to choose Columns=Example index
in advanced to get the steps slider, to be able to slide it to the end.
Here is also a minimal code snippet for what I do to delete the intermediate files:
files_gt = defaultdict(list)
for file in run.files():
if file.name.endswith(extension) and "gt" in file.name:
f = file.name.rsplit("/",1)[-1] # get the file name
k= int(f.rsplit("_",2)[-2]) # this should be analogous to the step num
files_gt[k].append(file)
for k in sorted(files_gt)[:-1]: # exclude the last step
file_to_delete.extend(files_gt[k]) # add all the other indices and steps to the delete list
from wandb.
Thank you for providing the code snippet above.
When do you delete your files, as well as how often do you log them? Do you log them every wandb step?
Do you delete your files when the training is over and when wandb.finish() has been called, or do you do it in the middle of the experiment?
from wandb.
Hi there, I wanted to follow up on this request. Please let us know if we can be of further assistance or if your issue has been resolved.
from wandb.
Hi, I log the files after each epoch but I don't set a step, during the epoch I log other metrics. Therefore, I think it's not every wandb step.
After the traning is done and wandb.finish is called. I do some anlysis and in some cases, I don't need the files anymore (in most cases). I connect to wandb api and clean the intermediate files and leave only the last logged files. I use the code posted above.
I don't know which was the last step so sort by the file name and delete all but the last step.
Thanks for the help!
from wandb.
Related Issues (20)
- [App]: Optionally disable auto-search/auto-update for search bar HOT 2
- [Q] How to run a wandb.sweep with a python script as a package? HOT 2
- Deleted HOT 1
- [CLI]: Project.sweeps is a function whilst Sweep.runs is a list HOT 1
- [CLI]: API: Sweep.runs is empty whilst calling Api.sweep by the sweep path contians urns as expected HOT 1
- [Q] Confusion matrix as table HOT 2
- [Q] How to create normalized frequency histogram with W&B custom chart HOT 3
- [Q] Is there is away set general rules for wandb.define_metric HOT 4
- [Q] Using max/min values in weave chart HOT 2
- [CLI]: Wandb fails if git detects dubious ownership HOT 2
- [CLI]: `state` does not sem to be Exposed on Sweep HOT 2
- [CLI]: "None if not a permitted value of the categorical hyperparameter in the current sweep HOT 1
- per_page Parameter Not Limiting Runs in api.runs HOT 1
- [CLI]: CLI is excessively restrictive in check for `--host`; does not support private/internal DNS hostnames HOT 3
- [Q] Display changes between artefact versions HOT 1
- FileNotFoundError [WinError 3] when running on Windows HOT 3
- [CLI]: running wandb in docker container and stuck
- [CLI]: Cannot call `init` on LambdaLabs VM HOT 2
- [CLI]: [Feature]: wandb login --host | Inform what the --host is now, what the default is, and don't save invalid HOT 1
- [Q] How to authenticate for the GraphQL public API? HOT 1
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.