概述
yacs 是Ross Girshick 开发的一个工具。 在github上可以搜到 ,这个工具是在学习L1aoXingyu大佬的代码fcn.pytorch时看到的。
先去github下载到yacs-master的那个包,然后解压成文件夹
执行这个命令 python setup.py install 即可安装
(pytorch) E:>cdyacs-master
(pytorch) E:yacs-master>python setup.py install
running install
running bdist_egg
running egg_info
creating yacs.egg-info
writing yacs.egg-infoPKG-INFO
writing dependency_links to yacs.egg-infodependency_links.txt
writing requirements to yacs.egg-inforequires.txt
writing top-level names to yacs.egg-infotop_level.txt
writing manifest file 'yacs.egg-infoSOURCES.txt'
reading manifest file 'yacs.egg-infoSOURCES.txt'
writing manifest file 'yacs.egg-infoSOURCES.txt'
installing library code to buildbdist.win-amd64egg
running install_lib
running build_py
creating build
creating buildlib
creating buildlibyacs
copying yacsconfig.py -> buildlibyacs
copying yacstests.py -> buildlibyacs
copying yacs__init__.py -> buildlibyacs
creating buildbdist.win-amd64
creating buildbdist.win-amd64egg
creating buildbdist.win-amd64eggyacs
copying buildlibyacsconfig.py -> buildbdist.win-amd64eggyacs
copying buildlibyacstests.py -> buildbdist.win-amd64eggyacs
copying buildlibyacs__init__.py -> buildbdist.win-amd64eggyacs
byte-compiling buildbdist.win-amd64eggyacsconfig.py to config.cpython-36.pyc
byte-compiling buildbdist.win-amd64eggyacstests.py to tests.cpython-36.pyc
byte-compiling buildbdist.win-amd64eggyacs__init__.py to __init__.cpython-36.pyc
creating buildbdist.win-amd64eggEGG-INFO
copying yacs.egg-infoPKG-INFO -> buildbdist.win-amd64eggEGG-INFO
copying yacs.egg-infoSOURCES.txt -> buildbdist.win-amd64eggEGG-INFO
copying yacs.egg-infodependency_links.txt -> buildbdist.win-amd64eggEGG-INFO
copying yacs.egg-inforequires.txt -> buildbdist.win-amd64eggEGG-INFO
copying yacs.egg-infotop_level.txt -> buildbdist.win-amd64eggEGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'distyacs-0.1.6-py3.6.egg' and adding 'buildbdist.win-amd64egg' to it
removing 'buildbdist.win-amd64egg' (and everything under it)
Processing yacs-0.1.6-py3.6.egg
Copying yacs-0.1.6-py3.6.egg to d:anaconda3envspytorchlibsite-packages
Adding yacs 0.1.6 to easy-install.pth file
Installed d:anaconda3envspytorchlibsite-packagesyacs-0.1.6-py3.6.egg
Processing dependencies for yacs==0.1.6
Searching for PyYAML
Reading https://pypi.org/simple/PyYAML/
Downloading https://files.pythonhosted.org/packages/72/da/386634cb17f33b12278af017ccb3314cede4806af70285f396b8f6af1203/PyYAML-5.1-cp36-cp36m-win_amd64.whl#sha256=5a22a9c84653debfbf198d02fe592c176ea548cccce47553f35f466e15cf2fd4
Best match: PyYAML 5.1
Processing PyYAML-5.1-cp36-cp36m-win_amd64.whl
Installing PyYAML-5.1-cp36-cp36m-win_amd64.whl to d:anaconda3envspytorchlibsite-packages
Adding PyYAML 5.1 to easy-install.pth file
Installed d:anaconda3envspytorchlibsite-packagespyyaml-5.1-py3.6-win-amd64.egg
Finished processing dependencies for yacs==0.1.6
(pytorch) E:yacs-master>
最后
以上就是犹豫老师为你收集整理的yacs的安装的全部内容,希望文章能够帮你解决yacs的安装所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复