Comments (6)
Hello @ShoufaChen !
You can currently do this with the following piece of code:
import wandb
api = wandb.Api()
run = api.run("<ENTITY>/<PROJECT>/<RUN_ID>")
print(run.summary["_wandb"].runtime)
from wandb.
Thank you very much, it works for me.
from wandb.
Hello, @rsanandres-wandb ,
I reopened this issue since I found run.summary["_wandb"].runtime
can only get runtime of finished
jobs.
I was wondering if there is a api to get jobs's time that have failed
, running
or creashed
state?
Thanks in advance.
from wandb.
Hello! I was able to run the code to get the jobs time in the failed, running and crashed state. What is the output when you are running the commands on your end?
from wandb.
the run.summary is empty on my end, is it normal?
from wandb.
That is not normal, what likely happened is that the run crashed before being able to log any metrics. Unfortunately, we will not be able to show the runtime since from the UI side of things, it looks like it was never logged. What does the runtime say it is supposed to be in the UI?
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 3
- [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 3
- [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 2
- per_page Parameter Not Limiting Runs in api.runs HOT 2
- [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 2
- 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 7
- [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.