felixrosberg commited on
Commit
12bb2e4
β€’
1 Parent(s): 02ed8ba

test git ignore

Browse files
.gitignore.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ g_model
2
+ flagged
3
+ arcface_model
4
+ retina_model
.idea/AFFA-face-swap.iml CHANGED
@@ -2,7 +2,7 @@
2
  <module type="PYTHON_MODULE" version="4">
3
  <component name="NewModuleRootManager">
4
  <content url="file://$MODULE_DIR$" />
5
- <orderEntry type="inheritedJdk" />
6
  <orderEntry type="sourceFolder" forTests="false" />
7
  </component>
8
  <component name="PyDocumentationSettings">
 
2
  <module type="PYTHON_MODULE" version="4">
3
  <component name="NewModuleRootManager">
4
  <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="jdk" jdkName="Python 3.8 (py38)" jdkType="Python SDK" />
6
  <orderEntry type="sourceFolder" forTests="false" />
7
  </component>
8
  <component name="PyDocumentationSettings">
.idea/misc.xml CHANGED
@@ -1,4 +1,4 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <project version="4">
3
- <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8 (base)" project-jdk-type="Python SDK" />
4
  </project>
 
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8 (py38)" project-jdk-type="Python SDK" />
4
  </project>
app.py CHANGED
@@ -13,7 +13,7 @@ from tensorflow.keras.models import load_model
13
  from options.swap_options import SwapOptions
14
 
15
  # Invalidated!
16
- token = os.environ['model_fetch']
17
 
18
  opt = SwapOptions().parse()
19
 
@@ -33,7 +33,7 @@ arc_repo = Repository(local_dir="arcface_model", clone_from="felixrosberg/arcfac
33
  private=True, use_auth_token=token)
34
  ArcFace = load_model("arcface_model/arc_res50.h5")
35
 
36
- g_repo = Repository(local_dir="g_model", clone_from="felixrosberg/affa_f",
37
  private=True, use_auth_token=token)
38
  G = load_model("g_model/affa_f_demo.h5", custom_objects={"AdaIN": AdaIN,
39
  "AdaptiveAttention": AdaptiveAttention,
 
13
  from options.swap_options import SwapOptions
14
 
15
  # Invalidated!
16
+ token = "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"
17
 
18
  opt = SwapOptions().parse()
19
 
 
33
  private=True, use_auth_token=token)
34
  ArcFace = load_model("arcface_model/arc_res50.h5")
35
 
36
+ g_repo = Repository(local_dir="g_model", clone_from="felixrosberg/faceswapmodel",
37
  private=True, use_auth_token=token)
38
  G = load_model("g_model/affa_f_demo.h5", custom_objects={"AdaIN": AdaIN,
39
  "AdaptiveAttention": AdaptiveAttention,
arcface_model ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit ae68f2c3f26c28820c4e428182edaf1a22e79502
g_model ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit e76fed223a8e0942c9b96db839548b3567025c8b
networks/__pycache__/layers.cpython-38.pyc CHANGED
Binary files a/networks/__pycache__/layers.cpython-38.pyc and b/networks/__pycache__/layers.cpython-38.pyc differ
 
options/__pycache__/swap_options.cpython-38.pyc CHANGED
Binary files a/options/__pycache__/swap_options.cpython-38.pyc and b/options/__pycache__/swap_options.cpython-38.pyc differ
 
retina_model ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 2f0a951e5d77e38f918e9237d80bbc3db87719c9
utils/__pycache__/utils.cpython-38.pyc CHANGED
Binary files a/utils/__pycache__/utils.cpython-38.pyc and b/utils/__pycache__/utils.cpython-38.pyc differ