Skip to main content

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

Please install python header files of your Python version. Those are needed to compile the pycocotools with Cython upon 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.3.0
    • added cython dependency and information about required python header files
  • 0.2.0
    • added python 3.8 classifier
  • 0.1.0
    • first release

Meta

Jim Martens – @2martens – github@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

Metadata

Release files for twomartens.masterthesis 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for twomartens.masterthesis 0.3.0
File Size Uploaded
twomartens.masterthesis-0.3.0.tar.gz 160.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for twomartens.masterthesis 0.3.0
File Interpreter ABI Platform
twomartens.masterthesis-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 356.1 kB

Release files / twomartens.masterthesis-0.3.0.tar.gz

Download URL twomartens.masterthesis-0.3.0.tar.gz
Size 160.1 kB
Tags Source
SHA-256 checksum
How to use checksums
47bf14d851de22fec92607e58d0b454bd3a9fec47dcf3341b00dc6e6ffe85826
BLAKE2b-256 checksum
How to use checksums
6382ce9c88da392cdd3706aa0be38605623dc2879ab991232a65d6fbdc787476
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / twomartens.masterthesis-0.3.0-py3-none-any.whl

Download URL twomartens.masterthesis-0.3.0-py3-none-any.whl
Size 196.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
afa0c508bf5dd7a22d698bbfd37f9d43626d9838f3f336877cf7f78d3d559a6a
BLAKE2b-256 checksum
How to use checksums
57fabcc094b901e0dc5a4e6ee0b586c4f3470fba8bf1dffb986fe4488980127d
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page