There are no commands available after installation.
Describe the bug
I successfully installed OTX 2.4.4, but there is no available otx command,
Steps to Reproduce
-
Installed OTX 2.4.4 as followed with below link. https://open-edge-platform.github.io/training_extensions/latest/guide/get_started/installation.html
-
Run 'otx --help'
-
Run
otx train --help
Environment:
- OS: Both ubuntu 22.04 and 24.04
- Framework version: OTX 2.4.4
- Python version: Python 3.10 (uv venv .otx --python 3.10)
- OpenVINO version:
- CUDA/cuDNN version: 12.8
- GPU model and memory: 24576MiB
By the way, I built OTX in same machine, and I found available subcommand like this. I wonder why otx 2.4.4 can't show any available otx command. And want to use official version of OTX. Is it a bug on OTX 2.4.4?
@mokiya thanks for reporting this. Usually, that means some deps are missing (typically, that's torch). Our docs are updated from develop, so the installation instruction is a bit misleading. You need to run uv pip install otx[base] I believe
@sovrasov thanks for prompt response! As you guided, yes, I can now see subcommand after installing otx with [base]. Yesterday I checked by downgrading from 2.4.4 to 2.4.1 and installing, but I couldn't see the otx subcommand. It seems that the documentation has been incorrect for a long time. Anyway thanks for your help! :)
By the way, I have another question on train command.
Do I need to give the config full path to use the supported model searched through otx find? Is there a way to do it simply by giving the model name?
otx train --data_root /home/developer/Workspace/ai/otx/wgisd/ --work_dir ./otx-workspace --task DETECTION --config .venv/lib/python3.10/site-packages/otx/recipe/detection/yolox_l.yaml
Actually I tried to use --model option, but can't use it with model name like --name yolox_s_tile.
error: Parser key "model":
- Expected a config path but yolox_s_tile either not accessible or invalid
- Expected a dot import path string: yolox_s_tile
In the past, the project was created by giving only the model name with otx build command, but now it seems like I need to give the full path, so I'm curious and asking.
We're moving away from the OTX CLI currently, and this bug is not going to be fixed.
Now, if you want to use CLI, you can run otx find to locate all relevant recipes and use full paths
@sovrasov If you don't mind, can I ask you one more question? Is OTX CLI going to be EOLed?
We're considering that, but the decision hasn't been made yet. @kprokofi could you also comment?
@kprokofi Could you please take a look at this issue?
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.
This repository has moved from OTX to Geti Library (getitune). otx is no longer developed here as a standalone package; development continues under getitune in the library module. For current CLI usage, please use getitune Given this migration, we are closing this issue as out of scope for current OTX maintenance in this repo. If you hit the same problem with getitune, please open a new issue