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

toml.decoder.TomlDecodeError: Invalid date or number (line 41 column 1 char 1505) #11

Open
CreepJoye opened this issue Oct 23, 2023 · 0 comments

Comments

@CreepJoye
Copy link

Hello!
When I run the command $ python train.py -c config.toml, there are some errors:

Traceback (most recent call last):
  File "/home/lqb/.conda/envs/asr_w2v/lib/python3.8/site-packages/toml/decoder.py", line 511, in loads
    ret = decoder.load_line(line, currentlevel, multikey,
  File "/home/lqb/.conda/envs/asr_w2v/lib/python3.8/site-packages/toml/decoder.py", line 737, in load_line
    raise ValueError("Invalid date or number")
ValueError: Invalid date or number

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "train.py", line 189, in <module>
    config = toml.load(args.config)
  File "/home/lqb/.conda/envs/asr_w2v/lib/python3.8/site-packages/toml/decoder.py", line 134, in load
    return loads(ffile.read(), _dict, decoder)
  File "/home/lqb/.conda/envs/asr_w2v/lib/python3.8/site-packages/toml/decoder.py", line 514, in loads
    raise TomlDecodeError(str(err), original, pos)
toml.decoder.TomlDecodeError: Invalid date or number (line 41 column 1 char 1505)

How can I solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant