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

Remove torchvision from dependency list #504

Merged
merged 4 commits into from
Feb 20, 2021

Conversation

kshpv
Copy link
Collaborator

@kshpv kshpv commented Feb 12, 2021

No description provided.

@kshpv kshpv requested a review from a team February 12, 2021 09:13

TORCH_VERSION = "1.7.0"
TORCHVISION_VERSION = "0.8.1"
CUDA_VERSION = "102"
IS_CUDA_VER_DEFAULT_FOR_CURRENT_TORCH_VER = True

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we need TORCHVISION_SOURCE_URL_TEMPLATE in 80 line if it is not used any more?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are right; removed

setup.py Outdated Show resolved Hide resolved
```
pip install examples/requirements.txt
```

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have this in root README.md. It doesn't hurt to give another hint at sample README level, though, but you should do this for each sample then.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mb pip install **-r** examples/requirement.txt ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vshampor It seems to be more convenient for users.
I did for classification, detection and segmentation. Do we have more?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mb pip install **-r** examples/requirement.txt ?

Should be. Need to change main Readme

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aleksei-kashapov please adjust the root README as well within the scope of this PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@vshampor vshampor merged commit 2678091 into openvinotoolkit:develop Feb 20, 2021
vshampor added a commit that referenced this pull request Feb 20, 2021
vshampor added a commit that referenced this pull request Feb 20, 2021
@kshpv kshpv deleted the unnecessary_dependency branch July 19, 2022 13:58
kshpv added a commit to kshpv/nncf that referenced this pull request Oct 11, 2022
* Remove torchvision from dependency list

* Fix bug

* Add installation part to samples readme

* Update install instruction
kshpv pushed a commit to kshpv/nncf that referenced this pull request Oct 11, 2022
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

Successfully merging this pull request may close these issues.

3 participants