gavinyuan commited on
Commit
10b1a75
1 Parent(s): cb638e6

add: PIPNet make.sh when started

Browse files
third_party/PIPNet/FaceBoxesV2/utils/make.sh CHANGED
@@ -1,3 +1,3 @@
1
  #!/usr/bin/env bash
2
- python3 build.py build_ext --inplace --prefix=./third_party/PIPNet/FaceBoxesV2/utils/build
3
 
 
1
  #!/usr/bin/env bash
2
+ python3 build.py build_ext --inplace
3
 
third_party/PIPNet/lib/tools.py CHANGED
@@ -5,10 +5,10 @@ import os
5
 
6
  def make_pipnet():
7
  cmds = [
8
- "chmod +x ./third_party/PIPNet/FaceBoxesV2/utils/make.sh",
9
- "bash ./third_party/PIPNet/FaceBoxesV2/utils/make.sh",
10
- "ls -hlrt ./third_party/PIPNet/FaceBoxesV2/utils/"
11
- "cd -",
12
  ]
13
  for cmd in cmds:
14
  os.system(cmd)
 
5
 
6
  def make_pipnet():
7
  cmds = [
8
+ "cd ./third_party/PIPNet/FaceBoxesV2/utils/ && chmod +x ./make.sh "
9
+ "&& bash .make.sh "
10
+ "&& ls -hlrt "
11
+ "&& cd - ",
12
  ]
13
  for cmd in cmds:
14
  os.system(cmd)