1 Star 14 Fork 11

fsquirt/AI换脸

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
update_deps.py 738 Bytes
一键复制 编辑 原始数据 按行查看 历史
qiucheng1 提交于 2019-09-06 16:22 . import
#!/usr/bin/env python3
""" Installs any required third party libs for faceswap.py
Checks for installed Conda / Pip packages and updates accordingly
"""
from setup import Environment, Install, Output
_LOGGER = None
def output(msg):
""" Output to print or logger """
if _LOGGER is not None:
_LOGGER.info(msg)
else:
Output().info(msg)
def main(logger=None):
""" Check for and update dependencies """
if logger is not None:
global _LOGGER # pylint:disable=global-statement
_LOGGER = logger
output("Updating dependencies...")
update = Environment(logger=logger, updater=True)
Install(update)
output("Dependencies updated")
if __name__ == "__main__":
main()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fsquirt/ai_face_change.git
[email protected]:fsquirt/ai_face_change.git
fsquirt
ai_face_change
AI换脸
master

搜索帮助