pip install monoloco (#7)
* add box visualization * add box visualization and change thresholds for pif preprocessing * refactor printer * change default values * change confidence definition * remove redundant function * add debug plot in preprocessing * add task error in evaluation * add horizontal flipping * add evaluation table * add evaluation table with verbosity * add tabulate requirement and command line option verbose * refactor evaluate * add task error with mean absolute deviation * add stereo baseline * integrate stereo baseline * refactor factory preprocessing * add stereo command for evaluation * fix category bug * add interquartile range for stereo * use left tt for translation * refactor stereo functions * remvove redundant functions * change names of constants * add pixel error as function of depth * fix bug on output directory * add now time at the moment of saving * add person sitting category * remove box in pifpaf predictions * fix printing name * add printing of number of matches * add cyclist category * fix assertion error * add travis file * working eval * working eval * change source file * renaming * add pylint file * fix pylint * fix import * add pyc files in gitignore * pylint fix * pylint fix * add pytest cache * update readme * fix pylint * fix pylint * add travis file * add pylint in pip install * fix pylint * add eggs file in gitignore * update readme * add readme
This commit is contained in:
parent
8968f3c8a2
commit
8f02f79918
6
.gitignore
vendored
6
.gitignore
vendored
@ -3,4 +3,8 @@ data/
|
||||
.DS_store
|
||||
__pycache__
|
||||
Monoloco/*.pyc
|
||||
.pytest*
|
||||
.pytest*
|
||||
dist/
|
||||
build/
|
||||
*.egg-info
|
||||
|
||||
|
||||
16
README.md
16
README.md
@ -26,13 +26,23 @@ A video with qualitative results is available on [YouTube](https://www.youtube.c
|
||||
# Setup
|
||||
|
||||
### Install
|
||||
Python 3 is required. Python 2 is not supported.
|
||||
Do not clone this repository and make sure there is no folder named monoloco in your current directory.
|
||||
|
||||
`pip install monoloco`
|
||||
|
||||
Live demo is available, we recommend to try our **Webcam** functionality. More info in the webcam section.
|
||||
|
||||
|
||||
For development of the monoloco source code itself, you need to clone this repository and then:
|
||||
```
|
||||
pip install openpifpaf nuscenes-devkit tabulate
|
||||
```
|
||||
Python 3.6 or 3.7 is required for nuScenes development kit. Python 3 is required for openpifpaf.
|
||||
All details for Pifpaf pose detector at [openpifpaf](https://github.com/vita-epfl/openpifpaf).
|
||||
|
||||
|
||||
```
|
||||
pip install openpifpaf nuscenes-devkit tabulate
|
||||
```
|
||||
|
||||
### Data structure
|
||||
|
||||
Data
|
||||
|
||||
@ -0,0 +1,4 @@
|
||||
|
||||
"""Open implementation of MonoLoco."""
|
||||
|
||||
__version__ = '0.4.0'
|
||||
36
setup.py
Normal file
36
setup.py
Normal file
@ -0,0 +1,36 @@
|
||||
from setuptools import setup
|
||||
|
||||
# extract version from __init__.py
|
||||
with open('monoloco/__init__.py', 'r') as f:
|
||||
VERSION_LINE = [l for l in f if l.startswith('__version__')][0]
|
||||
VERSION = VERSION_LINE.split('=')[1].strip()[1:-1]
|
||||
|
||||
setup(
|
||||
name='monoloco',
|
||||
version=VERSION,
|
||||
packages=[
|
||||
'monoloco',
|
||||
'monoloco.train',
|
||||
'monoloco.predict',
|
||||
'monoloco.eval',
|
||||
'monoloco.prep',
|
||||
'monoloco.visuals',
|
||||
'monoloco.utils'
|
||||
],
|
||||
license='GNU AGPLv3',
|
||||
description='MonoLoco: Monocular 3D Pedestrian Localization and Uncertainty Estimation',
|
||||
long_description=open('README.md').read(),
|
||||
long_description_content_type='text/markdown',
|
||||
author='Lorenzo Bertoni',
|
||||
author_email='lorenzo.bertoni@epfl.ch',
|
||||
url='https://github.com/vita-epfl/monoloco',
|
||||
zip_safe=False,
|
||||
|
||||
install_requires=[
|
||||
'openpifpaf',
|
||||
'nuscenes-devkit', # for nuScenes dataset preprocessing
|
||||
'tabulate', # For evaluation
|
||||
'pylint',
|
||||
'pytest',
|
||||
],
|
||||
)
|
||||
Loading…
Reference in New Issue
Block a user