Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
PhotoMaker
Commits
602b5b91
Commit
602b5b91
authored
Jul 29, 2024
by
chenpangpang
Browse files
feat: 修改下载模型PhotoMaker-V2
parent
42ea6dbf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+1
-1
hf_down.py
hf_down.py
+1
-1
No files found.
Dockerfile
View file @
602b5b91
...
...
@@ -6,7 +6,7 @@ RUN pip install -r requirements.txt && \
pip
install
onnxruntime-gpu
==
1.18.0
--extra-index-url
https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/
# PhotoMaker-base clone from https://github.com/TencentARC/PhotoMaker.git
RUN
pip
install
git+http://developer.hpccube.com/codes/chenpangpang/PhotoMaker-base.git
COPY
chenyh/photomaker/TencentARC/PhotoMaker /root/photomaker/PhotoMaker/TencentARC/PhotoMaker
COPY
chenyh/photomaker/TencentARC/PhotoMaker
-V2
/root/photomaker/PhotoMaker/TencentARC/PhotoMaker
-V2
COPY
chenyh/photomaker/SG161222/RealVisXL_V4.0 /root/photomaker/PhotoMaker/SG161222/RealVisXL_V4.0
#########
...
...
hf_down.py
View file @
602b5b91
...
...
@@ -6,7 +6,7 @@ import json
os
.
environ
[
'HF_ENDPOINT'
]
=
'https://hf-mirror.com'
model_list
=
[
"TencentARC/PhotoMaker"
,
"TencentARC/PhotoMaker
-V2
"
,
"SG161222/RealVisXL_V4.0"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment