gavinyuan commited on
Commit
4599493
1 Parent(s): 0540af1

update: PIPNet

Browse files
app.py CHANGED
@@ -190,7 +190,7 @@ def swap_image(
190
 
191
  os.system('ls -hlrt ./')
192
  os.system('ls -hlrt ./third_party/PIPNet/FaceBoxesV2/utils/build')
193
- os.system('cat -hlrt ./third_party/PIPNet/FaceBoxesV2/utils/nms/cpu_nms.pyx')
194
 
195
  source_img = np.array(Image.open(source_image).convert("RGB"))
196
  net, detector = get_lmk_model()
 
190
 
191
  os.system('ls -hlrt ./')
192
  os.system('ls -hlrt ./third_party/PIPNet/FaceBoxesV2/utils/build')
193
+ os.system('cat ./third_party/PIPNet/FaceBoxesV2/utils/nms/cpu_nms.pyx')
194
 
195
  source_img = np.array(Image.open(source_image).convert("RGB"))
196
  net, detector = get_lmk_model()
third_party/PIPNet/FaceBoxesV2/utils/nms/cpu_nms.c DELETED
The diff for this file is too large to render. See raw diff
 
third_party/PIPNet/lib/tools.py CHANGED
@@ -5,9 +5,8 @@ import os
5
 
6
  def make_pipnet():
7
  cmds = [
8
- "cd ./third_party/PIPNet/FaceBoxesV2/utils/ && ls -hlrt && chmod +x ./make.sh "
9
  "&& bash ./make.sh "
10
- "&& ls -hlrt "
11
  "&& cd - ",
12
  ]
13
  for cmd in cmds:
 
5
 
6
  def make_pipnet():
7
  cmds = [
8
+ "cd ./third_party/PIPNet/FaceBoxesV2/utils/ && chmod +x ./make.sh "
9
  "&& bash ./make.sh "
 
10
  "&& cd - ",
11
  ]
12
  for cmd in cmds: