This repository has been archived by the owner on Jun 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
Getting started: local instance
Jakub edited this page Feb 24, 2018
·
4 revisions
- Python 3.5
- Neptune
clone this repo to your working directory
$ git clone https://github.com/neptune-ml/kaggle-toxic-starter.git
create virtualenv with python 3.5
$ virtualenv toxic_venv -p python3.5
activate newly created virtualenv
$ source toxic_venv/bin/activate
install TensorFlow and Keras.
- in case you have GPU
$ pip3 install tensorflow-gpu==1.1.0
$ pip3 install Keras==2.0.8
- in case you do not have GPU
$ pip3 install tensorflow==1.1.0
$ pip3 install Keras==2.0.8
install remaining requirements (note that neptune is included in the requirements)
$ pip3 install -r requirements.txt
Neptune setup
- register on the neptune site to receive $5 in GPU time.
- create neptune project
- go to the neptune site and log in
- create new project named
toxic
. To do it follow the linkProjects
(top bar, left side), then clickNew project
button. This action will generate project-keyTOX
, which is already listed in theneptune_config.yaml
.
log in to neptune via command line
$ neptune login
- define paths in the neptune.yaml file
data_dir: path/to/my/data/dir
- run train test splitting script
neptune run -- train_valid_split
At this point you are ready to go! :-)