Rename `ptbench dataset` to `ptbench datamodule`
This nomenclature would be more inlined with our current type system and the definitions in ptbench.data.typing
.
This nomenclature would be more inlined with our current type system and the definitions in ptbench.data.typing
.
Done in 6d819c3d.
ptbench datamodule check <datamodule>
will check that samples are properly loaded for the specified datamodule(s).
ptbench datamodule list
returns the available datamodules. This is not yet totally accurate as it also returns the models due to how entrypoints are defined in pyproject.toml
. It would be necessary to either rethink how the entrypoints are defined or perform some additional, more complex parsing on what is returned by importlib.
Datamodules are part of ptbench.data
Can't you just check if the leading module .endswith(".data")
?
Something like that: 00f74e43
The RS datasets are not listed since their entrypoints still point to ptbench.configs.
Also I started looking at config.py and it seems that ptbench config list
does the same thing. Do we still need it? Or should I reuse it?
mentioned in merge request !6 (merged)
closed with merge request !6 (merged)
mentioned in commit adf29dd1