bats
This commit is contained in:
1 parent
afd7acf091
commit
97dbaf2e14
3 files changed
+11
-1
No files matched your search
@@ -0,0 +1,5 @@
|
||||
[{000214A0-0000-0000-C000-000000000046}]
|
||||
Prop3=19,11
|
||||
[InternetShortcut]
|
||||
IDList=
|
||||
URL=https://www.python.org/downloads/
|
||||
@@ -0,0 +1,5 @@
|
||||
[{000214A0-0000-0000-C000-000000000046}]
|
||||
Prop3=19,11
|
||||
[InternetShortcut]
|
||||
IDList=
|
||||
URL=https://www.dropbox.com/s/tsl04y5wvg73ij4/talking-head-anime-2-model.zip?dl=0
|
||||
@@ -154,7 +154,7 @@ def main():
|
||||
model = model
|
||||
img = Image.open(f"character/{args.character}.png")
|
||||
wRatio = img.size[0] / 256
|
||||
img = img.resize((256, img.size[1] / wRatio))
|
||||
img = img.resize((256, int(img.size[1] / wRatio)))
|
||||
input_image = preprocessing_image(img.crop((0, 0, 256, 256))).unsqueeze(0)
|
||||
extra_image = None
|
||||
if img.size[1]>256:
|
||||
|
||||
Reference in new issue
Block a user