A package to download common deep learning and machine datasets, convert them in hdf5 format in order to be in your Keras graph with a queue runner
Project description
A package to download common deep learning and machine datasets, convert them in hdf5 format in order to be in your Keras graph with a queue runner
Issues
Feel free to submit issues and enhancement requests.
Copyright and Licensing
The project is released under the MIT License, which gives you the following rights in summary:
Permissions |
Limitations |
Conditions |
---|---|---|
Commercial use |
Liability |
License and copyright notice |
Modification |
Warranty |
|
Distribution |
||
Private use |
Contributing guidelines
Please have a look to the Contributing Guidelines first.
We follow the “fork-and-pull” Git workflow.
Fork the repo on GitHub
Clone the project to your own machine
Commit changes to your own branch
Push your work back up to your fork
Submit a Pull request so that we can review your changes
NOTE: Be sure to merge the latest from “upstream” before making a pull request!
Installation of the library
Installation for production
Available with the Python Package Index: https://pypi.python.org/pypi/keras-datasets/
pip install keras-datasets
If prefered, the library can be compiled with following commands:
## First clone the repository
git clone https://github.com/DEKHTIARJonathan/keras-datasets.git
cd keras-datasets
python setup.py install
Development Commands and Environment
Please run tests before commit to the repository or sending a Pull Request. If you add any new functionnality, be sure to implement the corresponding tests.
## First clone the repository and change the working directory
git clone https://github.com/DEKHTIARJonathan/keras-datasets.git
cd keras-datasets
########################################################
# =============== Create a virtualenv =============== #
########################################################
## Install virtualenv if necessary
pip install virtualenv
## Then create a virtualenv called venv inside
virtualenv venv
########################################################
# ============= Activate the virtualenv ============= #
########################################################
# Linux:
source venv/bin/activate
# Windows:
venv\Scripts\activate.bat
##########################################################
# ======== Install the development dependencies ======= #
##########################################################
## Only necessary if you want to contribute to the project
pip install -e .[dev]
########################################################
# =============== Running Unit Tests =============== #
########################################################
coverage run setup.py test
coverage report -m
coverage html
########################################################
# ================= Install Library ================= #
########################################################
python setup.py install
Where to add new dependencies in your contributions ?
Your contribution requires to install a new package in the dependencies. Be sure to only add a package if it is only necessary and no other existing package is required.
If so, please edit the file setup.py and edit the following settings:
# If your package is necessary to make the library work, please add the package here:
install_requires=[
'prod_package1==1.2.3',
'prod_package2==2.3.4',
'...'
],
# If your package is necessary for development / testing / upload to PyPI but not for the production version, please add the package here:
extras_require={
'dev': [
'dev_package1==1.2.3',
'dev_package2==2.3.4',
'...'
]
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for keras_datasets-0.1.1a1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a903dd70f79a482dc078f03d2384e4eec92ac00f61a584308c772b9d414051c5 |
|
MD5 | 22ae88d6511f4cb819df150a178271b8 |
|
BLAKE2b-256 | 9fd7a32e83be68cbcf03669359f22fabc363cd448e7bfc660436f10c5e0a594f |