praeclarumjj3 commited on
Commit
0ffe942
1 Parent(s): 80b6e22
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. deform_setup.sh +4 -4
Dockerfile CHANGED
@@ -36,9 +36,9 @@ RUN pip install --no-cache-dir --upgrade -r $WORKDIR/requirements.txt
36
 
37
  COPY . .
38
 
39
- RUN ln -s ./oneformer/modeling/pixel_decoder/ops/ ./ && ls && cd ops/ && FORCE_CUDA=1 python setup.py build --build-base=$WORKDIR install --user && cd ..
40
 
41
- # RUN sh deform_setup.sh
42
 
43
  # USER user
44
 
 
36
 
37
  COPY . .
38
 
39
+ RUN sh deform_setup.sh
40
 
41
+ RUN ln -s ./oneformer/modeling/pixel_decoder/ops/ ./ && ls && cd ops/ && FORCE_CUDA=1 python setup.py build --build-base=$WORKDIR install --user && cd ..
42
 
43
  # USER user
44
 
deform_setup.sh CHANGED
@@ -1,8 +1,8 @@
1
  #!/usr/bin/env bash
2
- nvidia-smi
3
- ln -s ./oneformer/modeling/pixel_decoder/ops/ ./
4
- ls
5
- cd ops/ && bash make.sh && cd ..
6
 
7
  echo '----------------------------------------------------------------'
8
  echo '----------------------------------------------------------------'
 
1
  #!/usr/bin/env bash
2
+ # nvidia-smi
3
+ # ln -s ./oneformer/modeling/pixel_decoder/ops/ ./
4
+ # ls
5
+ # cd ops/ && bash make.sh && cd ..
6
 
7
  echo '----------------------------------------------------------------'
8
  echo '----------------------------------------------------------------'