forked from TangChangcheng/pytorch2caffe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (30 loc) · 954 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
# dependencies
INSTALL_REQUIRES = [
"torch>=1.0.0",
"torchvision>=0.4.0",
"numpy",
"lmdb",
"protobuf>=3.13.0"
]
setuptools.setup(
name="pytorch2caffe",
version="0.0.1",
license="MIT",
author="Niansong Zhang",
author_email="[email protected]",
description="Pytorch2Caffe is a tool to convert pytorch models to (BVLC) Caffe network files (prototxt) and parameter files (caffemodel).",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/zzzDavid/pytorch2caffe",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
install_requires=INSTALL_REQUIRES
)