question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`wandb gc` → ValueError: time data 'in' does not match format '%Y%m%d_%H%M%S'

See original GitHub issue

wandb, version 0.8.30 Python 3.8.2 Linux

wandb gc

Traceback:

Traceback (most recent call last):
  File "/home/marcel/.local/bin/wandb", line 8, in <module>
    sys.exit(cli())
  File "/home/marcel/.local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/marcel/.local/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/marcel/.local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/marcel/.local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/marcel/.local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/marcel/.local/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/marcel/.local/lib/python3.8/site-packages/wandb/cli.py", line 825, in gc
    dates = [datetime.datetime.strptime(p.split("-")[1],'%Y%m%d_%H%M%S') for p in paths]
  File "/home/marcel/.local/lib/python3.8/site-packages/wandb/cli.py", line 825, in <listcomp>
    dates = [datetime.datetime.strptime(p.split("-")[1],'%Y%m%d_%H%M%S') for p in paths]
  File "/usr/lib/python3.8/_strptime.py", line 568, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.8/_strptime.py", line 349, in _strptime
    raise ValueError("time data %r does not match format %r" %
ValueError: time data 'in' does not match format '%Y%m%d_%H%M%S'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
raubitsjcommented, Aug 12, 2020

I am working on this now. We are making it easier to set preferences on how much data to keep around so you don’t have to remember to run wandb gc.

0reactions
dreamflashercommented, Jan 14, 2021

Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

time data does not match format - python - Stack Overflow
Where I used %I to parse the hours and %p to parse 'AM/PM'. The error: ValueError: time data '05-SEP-19 00.00.00.000000 AM' does not...
Read more >
PYTHON : time data does not match format - YouTube
PYTHON : time data does not match format [ Gift : Animated Search Engine : https://www.hows.tech/p/recommended.html ] PYTHON : time data ...
Read more >
Logging Date Objects - W&B Help - WandB community
Hey everyone! I'm looking for a way to log Dates. I want to show the evolution of our labeled data over time over...
Read more >
ValueError: time data does not match format (#772) · Issues · leap ...
on leap-client-springbok 0.1.7-1, current Ubuntu with german localization i get: ValueError: time data 'Fri Oct 12 21:47:38 2012' does not match format '%a ......
Read more >
time data does not match format '%y-%m-%dt%h:%m:%s%z'
python valueerror: time data does not match format '%y-%m-%dt%h:%m:%s%z'. Add Answer | View In TPC Matrix. Technical Problem Cluster First Answered On October...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found