Commit 55c0078
Make vis module importable, remove required torch and torchvision
Summary:
In PR #3311 we made densepose a pip-installable Python package. However, we forgot to include an `__init__.py` so that the `vis` module is importable. This PR adds that `__init__.py`.
It was also mentioned in that PR that there is a preference not to require torch and torchvision requirements versions:
#3311 (comment)
This PR also removes those requirements from the `setup.py` and lists them instead in the prerequisites in the documentation.
Pull Request resolved: #3382
Reviewed By: patricklabatut
Differential Revision: D30462761
Pulled By: vkhalidov
fbshipit-source-id: e58985ff24cc75ff1d7905a863fa040e3be99bc31 parent faf6587 commit 55c0078
File tree
3 files changed
+2
-3
lines changed- projects/DensePose
- densepose/vis
- doc
3 files changed
+2
-3
lines changedWhitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | 41 | | |
44 | 42 | | |
0 commit comments