Keras retinanet GitHub Project installation

Source: Internet
Author: User
Tags keras

In the repository directory /keras-retinanet/ , execute thepip install . --user 后,出现错误:

D:\>CD D:\jupyterworkspace\keras-retinanetd:\jupyterworkspace\keras-retinanet>pip Install. --userlooking in Indexes:https://pypi.tuna.tsinghua.edu.cn/simpleprocessing d:\jupyterworkspace\ Keras-retinanetrequirement already Satisfied:keras in C:\programdata\anaconda3\lib\site-packages (from keras-retinanet==0.4.1) (2.2.0) collecting keras-resnet (from keras-retinanet==0.4.1) downloading https:// pypi.tuna.tsinghua.edu.cn/packages/05/46/ad0b2d1a05d9497bd80c98a2c3f4d8be38a4601ace69af72814f5fafd851/ Keras-resnet-0.1.0.tar.gzrequirement already satisfied:six in C:\programdata\anaconda3\lib\site-packages (from keras-retinanet==0.4.1) (1.11.0) requirement already satisfied:scipy in C:\programdata\anaconda3\lib\site-packages ( From keras-retinanet==0.4.1) (1.0.0) requirement already satisfied:cython in c:\programdata\anaconda3\lib\ Site-packages (from keras-retinanet==0.4.1) (0.28.4) requirement already satisfied:keras-preprocessing==1.0.1 in C \ Programdata\anaconda3\lib\site-packages (FROm keras->keras-retinanet==0.4.1) (1.0.1) requirement already satisfied:keras-applications==1.0.2 in C \ Programdata\anaconda3\lib\site-packages (from keras->keras-retinanet==0.4.1) (1.0.2) requirement already satisfied:numpy>=1.9.1 in C:\programdata\anaconda3\lib\site-packages (from keras->keras-retinanet==0.4.1) ( 1.14.0) requirement already satisfied:pyyaml in C:\programdata\anaconda3\lib\site-packages (from keras-> keras-retinanet==0.4.1) (3.12) requirement already satisfied:h5py in C:\programdata\anaconda3\lib\site-packages (from keras->keras-retinanet==0.4.1) (2.7.1) Building wheels for collected packages:keras-retinanet, Keras-resnet Running  setup.py Bdist_wheel for keras-retinanet ... error complete output from command C:\programdata\anaconda3\python.exe-u-C "Import Setuptools, tokenize;__file__= ' c:\\users\\admini~1\\appdata\\local\\temp\\pip-req-build-ecoryr2p\\ setup.py '; f=getattr (tokenize, ' open ', open) (__file__); Code=f.read (). replace (' \ r \ n ', ' \ n '); F.close (); EXEC (compile (code, __file__, ' exec ')) "bdist_wheel-d C:\users\admini~1\appdata\local\temp\pip-wheel-ica_gqsh--  Python-tag cp36:running Bdist_wheel Running build running build_py creating build creating build\lib.win-amd64-3.6 Creating build\lib.win-amd64-3.6\keras_retinanet copying keras_retinanet\initializers.py build\  Lib.win-amd64-3.6\keras_retinanet copying keras_retinanet\losses.py, build\lib.win-amd64-3.6\keras_retinanet Copying keras_retinanet\__init__.py, build\lib.win-amd64-3.6\keras_retinanet creating build\lib.win-amd64-3.6\ Tests copying tests\test_losses.py, build\lib.win-amd64-3.6\tests copying tests\__init__.py build\ Lib.win-amd64-3.6\tests Creating Build\lib.win-amd64-3.6\keras_retinanet\backend copying keras_retinanet\backend\ cntk_backend.py, build\lib.win-amd64-3.6\keras_retinanet\backend copying keras_retinanet\backend\common.py- > build\lib.win-amd64-3.6\keras_retinanet\backend Copying Keras_retinanet\backend\dynamic.py, build\lib.win-amd64-3.6\keras_retinanet\backend copying keras_retinanet\backend\tensorflow_backend.py Build\lib.win-amd64-3.6\keras_retinanet\backend copying keras_retinanet\backend\theano_backend.py, build \lib.win-amd64-3.6\keras_retinanet\backend copying keras_retinanet\backend\__init__.py, build\ Lib.win-amd64-3.6\keras_retinanet\backend Creating Build\lib.win-amd64-3.6\keras_retinanet\bin copying Keras_ retinanet\bin\convert_model.py, Build\lib.win-amd64-3.6\keras_retinanet\bin copying keras_retinanet\bin\ debug.py, Build\lib.win-amd64-3.6\keras_retinanet\bin copying keras_retinanet\bin\evaluate.py, build\ Lib.win-amd64-3.6\keras_retinanet\bin copying keras_retinanet\bin\train.py, Build\lib.win-amd64-3.6\keras_ Retinanet\bin copying keras_retinanet\bin\__init__.py, build\lib.win-amd64-3.6\keras_retinanet\bin creating Build\lib.win-amd64-3.6\keras_retinanet\callbacks copying keras_retinanet\callbacks\coco.py, Build\lib. win-amd64-3.6\keras_retinanet\callbacks Copying keras_retinanet\callbacks\common.py-build\lib.win-amd64-3.6 \keras_retinanet\callbacks copying keras_retinanet\callbacks\eval.py, build\lib.win-amd64-3.6\keras_retinanet  \callbacks copying keras_retinanet\callbacks\__init__.py, build\lib.win-amd64-3.6\keras_retinanet\callbacks Creating build\lib.win-amd64-3.6\keras_retinanet\layers copying keras_retinanet\layers\filter_detections.py Build\lib.win-amd64-3.6\keras_retinanet\layers copying keras_retinanet\layers\_misc.py, build\ Lib.win-amd64-3.6\keras_retinanet\layers copying keras_retinanet\layers\__init__.py, build\lib.win-amd64-3.6\ Keras_retinanet\layers Creating Build\lib.win-amd64-3.6\keras_retinanet\models copying Keras_retinanet\models\ densenet.py, build\lib.win-amd64-3.6\keras_retinanet\models copying keras_retinanet\models\mobilenet.py, Build\lib.win-amd64-3.6\keras_retinanet\models Copying keras_retinanet\models\resnet.py-buIld\lib.win-amd64-3.6\keras_retinanet\models copying keras_retinanet\models\retinanet.py, build\ Lib.win-amd64-3.6\keras_retinanet\models copying keras_retinanet\models\vgg.py, Build\lib.win-amd64-3.6\keras  _retinanet\models copying keras_retinanet\models\__init__.py, Build\lib.win-amd64-3.6\keras_retinanet\models Creating build\lib.win-amd64-3.6\keras_retinanet\preprocessing copying keras_retinanet\preprocessing\coco.py build\lib.win-amd64-3.6\keras_retinanet\preprocessing Copying keras_retinanet\preprocessing\csv_generator.py- > build\lib.win-amd64-3.6\keras_retinanet\preprocessing Copying keras_retinanet\preprocessing\generator.py- > build\lib.win-amd64-3.6\keras_retinanet\preprocessing Copying keras_retinanet\preprocessing\kitti.py Build\lib.win-amd64-3.6\keras_retinanet\preprocessing copying keras_retinanet\preprocessing\open_images.py Build\lib.win-amd64-3.6\keras_retinanet\preprocessing copying Keras_retinanet\preprocessing\pascal_voc.py, build\lib.win-amd64-3.6\keras_retinanet\preprocessing copying keras_retinanet\preprocessing\__init__. PY-Build\lib.win-amd64-3.6\keras_retinanet\preprocessing Creating build\lib.win-amd64-3.6\keras_retinanet\ Utils copying keras_retinanet\utils\anchors.py, build\lib.win-amd64-3.6\keras_retinanet\utils copying Keras_ retinanet\utils\coco_eval.py, build\lib.win-amd64-3.6\keras_retinanet\utils copying keras_retinanet\utils\ colors.py, build\lib.win-amd64-3.6\keras_retinanet\utils copying keras_retinanet\utils\eval.py, build\ Lib.win-amd64-3.6\keras_retinanet\utils copying keras_retinanet\utils\image.py, Build\lib.win-amd64-3.6\keras _retinanet\utils copying keras_retinanet\utils\keras_version.py, build\lib.win-amd64-3.6\keras_retinanet\ Utils copying keras_retinanet\utils\model.py, build\lib.win-amd64-3.6\keras_retinanet\utils copying Keras_ retinanet\utils\transform.py, build\lib.win-amd64-3.6\keras_retinanet\utils copying Keras_retinanet\utils\visualization.py, build\lib.win-amd64-3.6\keras_retinanet\utils copying keras_retinanet\ utils\__init__.py, build\lib.win-amd64-3.6\keras_retinanet\utils creating build\lib.win-amd64-3.6\tests\ Backend copying tests\backend\test_common.py, build\lib.win-amd64-3.6\tests\backend copying tests\backend\__ init__.py, build\lib.win-amd64-3.6\tests\backend creating build\lib.win-amd64-3.6\tests\layers copying Tests\ layers\test_filter_detections.py, build\lib.win-amd64-3.6\tests\layers copying tests\layers\test_misc.py,  Build\lib.win-amd64-3.6\tests\layers copying tests\layers\__init__.py, build\lib.win-amd64-3.6\tests\layers Creating Build\lib.win-amd64-3.6\tests\models copying tests\models\test_densenet.py build\lib.win-amd64-3.6\ Tests\models copying tests\models\test_mobilenet.py, build\lib.win-amd64-3.6\tests\models copying tests\models\ __init__.py, build\lib.win-amd64-3.6\tests\models creating BUILD\LIB.WIN-AMD64-3.6\tests\preprocessing copying tests\preprocessing\test_csv_generator.py, build\lib.win-amd64-3.6\tests\  Preprocessing copying tests\preprocessing\test_generator.py, build\lib.win-amd64-3.6\tests\preprocessing Copying tests\preprocessing\__init__.py, build\lib.win-amd64-3.6\tests\preprocessing creating build\  Lib.win-amd64-3.6\tests\utils copying tests\utils\test_transform.py, build\lib.win-amd64-3.6\tests\utils Copying tests\utils\__init__.py, build\lib.win-amd64-3.6\tests\utils running Build_ext cythoning keras_retinanet /utils/compute_overlap.pyx to keras_retinanet/utils\compute_overlap.c Building ' Keras_retinanet.utils.compute_ Overlap ' extension error:microsoft Visual C + + 14.0 is required. Get it with "Microsoft Visual C + + Build Tools": Http://landinghub.visualstudio.com/visual-cpp-build-tools------------- ---------------------------Failed Building Wheel for keras-retinanet Running setup.py clean for keras-retinanet Runnin G setup.py Bdist_wHeel for keras-resnet ... do Stored in directory:c:\users\administrator\appdata\local\pip\cache\wheels\7f\48\1e\ B0b8fdd329b2546bfe9d407d7496327bdd668d7fa0a041f809successfully built keras-resnetfailed to build Keras-retinanetinstalling collected Packages:keras-resnet, keras-retinanet Running setup.py Install for Keras-retinanet error complete output from command C:\programdata\anaconda3\python.exe-u-C "Import Setuptools, to kenize;__file__= ' c:\\users\\admini~1\\appdata\\local\\temp\\pip-req-build-ecoryr2p\\setup.py '; F=getattr ( Tokenize, ' open ', open) (__file__), Code=f.read (). replace (' \ r \ n ', ' \ n '); F.close (); Exec (compile (code, __file__, ' exec ') )) "Install--record c:\users\admini~1\appdata\local\temp\pip-record-7tdlp8uk\install-record.txt-- Single-version-externally-managed--compile--user--prefix=: Running install running build running Build_py C reating build creating build\lib.win-amd64-3.6 creating Build\lib.win-amd64-3.6\keras_retinanet copying Keras_retinanet\initializers.py, build\lib.win-amd64-3.6\keras_retinanet copying keras_retinanet\losses.py, Build\lib.win-amd64-3.6\keras_retinanet copying keras_retinanet\__init__.py, Build\lib.win-amd64-3.6\keras_    Retinanet creating build\lib.win-amd64-3.6\tests copying tests\test_losses.py-build\lib.win-amd64-3.6\tests Copying tests\__init__.py, build\lib.win-amd64-3.6\tests creating build\lib.win-amd64-3.6\keras_retinanet\ Backend copying keras_retinanet\backend\cntk_backend.py, Build\lib.win-amd64-3.6\keras_retinanet\backend copyi ng keras_retinanet\backend\common.py-Build\lib.win-amd64-3.6\keras_retinanet\backend copying keras_retinanet\ backend\dynamic.py, build\lib.win-amd64-3.6\keras_retinanet\backend copying keras_retinanet\backend\ tensorflow_backend.py, build\lib.win-amd64-3.6\keras_retinanet\backend copying Keras_retinanet\backend\theano    _backend.py-Build\lib.win-amd64-3.6\keras_retinanet\backendCopying keras_retinanet\backend\__init__.py, build\lib.win-amd64-3.6\keras_retinanet\backend creating build\ Lib.win-amd64-3.6\keras_retinanet\bin copying keras_retinanet\bin\convert_model.py, build\lib.win-amd64-3.6\ Keras_retinanet\bin copying keras_retinanet\bin\debug.py, build\lib.win-amd64-3.6\keras_retinanet\bin copying K eras_retinanet\bin\evaluate.py, Build\lib.win-amd64-3.6\keras_retinanet\bin copying keras_retinanet\bin\ train.py, Build\lib.win-amd64-3.6\keras_retinanet\bin copying keras_retinanet\bin\__init__.py, build\ Lib.win-amd64-3.6\keras_retinanet\bin Creating build\lib.win-amd64-3.6\keras_retinanet\callbacks copying Keras_ retinanet\callbacks\coco.py, build\lib.win-amd64-3.6\keras_retinanet\callbacks copying keras_retinanet\ callbacks\common.py, build\lib.win-amd64-3.6\keras_retinanet\callbacks copying keras_retinanet\callbacks\ eval.py, build\lib.win-amd64-3.6\keras_retinanet\callbacks copying Keras_retinanet\callbacks\__init__.py, build\lib.win-amd64-3.6\keras_retinanet\callbacks creating build\ Lib.win-amd64-3.6\keras_retinanet\layers copying keras_retinanet\layers\filter_detections.py, build\ Lib.win-amd64-3.6\keras_retinanet\layers copying keras_retinanet\layers\_misc.py, build\lib.win-amd64-3.6\ Keras_retinanet\layers copying keras_retinanet\layers\__init__.py, build\lib.win-amd64-3.6\keras_retinanet\ Layers creating Build\lib.win-amd64-3.6\keras_retinanet\models copying keras_retinanet\models\densenet.py-Buil D\lib.win-amd64-3.6\keras_retinanet\models copying keras_retinanet\models\mobilenet.py, build\ Lib.win-amd64-3.6\keras_retinanet\models copying keras_retinanet\models\resnet.py, build\lib.win-amd64-3.6\ Keras_retinanet\models copying keras_retinanet\models\retinanet.py, build\lib.win-amd64-3.6\keras_retinanet\ Models copying keras_retinanet\models\vgg.py, Build\lib.win-amd64-3.6\keras_retinanet\models    Copying keras_retinanet\models\__init__.py, build\lib.win-amd64-3.6\keras_retinanet\models creating Build\lib. win-amd64-3.6\keras_retinanet\preprocessing copying keras_retinanet\preprocessing\coco.py, build\ Lib.win-amd64-3.6\keras_retinanet\preprocessing Copying keras_retinanet\preprocessing\csv_generator.py-Build \lib.win-amd64-3.6\keras_retinanet\preprocessing copying keras_retinanet\preprocessing\generator.py, build\ lib.win-amd64-3.6\keras_retinanet\preprocessing copying keras_retinanet\preprocessing\kitti.py, build\ lib.win-amd64-3.6\keras_retinanet\preprocessing copying keras_retinanet\preprocessing\open_images.py, build\ lib.win-amd64-3.6\keras_retinanet\preprocessing copying keras_retinanet\preprocessing\pascal_voc.py, build\ lib.win-amd64-3.6\keras_retinanet\preprocessing copying keras_retinanet\preprocessing\__init__.py, build\ Lib.win-amd64-3.6\keras_retinanet\preprocessing Creating Build\lib.win-amd64-3.6\kerAs_retinanet\utils copying keras_retinanet\utils\anchors.py, build\lib.win-amd64-3.6\keras_retinanet\utils cop Ying keras_retinanet\utils\coco_eval.py, build\lib.win-amd64-3.6\keras_retinanet\utils copying keras_retinanet \utils\colors.py, build\lib.win-amd64-3.6\keras_retinanet\utils copying keras_retinanet\utils\eval.py, Build\lib.win-amd64-3.6\keras_retinanet\utils copying keras_retinanet\utils\image.py, build\lib.win-amd64-3.6 \keras_retinanet\utils copying keras_retinanet\utils\keras_version.py, Build\lib.win-amd64-3.6\keras_ Retinanet\utils copying keras_retinanet\utils\model.py, build\lib.win-amd64-3.6\keras_retinanet\utils copying K eras_retinanet\utils\transform.py, build\lib.win-amd64-3.6\keras_retinanet\utils copying keras_retinanet\ utils\visualization.py, build\lib.win-amd64-3.6\keras_retinanet\utils copying keras_retinanet\utils\__init__. PY-Build\lib.win-amd64-3.6\keras_retinanet\utils creatingBuild\lib.win-amd64-3.6\tests\backend copying tests\backend\test_common.py, build\lib.win-amd64-3.6\tests\ Backend copying tests\backend\__init__.py, build\lib.win-amd64-3.6\tests\backend creating build\lib.win-amd64-3 .6\tests\layers copying tests\layers\test_filter_detections.py, build\lib.win-amd64-3.6\tests\layers copying Te sts\layers\test_misc.py, build\lib.win-amd64-3.6\tests\layers copying tests\layers\__init__.py, build\ Lib.win-amd64-3.6\tests\layers Creating Build\lib.win-amd64-3.6\tests\models copying tests\models\test_densenet.py Build\lib.win-amd64-3.6\tests\models copying tests\models\test_mobilenet.py, build\lib.win-amd64-3.6\ Tests\models copying tests\models\__init__.py, build\lib.win-amd64-3.6\tests\models creating BUILD\LIB.WIN-AMD6 4-3.6\tests\preprocessing copying tests\preprocessing\test_csv_generator.py, build\lib.win-amd64-3.6\tests\ Preprocessing copying Tests\preprocessing\test_generator.py, build\lib.win-amd64-3.6\tests\preprocessing copying tests\preprocessing\__init__.py, build\ Lib.win-amd64-3.6\tests\preprocessing Creating build\lib.win-amd64-3.6\tests\utils copying Tests\utils\test_ transform.py, build\lib.win-amd64-3.6\tests\utils copying tests\utils\__init__.py, build\lib.win-amd64-3.6 \tests\utils running Build_ext skipping ' keras_retinanet/utils\compute_overlap.c ' cython extension (up-to-date) b Uilding ' keras_retinanet.utils.compute_overlap ' extension error:microsoft Visual C + + 14.0 is required. Get it with "Microsoft Visual C + + Build Tools": Http://landinghub.visualstudio.com/visual-cpp-build-tools------------- ---------------------------Command "C:\programdata\anaconda3\python.exe-u-C" Import Setuptools, tokenize;__file__= ' c:\\users\\admini~1\\appdata\\local\\temp\\pip-req-build-ecoryr2p\\setup.py '; f=getattr (tokenize, ' open ', open) ( __FILE__); Code=f.read (). replace (' \ r \ n ', ' \ n '); F.close (); Exec (compile (code, __file__, ' exec ')) "Install--record c:\users\admini~1\appdata\local\temp\pip-record-7tdlp8uk\install-record.txt-- single-version-externally-managed--compile--user--prefix= "failed with error code 1 in c:\users\admini~1\appdata\ local\temp\pip-req-build-ecoryr2p

Microsoft Visual C + + 14.0 is an issue that can be installed in Microsoft Visual C + + 14.0 To resolve, click this link to download, download after installation, and successfully install Keras retinanet GitHub project.

Keras retinanet GitHub Project installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.