Giter Club home page Giter Club logo

hunter2_fashion's Introduction

iMaterialist Challenge (Fashion) at FGVC5

This repository hosts our code for the iMaterialist Fashion Challenge.

Setup

Local

Install Python 3.6 or higher and all dependencies necessary in a virtual environment. Then install this project with the editable option:

$ pip install -e .

Download the Kaggle data files into the data directory, and run the following scripts (includes deletion of broken images):

$ python scripts/download_images.py ./data/train.json ./data/train
$ python scripts/download_images.py ./data/validation.json ./data/validation
$ python scripts/download_images.py ./data/test.json ./data/test
$ python scripts/delete_broken_images.py

$ python scripts/create_labels.py ./data/ ./data/

All scripts should be ran from the project root directory, e.g.:

$ python scripts/multilabel_nn.py

This is necessary to make the relative imports and path strings work properly.

Google Cloud Platform

Install Google Cloud SDK for your OS: https://cloud.google.com/sdk/docs/

Run the following command, replacing job_name with a nice name for your session and module-name pointing to the script you want to run (eg. scripts.inceptionv3):

$ gcloud --project mlip-team-hunter2 ml-engine jobs submit training job_name --stream-logs --runtime-version 1.4 --job-dir gs://hunter2-project/job --package-path scripts --module-name scripts.simple_xception --region europe-west1 --config ./config.yaml -- --save-filename test --gcp

hunter2_fashion's People

Contributors

alanrandrade avatar deniseklep avatar jzwamborn avatar kdercksen avatar stephandooper avatar svendh avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.