Git Product home page Git Product logo

pyfx's Introduction

PyFX

Inception-based feature extraction for image-based datasets. Written in Python3.

Instructions

As a standard Python script, PyFX can be run from terminal or invoked using system() within C++ (or equivalent modes of shell interaction).

Arguments / Invocation

Right now, only extract_single functions.
Use python pyfx.py path-to-file.extension

Usage notes

As of now, the script uses an 'unsafe' implementation, assuming correct input format for the target images and command line arguments. When using PyFX:

  • Do not put quotation marks around parameters.
  • Do not put '.' before the file extension parameter. Failure to follow these guidelines will result in program failure and (potentially) corrupted output. Moreover, suitability checks aren't yet performed prior to initializing the model, so the program will spend a fair amount of time walking through the image directory before throwing any errors.

Credit/Thanks

Thanks to @aleozlx (Alex Yang) for top-level model design (used in transfer learning exercise elsewhere).

pyfx's People

Stargazers

Pankesh Bamotra avatar Devin Ward avatar  avatar Alex Yang avatar

Watchers

James Cloos avatar

Forkers

95vidhi atemple

pyfx's Issues

String args are passed to functions (and the filesystem) in an unsafe way

No permissibility checks are performed (yet) on intake from sys.argv - argparse defaults help to reduce the impact of this, but what happens if someone passes a completely inappropriate parameter to a function handling I/O?

Ideally, error messages (beyond just a stacktrace) should be printed to limit headache.

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.