Skip to content

Commit

Permalink
Pypi 1.0.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
NullConvergence committed Jun 26, 2018
1 parent 3e86c08 commit 64fca48
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 15 deletions.
15 changes: 15 additions & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# file GENERATED by distutils, do NOT edit
setup.py
dnnmodels/__init__.py
dnnmodels/conv2d.py
dnnmodels/flatten.py
dnnmodels/fully_connected.py
dnnmodels/get_model.py
dnnmodels/layer.py
dnnmodels/lrn.py
dnnmodels/max_pool.py
dnnmodels/mlp.py
dnnmodels/relu.py
dnnmodels/softmax.py
dnnmodels/train_graph.py
dnnmodels/utils.py
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The inspiration comes from [Cleverhans](https://github.com/tensorflow/cleverhans

## ``` pip ``` Installation:

``` pip install -e git+https://github.com/NullConvergence/dnn-models#egg=dnn-models ```
``` pip install pip install dnnmodels ```

## Manual Installation

Expand Down
13 changes: 2 additions & 11 deletions examples/mnist_train.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
# relative imports
# import sys
# import os
# PACKAGE_PARENT = '..'
# SCRIPT_DIR = os.path.dirname(os.path.realpath(
# os.path.join(os.getcwd(), os.path.expanduser(__file__))))
# sys.path.append(os.path.normpath(os.path.join(SCRIPT_DIR, PACKAGE_PARENT)))


import tensorflow as tf
from cleverhans.utils_mnist import data_mnist
from dnn_models.get_model import basic_cnn
from dnn_models.train_graph import Trainer
from dnnmodels.get_model import basic_cnn
from dnnmodels.train_graph import Trainer

# create session
sess = tf.Session()
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
from setuptools import setup
from setuptools import find_packages
from distutils.core import setup

with open("README.md", "r") as fh:
long_description = fh.read()

setup(name='dnnmodels',
version='1.0.0',
url='https://github.com/NullConvergence/dnnmodels',
download_url='https://github.com/NullConvergence/dnnmodels/archive/1.0.0.tar.gz',
license='MIT',
author='NullConvergence',
author_email='nullconvergence@anonymous.ne',
description="Simple models inspired by Cleverhans that help create DNN Architectures",
install_requires=[
'cleverhans',
'tensorflow'
],
packages=find_packages())
packages=['dnnmodels'])

0 comments on commit 64fca48

Please sign in to comment.