File tree 3 files changed +12
-9
lines changed
3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ Image colorization is inherently an ill-posed problem with multi-modal uncertain
19
19
In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2020.
20
20
21
21
## Prerequisites
22
+ * [ CUDA 10.1] ( https://developer.nvidia.com/cuda-10.1-download-archive-update2 )
22
23
* Python3
23
24
* Pytorch >= 1.5
24
25
* Detectron2
@@ -35,12 +36,16 @@ cd InstColorization
35
36
2 . Install [ conda] ( https://www.anaconda.com/ ) .
36
37
3 . Install all the dependencies
37
38
``` sh
38
- conda env create --file env.yml --name instacolorization
39
+ conda env create --file env.yml
39
40
```
40
41
4 . Switch to the conda environment
41
42
``` sh
42
43
conda activate instacolorization
43
44
```
45
+ 5 . Install other dependencies
46
+ ``` sh
47
+ sh scripts/install.sh
48
+ ```
44
49
45
50
## Pretrained Model
46
51
1 . Download it from [ google drive] ( https://drive.google.com/open?id=1Xb-DKAA9ibCVLqm8teKd1MWk6imjwTBh ) .
Original file line number Diff line number Diff line change 1
- name : py37_pt14
1
+ name : instacolorization
2
2
channels :
3
3
- conda-forge
4
4
- defaults
@@ -92,8 +92,6 @@ dependencies:
92
92
- absl-py==0.9.0
93
93
- cachetools==4.1.0
94
94
- chardet==3.0.4
95
- - detectron2==0.1.2+cu101
96
- - dominate==2.4.0
97
95
- future==0.18.2
98
96
- fvcore==0.1.dev200506
99
97
- google-auth==1.14.2
@@ -111,9 +109,7 @@ dependencies:
111
109
- protobuf==3.11.3
112
110
- pyasn1==0.4.8
113
111
- pyasn1-modules==0.2.8
114
- - pycocotools==2.0
115
112
- pydot==1.4.1
116
- - pyyaml==5.1
117
113
- pyzmq==18.1.1
118
114
- requests==2.23.0
119
115
- requests-oauthlib==1.3.0
@@ -122,9 +118,6 @@ dependencies:
122
118
- tensorboard==2.2.1
123
119
- tensorboard-plugin-wit==1.6.0.post3
124
120
- termcolor==1.1.0
125
- - torch==1.5.0+cu101
126
- - torchfile==0.1.0
127
- - torchvision==0.6.0+cu101
128
121
- urllib3==1.25.8
129
122
- visdom==0.1.8.9
130
123
- websocket-client==0.57.0
Original file line number Diff line number Diff line change
1
+ pip install -U torch==1.5 torchvision==0.6 -f https://download.pytorch.org/whl/cu101/torch_stable.html
2
+ pip install cython pyyaml==5.1
3
+ pip install -U ' git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI'
4
+ pip install dominate==2.4.0
5
+ pip install detectron2==0.1.2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu101/index.html
You can’t perform that action at this time.
0 commit comments