EveryVoiceTTS / EveryVoiceTTS/EveryVoice

everyvoice inspect-checkpoint -h ( -C -A should be on it's own line) / need more error messages

Open
#727 1 comment 0 reactions 1 assignee Claimed by @deltork View on GitHub
bug
Dominant language
Python
Stars
45
Forks
4
Avg merge
1d 8h
Merged PRs (30d)
14

Description

### Bug description

I was noticing that when we run :

`everyvoice inspect-checkpoint -h `
or soon after pr722
`everyvoice checkpoint inspect --help`

The help message options on screen is not placed at the right spot for these 2 options ex:

` --no-show-config -C`
also
`--no-show-architecture -A`

should be displayed on it own separate line under Options. Having the 2 options on the same line makes it strange VS how other help messages we display. It's also strange that we have the `-c` or `-a ` since they are both on by default or if we define one or the other , both will be used anyways. ( Not sure if that is just adding noice to the help message ? Also command like this below works where we should probably display a proper error message / help example?

`everyvoice inspect-checkpoint -c -C -A -a ./last.ckpt`
or this
`everyvoice inspect-checkpoint -C -A ./last.ckpt` <- but nothing is displayed ;-0

```
everyvoice checkpoint inspect --help

Usage: everyvoice checkpoint inspect [OPTIONS] MODEL_PATH

Given an EveryVoice checkpoint, show information about the configuration used during training, the model's
architecture and the number of weights per layer and total weight count.


╭─ Arguments ────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ * model_path FILE The path to your model checkpoint file. │
│ [default: None] │
│ [required] │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --show-config -c --no-show-config -C Show the configuration used during training │
│ [default: show-config] │
│ --show-architecture -a --no-show-architecture -A Show the model's architecture │
│ [default: show-architecture] │
│ --help -h Show this message and exit. │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
```

### How to reproduce the bug

```python
everyvoice inspect-checkpoint -h
or soon after pr722
everyvoice checkpoint inspect --help

```

### Error messages and logs

```
None
```

### Environment

### More info

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.