Skip to content

Commit

Permalink
docs : python 캐시 파일 삭제 및 root 디렉토리 node module 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeon3625 committed May 23, 2024
1 parent 3f49905 commit 9daeddc
Show file tree
Hide file tree
Showing 201 changed files with 172 additions and 121,250 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ gan/pretrained_models
gan/output
predict_image/*

__pycache__
.vscode
*.idea
Binary file removed Color_extract/__pycache__/color.cpython-312.pyc
Binary file not shown.
Binary file removed PC_model/__pycache__/pc_model.cpython-312.pyc
Binary file not shown.
Binary file removed PC_model/__pycache__/utils.cpython-312.pyc
Binary file not shown.
Binary file not shown.
Binary file removed __pycache__/controller.cpython-312.pyc
Binary file not shown.
Binary file removed gan/datasets/__pycache__/__init__.cpython-312.pyc
Binary file not shown.
Binary file not shown.
Binary file added gan/input/KARINA.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/input/KARINA_1024.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/input/ff.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/input/ff_1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/input/image0.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/input/image0_1024.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/input/image1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/input/image1_1024.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/input/jiwon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/input/jiwon_1024.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/input/ki1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/input/ki1_1024.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/input/ki1_1024_flip.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/input/mad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/input/mad_1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gan/losses/__pycache__/__init__.cpython-312.pyc
Binary file not shown.
Binary file removed gan/losses/__pycache__/align_loss.cpython-312.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed gan/losses/style/__pycache__/__init__.cpython-312.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed gan/models/__pycache__/Alignment.cpython-312.pyc
Binary file not shown.
Binary file removed gan/models/__pycache__/Embedding.cpython-312.pyc
Binary file not shown.
Binary file removed gan/models/__pycache__/Net.cpython-312.pyc
Binary file not shown.
Binary file removed gan/models/__pycache__/__init__.cpython-312.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added gan/style_your_hair_output/FS/image0_1024.npz
Binary file not shown.
Binary file added gan/style_your_hair_output/FS/image0_1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/style_your_hair_output/FS/image1_1024.npz
Binary file not shown.
Binary file added gan/style_your_hair_output/FS/image1_1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/style_your_hair_output/FS/ki1_1024.npz
Binary file not shown.
Binary file added gan/style_your_hair_output/FS/ki1_1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/style_your_hair_output/FS/ki1_1024_flip.npz
Binary file not shown.
Binary file added gan/style_your_hair_output/FS/ki1_1024_flip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/style_your_hair_output/W+/image0_1024.npy
Binary file not shown.
Binary file added gan/style_your_hair_output/W+/image0_1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/style_your_hair_output/W+/image1_1024.npy
Binary file not shown.
Binary file added gan/style_your_hair_output/W+/image1_1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/style_your_hair_output/W+/ki1_1024.npy
Binary file not shown.
Binary file added gan/style_your_hair_output/W+/ki1_1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gan/style_your_hair_output/W+/ki1_1024_flip.npy
Binary file not shown.
Binary file added gan/style_your_hair_output/W+/ki1_1024_flip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions gan/test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import cv2
import os
import numpy as np

# for i in os.listdir("./input"):
# path = os.path.join(os.path.dirname(__file__), "input", i)
# img = cv2.imread(path)
# # image = cv2.resize(img, (1024, 1024))

# # path = path[:-4] + "_1024" + path[-4:]
# # cv2.imwrite(path, image)
# print(i, img.shape)
path = os.path.join(os.path.dirname(__file__), "input", "image1.jpeg")
img = cv2.imread(path)
print("img.shape", img.shape)
image = cv2.resize(img, (1024, 1024))
path = path[:-5] + "_1024" + path[-5:]
cv2.imwrite(path, image)
print("1024_img", image.shape)

Binary file removed gan/utils/__pycache__/__init__.cpython-312.pyc
Binary file not shown.
Binary file removed gan/utils/__pycache__/bicubic.cpython-312.pyc
Binary file not shown.
Binary file removed gan/utils/__pycache__/data_utils.cpython-312.pyc
Binary file not shown.
Binary file removed gan/utils/__pycache__/image_utils.cpython-312.pyc
Binary file not shown.
Binary file removed gan/utils/__pycache__/kp_diff.cpython-312.pyc
Binary file not shown.
Binary file removed gan/utils/__pycache__/model_utils.cpython-312.pyc
Binary file not shown.
Binary file removed gan/utils/__pycache__/seg_utils.cpython-312.pyc
Binary file not shown.
Binary file removed gan/utils/__pycache__/slic_utils.cpython-312.pyc
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion node_modules/.bin/loose-envify

This file was deleted.

68 changes: 0 additions & 68 deletions node_modules/.package-lock.json

This file was deleted.

151 changes: 0 additions & 151 deletions node_modules/js-tokens/CHANGELOG.md

This file was deleted.

21 changes: 0 additions & 21 deletions node_modules/js-tokens/LICENSE

This file was deleted.

Loading

0 comments on commit 9daeddc

Please sign in to comment.