-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【OCR Issue No.9】以可选形式支持Visualdl #11947
Conversation
Thanks for your contribution! |
ppocr/utils/loggers/vdl_logger.py
Outdated
except ImportError: | ||
raise ImportError( | ||
"Please install visualdl via `pip install visualdl` or " | ||
"`pip install paddleocr[visualdl]`." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里是不是不要比较好
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
emmm?汪师傅是觉得不要visualdl比较好吗?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不要 pip install paddleocr[visualdl]
setup.py
Outdated
@@ -49,6 +49,9 @@ def readme(): | |||
entry_points={"console_scripts": ["paddleocr= paddleocr.paddleocr:main"]}, | |||
version=VERSION, | |||
install_requires=load_requirements(['requirements.txt', 'ppstructure/recovery/requirements.txt']), | |||
extra_requires={ | |||
'visualdl': ['visualdl'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上
这个ci又因为clone不下来挂了,我们得想办法把ci迁到github action上。 |
这个ci的脚本好像不在仓库里 |
这个 CI,是在 GPU 环境里直接跑模型; 我觉得其实没有太大的必要,能有完整的单测,在 CPU 上跑,应该就足够了。但是,看起来, 好像并没什么单测。。。 这个仓库的设计,以后或许可以多借鉴一下 pytorch/vision 。 |
@GreatV @Liyulingyue 其实我觉得我们应该做的彻底一些:完全去掉 visualdl。
benchmark 路径下,对 visualdl 的使用,我还不太清楚其必要性,但觉得也可以先移除。 |
这个CI和脚本感觉对不上 |
@JiaXiao243 能在这里解释一下现在的 CI 的情况吗? |
# Conflicts: # ppocr/utils/loggers/vdl_logger.py # tools/program.py
benchmark/PaddleOCR_DBNet 这个目录我还不知道是干啥的,不过,我先合入吧。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
#11906 task9
#11924