Skip to content

Commit 2cd8489

Browse files
authored
Delete rejected models and OTX install (#4247)
* delete rejected models and OTX install * remove test config * remove docs, clean pyproject.toml, change ChangeLog
1 parent 08330c0 commit 2cd8489

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+24
-9065
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ All notable changes to this project will be documented in this file.
2525
(<https://github.com/openvinotoolkit/training_extensions/pull/4208>)
2626
- Remove Zero Shot Visual Prompting
2727
(<https://github.com/openvinotoolkit/training_extensions/pull/4209>)
28+
- Remove Semi-SL algorithm, unlabeled dataset, MMCV transforms
29+
(<https://github.com/openvinotoolkit/training_extensions/pull/4227>)
30+
- Remove MaskDino, YOLOV9, HuggingFace wrappers, OTX install, mmcv tools
31+
(<https://github.com/openvinotoolkit/training_extensions/pull/4247>)
2832

2933
## \[2.3.0\]
3034

docs/source/guide/get_started/cli_commands.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Help
2727
2828
(otx) ...$ otx --help
2929
╭─ Arguments ─────────────────────────────────────────────────────────────────────────────────────────────────────╮
30-
│ Usage: otx [-h] [-v] {install,find,train,test,predict,export,optimize,explain} ... │
30+
│ Usage: otx [-h] [-v] {find,train,test,predict,export,optimize,explain} ... │
3131
│ │
3232
│ │
3333
│ OpenVINO Training-Extension command line tool │
@@ -42,7 +42,6 @@ Help
4242
│ │
4343
│ │
4444
│ Available subcommands: │
45-
│ install Install OTX requirements. │
4645
│ find This shows the model provided by OTX. │
4746
│ train Trains the model using the provided LightningModule and OTXDataModule. │
4847
test Run the testing phase of the engine. │
@@ -54,11 +53,6 @@ Help
5453
│ │
5554
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
5655
57-
.. note::
58-
59-
After installing the package, if torch is not installed properly, this will only show the ``install`` subcommand. You can refer to this :doc:`installation section <installation>`.
60-
61-
6256
The subcommand can get help output in the following way.
6357
For basic subcommand help, the Verbosity Level is 0. In this case, the CLI provides a Quick-Guide in markdown.
6458

docs/source/guide/get_started/installation.rst

Lines changed: 11 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -40,39 +40,14 @@ package:
4040
python -m venv .otx
4141
source .otx/bin/activate
4242
43-
pip install -e .
43+
pip install -e .[base]
4444
45-
2. Install PyTorch & Requirements for training
46-
according to your system environment.
47-
48-
.. tab-set::
49-
50-
.. tab-item:: Minimum requirements
51-
52-
.. code-block:: shell
53-
54-
pip install '.[base]'
55-
56-
.. note::
57-
58-
Models from mmlab are not available for this environment. If you want to use mmlab models, you must install them with Full Requirements.
59-
Also, some tasks may not be supported by minimum requirements.
60-
61-
.. tab-item:: Full Requirements
62-
63-
.. code-block:: shell
64-
65-
otx install -v --option full
66-
67-
[Optional] Refer to the `torch official installation guide <https://pytorch.org/get-started/previous-versions/>`_
68-
69-
.. note::
70-
71-
Currently, only torch==2.2 was fully validated. (older versions are not supported due to security issues).
45+
2. Once the package is installed in the virtual environment, you can use full
46+
OpenVINO™ Training Extensions command line functionality.
7247

48+
.. code-block:: shell
7349
74-
3. Once the package is installed in the virtual environment, you can use full
75-
OpenVINO™ Training Extensions command line functionality.
50+
otx --help
7651
7752
*************************************************************
7853
Install OpenVINO™ Training Extensions for users (XPU devices)
@@ -81,17 +56,13 @@ Install OpenVINO™ Training Extensions for users (XPU devices)
8156
1. Install OpenVINO™ Training Extensions
8257
from source to use XPU functionality.
8358

84-
.. tab-set::
85-
86-
.. tab-item:: Minimum requirements
87-
88-
.. code-block:: shell
59+
.. code-block:: shell
8960
90-
# Clone the training_extensions repository with the following command:
91-
git clone https://github.com/openvinotoolkit/training_extensions.git
92-
cd training_extensions
61+
# Clone the training_extensions repository with the following command:
62+
git clone https://github.com/openvinotoolkit/training_extensions.git
63+
cd training_extensions
9364
94-
pip install -e '.[base]' --extra-index-url https://download.pytorch.org/whl/test/xpu
65+
pip install -e '.[base]' --extra-index-url https://download.pytorch.org/whl/test/xpu
9566
9667
.. note::
9768

@@ -159,7 +130,7 @@ would be used to setup them.
159130

160131
.. code-block:: shell
161132
162-
$ otx install --option dev
133+
$ pip install -e '.[dev]'
163134
$ pytest tests/
164135
165136
Another option to run the tests is using the testing automation tool `tox <https://tox.wiki/en/latest/index.html>`_. Following commands will install

docs/source/guide/tutorials/advanced/huggingface_model.rst

Lines changed: 0 additions & 102 deletions
This file was deleted.

docs/source/guide/tutorials/advanced/semi_supervised_learning.rst

Lines changed: 0 additions & 166 deletions
This file was deleted.

0 commit comments

Comments
 (0)