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
ModelZoo
ControlNet_pytorch
Commits
0af7a7ad
Commit
0af7a7ad
authored
Sep 03, 2024
by
mashun1
Browse files
fix url
parent
4df8adc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
README.md
README.md
+6
-0
annotator/uniformer/__init__.py
annotator/uniformer/__init__.py
+1
-1
No files found.
README.md
View file @
0af7a7ad
...
...
@@ -52,6 +52,8 @@ zero convolution:初始权重为零的卷积层;
cd BasicSR
BASICSR_EXT=True python setup.py develop
pip uninstall mmcv
### Dockerfile(方法二)
# 需要在对应的目录下
...
...
@@ -62,6 +64,8 @@ zero convolution:初始权重为零的卷积层;
cd BasicSR
BASICSR_EXT=True python setup.py develop
pip uninstall mmcv
### Anaconda (方法三)
1、关于本项目DCU显卡所需的特殊深度学习库可从光合开发者社区下载安装:
https://developer.hpccube.com/tool/
...
...
@@ -77,6 +81,8 @@ Tips:以上dtk驱动、python、torch等DCU相关工具版本需要严格一
pip install -r requirements.txt
pip uninstall mmcv
3、其他
cd BasicSR
...
...
annotator/uniformer/__init__.py
View file @
0af7a7ad
...
...
@@ -9,7 +9,7 @@ from annotator.uniformer.mmseg.core.evaluation import get_palette
from
annotator.util
import
annotator_ckpts_path
checkpoint_file
=
"https://h
uggingface
.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/upernet_global_small.pth"
checkpoint_file
=
"https://h
f-mirror
.co
m
/lllyasviel/ControlNet/resolve/main/annotator/ckpts/upernet_global_small.pth"
class
UniformerDetector
:
...
...
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