Skip to main content

Code of the master thesis

Project description

Master Thesis

Allows reproduction of results in my master thesis.

Downloads License Python versions

The package supports testing and evaluating SSD and Bayesian SSD. The results can be visualised.

Installation

pip install twomartens.masterthesis
pip install git+https://github.com/philferriere/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI

The second line is important as Git dependencies cannot be specified in the setup.py file.

Please refer to GPU support for instructions on installing the non-Python dependencies for tensorflow.

Type the following to create the configuration file and to see the options:

tm-masterthesis config list

Especially the paths have to be set to the correct values.

Usage example

tm-masterthesis --help

Lists all available commands. As most commands are nested, it is advisable to request the help at different nesting levels.

tm-masterthesis config {get,set,list}

Allows for the modification and retrieval of the configuration values.

tm-masterthesis test {ssd,bayesian_ssd} iteration train_iteration

Tests the selected network, using iteration as identifier for the test run and train_iteration as identifier for the training iteration. If the config parameter ssd_test_pretrained is True then the training iteration is not relevant.

tm-masterthesis evaluate {ssd,bayesian_ssd} iteration

Runs the evaluation process using the test results identified by iteration, evaluation results are saved under iteration under the evaluation path.

tm-masterthesis visualise_metrics {ssd,bayesian_ssd} iteration

Uses the evaluation results stored under iteration and visualises it. The score JSON and the figure images are stored under iteration in a visualise folder under the output path.

There are more commands but the rest can be very tightly linked to requirements in the master thesis and might therefore not be of interest generally.

Development setup

Clone the repository locally. Then execute the following commands inside the repository:

git submodule init
git submodule update
pip install -e .
pip install git+https://github.com/philferriere/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI

Release History

  • 0.1.0
    • first release

Meta

Jim Martens – @2martensgithub@2martens.de

Distributed under the Apache 2.0 license. See LICENSE for more information. The package contains the ssd_keras implementation of Pierluigi Ferrari.

https://github.com/2martens/

Contributing

  1. Fork it (https://github.com/2martens/masterthesis/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twomartens.masterthesis-0.2.0.tar.gz (159.8 kB view details)

Uploaded Source

Built Distribution

twomartens.masterthesis-0.2.0-py3-none-any.whl (195.9 kB view details)

Uploaded Python 3

File details

Details for the file twomartens.masterthesis-0.2.0.tar.gz.

File metadata

  • Download URL: twomartens.masterthesis-0.2.0.tar.gz
  • Upload date:
  • Size: 159.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0

File hashes

Hashes for twomartens.masterthesis-0.2.0.tar.gz
Algorithm Hash digest
SHA256 38143a3903da906dcfd7aa46780448283658734f23c9d42dbb48bff9211d3fd4
MD5 dcc3feb4c4e81ffd8672ad592e1b596c
BLAKE2b-256 22f34b1d34f4ad82c05ac1406d5e99540c74c32be91a3384605e1923546d0acb

See more details on using hashes here.

File details

Details for the file twomartens.masterthesis-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: twomartens.masterthesis-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 195.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0

File hashes

Hashes for twomartens.masterthesis-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73572116350c7e37f75f792cdc89bc5b25f86404c4bec16943af811a770d16ea
MD5 08ce46a9bf7ba91faf533badd12a24b3
BLAKE2b-256 5f8dd2f635f7689fee767d8337c104081f3bf816a7e506e238a96e4a1c538a6a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page