Commit 54569abd authored by lucas_miranda's avatar lucas_miranda
Browse files

Added pipenv as dependency manager

parent db249a87
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "deepof"
name = "pypi"
[packages]
joblib = "~=0.16.0"
......@@ -29,4 +29,4 @@ kerastuner-tensorboard-logger = "~=0.2.3"
pytest = "~=5.3.5"
[requires]
python_version = "3.7"
python_version = "3.8"
......@@ -17,7 +17,6 @@ Contains methods for generating training and test sets ready for model training.
from collections import defaultdict
from joblib import delayed, Parallel, parallel_backend
from typing import Dict, List, Tuple, Union
from pandas_profiling import ProfileReport
from multiprocessing import cpu_count
from sklearn import random_projection
from sklearn.decomposition import KernelPCA
......@@ -680,16 +679,9 @@ class coordinates:
return self._exp_conditions
def get_quality(self, report: bool = False):
def get_quality(self):
"""Retrieves a dictionary with the tagging quality per video, as reported by DLC"""
if report: # pragma: no cover
profile = ProfileReport(
self._quality[report],
title="Quality Report, {}".format(report),
html={"style": {"full_width": True}},
)
return profile
return self._quality
@property
......
......@@ -7,7 +7,6 @@ matplotlib~=3.1.3
networkx~=2.4
numpy~=1.18.1
opencv-python~=4.2.0.32
pandas-profiling~=2.5.0
pandas~=1.0.3
plotly~=4.5.0
pytest~=5.3.5
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment