Giter Site home page Giter Site logo

idealo / imageatm Goto Github PK

View Code? Open in Web Editor NEW
215.0 215.0 49.0 13.49 MB

Image classification for everyone.

Home Page: https://idealo.github.io/imageatm/

License: Apache License 2.0

HCL 2.37% Shell 1.03% Python 93.82% Jupyter Notebook 2.78%
computer-vision deep-learning image-classification keras machine-learning neural-network tensorflow transfer-learning

imageatm's People

Contributors

clennan avatar datitran avatar gmaiwald avatar gosia-malgosia avatar gunarmaiwald avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

imageatm's Issues

setup.py fails, because dependencies

I get
error: PyYAML 5.2 is installed but PyYAML<=3.13,>=3.10 is required by {'awscli'}
and it seems a new version of awscli is to blame for that and indeed,
using

'awscli==1.11.18',

in setup.py works for me.

Evaluation report as jupyter notebook fails in cell 7

The following error appears when generating the evaluation report as jupyter notebook:

papermill.exceptions.PapermillExecutionError:
---------------------------------------------------------------------------
Exception encountered at "In [7]":
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-7-a62122680ff8> in <module>
----> 1 e._plot_classification_report(figsize=[max(5,e.n_classes*0.5), max(8,e.n_classes*0.8)])

AttributeError: 'Evaluation' object has no attribute '_plot_classification_report'

This is my config.yml:

evaluate:
  run: True
  report:
    create: True
    kernel_name: imageatm
    export_html: True
    export_pdf: False

Make image_dir and job_dir central configurations in config file.

  • currently image_dir and job_dir can be set in config file for each component
  • better to make them central configurations, i.e. put them on the same level as components in config file
  • should be more user friendly, as we avoid complicated overwriting of image_dir and job_dir based on which components run first etc.

old format:

data_prep:
  run: True
  samples_file: sample_configfile.json
  image_dir: sample_dataset/
  job_dir: sample_jobdir/
  resize: True

train:
  run: True
  cloud: False

evaluate:
  run: True

cloud:
  cloud_tag: image_atm_example_tag
  provider: aws
  tf_dir: cloud/aws
  region: eu-west-1
  vpc_id: vpc-example
  instance_type: p2.xlarge
  bucket: s3://example-bucket
  destroy: True

new format:

image_dir: sample_dataset/
job_dir: sample_jobdir/

data_prep:
  run: True
  samples_file: sample_configfile.json
  resize: True

train:
  run: True
  cloud: False

evaluate:
  run: True

cloud:
  cloud_tag: image_atm_example_tag
  provider: aws
  tf_dir: cloud/aws
  region: eu-west-1
  vpc_id: vpc-example
  instance_type: p2.xlarge
  bucket: s3://example-bucket
  destroy: True

Cloud fails when AWS VPC not set to default

If AWS VPC that is specified in config_file.yml under key vpc_id is not set to default VPC on AWS, the terraform apply process fails with the following error:

Error: Error applying plan:
1 error occurred:
	* module.ec2.aws_instance.image_atm: 1 error occurred:
	* aws_instance.image_atm: Error launching source instance: VPCIdNotSpecified: No default VPC for this user
	status code: 400, request id: xxx

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.