Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.10 #355

Merged
merged 88 commits into from
Jul 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
4e2e24a
Rename 'openvino' plugin to 'openvino_plugin' (#205)
chuneuny-emily Apr 5, 2021
b14dfa0
Make remap labels more accurate, allow explicit label deletion, add d…
Apr 5, 2021
70a9005
Kate/handling multiple attributes and speed up detection split (#207)
jihyeonyi Apr 8, 2021
43070f4
Fix voc to coco example (#209)
Apr 8, 2021
7b42340
Fix export filename for LabelMe format (#200)
Apr 8, 2021
8b4a997
split unlabeled data into subsets for task-specific splitters (#211)
jihyeonyi Apr 9, 2021
989f990
Fix image ext on saving in cvat format (#214)
Apr 10, 2021
d549952
Label "face" for bounding boxes in Wider Face (#215)
yasakova-anastasia Apr 13, 2021
b3eaf4a
Adding "difficult", "truncated", "occluded" attributes when convertin…
yasakova-anastasia Apr 14, 2021
2f9614a
Ignore empty lines in YOLO annotations (#221)
Apr 20, 2021
4279bc8
Classification task in LFW dataset format (#222)
yasakova-anastasia Apr 20, 2021
00d167c
Add splitter for segmentation task (#223)
Apr 21, 2021
b9469d9
Support for CIFAR-10/100 format (#225)
yasakova-anastasia Apr 26, 2021
ec4b013
add validation item for instance segmentation (#227)
jihyeonyi Apr 29, 2021
4375cdb
Add panoptic and stuff COCO format (#210)
May 5, 2021
dbfadc0
update detection splitter algorithm from # of samples to # of instanc…
chuneuny-emily May 10, 2021
d8cb65d
add documentation for validator (#233)
jihyeonyi May 10, 2021
962ade0
add validation item description (#237)
jihyeonyi May 10, 2021
f28d622
Fix converter for Pascal VOC format (#239)
May 13, 2021
ef003ca
User documentation for Pascal VOC format (#228)
May 14, 2021
ca9f78e
Support for MNIST dataset format (#234)
yasakova-anastasia May 14, 2021
5412c84
make formats docs folder, create COCO format documentation (#241)
May 17, 2021
8c7bbc5
Fixes in CIFAR dataset format (#243)
yasakova-anastasia May 17, 2021
6782295
Add user documentation file and integration tests for YOLO format (#246)
May 20, 2021
58892de
Add Cityscapes format (#249)
May 25, 2021
bac10c7
Fix saving attribute in WiderFace extractor (#251)
yasakova-anastasia May 26, 2021
8fd0831
Fix spelling errors (#252)
May 26, 2021
d42ff14
Configurable Threshold CLI support (#250)
seungyoon-woo May 27, 2021
70e2647
CI. Move to GitHub actions. (#263)
dvkruchinin Jun 1, 2021
c5bf74b
Sending a coverage report if python3.6 (#264)
dvkruchinin Jun 1, 2021
817cda5
Rename workflows (#265)
Jun 1, 2021
187503d
Update repo config and badge (#266)
Jun 1, 2021
a77a2a4
Fix deprecation warnings (#270)
Jun 1, 2021
8140963
Update RISE docs (#255)
Jun 2, 2021
eb572d9
Pytest related changes (#248)
sstrehlk Jun 2, 2021
46d9516
Fix CI (#272)
Jun 2, 2021
e92da58
Fix help program name, add mark_bug (#275)
Jun 3, 2021
23a92b8
Fix labelmap parameter in CamVid (#262)
Jun 3, 2021
bf32c4d
Release 0.1.9 (dev) (#276)
Jun 3, 2021
723c500
Fix numpy conflict (#278)
Jun 3, 2021
bda41dd
Add changelog stub (#279)
Jun 3, 2021
90e5250
tests/requirements.py: remove the test_wrapper functions (#285)
Jun 8, 2021
839ca35
Subformat importers for VOC and COCO (#281)
Jun 9, 2021
54e21bf
Add image zip format (#273)
Jun 9, 2021
c536b07
Add KITTI detection and segmentation formats (#282)
Jun 9, 2021
2bc6be9
Fix loading file and image processing in CIFAR (#284)
yasakova-anastasia Jun 10, 2021
01e2551
CLI tests for convert command for VOC dataset (#286)
Jun 11, 2021
64b01b7
Convert most enum definitions from the functional style to the class …
Jun 11, 2021
b86a6eb
yolo format documentation update (#295)
sstrehlk Jun 11, 2021
11484ed
Fix merged dataset item filtering (#258)
Jun 15, 2021
e8e305b
Sms/pytest marking cityscapes and zip (#298)
sstrehlk Jun 18, 2021
5cd4abb
Introduce Validator plugin type (#299)
chuneuny-emily Jun 19, 2021
9eb5246
Fix validator definitions (#303)
Jun 19, 2021
7d7e075
Make TF availability check optional (#305)
Jun 20, 2021
935a502
Update pylint (#304)
Jun 20, 2021
9a2f3f2
Add lazy loading for builtin plugins (#306)
Jun 20, 2021
ed7706e
Update transforms handling in Dataset (#297)
Jun 20, 2021
28d2ed5
Readable COCO and datumaro format for CJK (#307)
jaesuny Jun 23, 2021
8a5cfd1
Force utf-8 everywhere (#309)
Jun 23, 2021
7e35c81
Fix in ImageNet_txt (#302)
yasakova-anastasia Jun 23, 2021
f53d423
Reduce duplication of dependency information (#308)
Jun 24, 2021
d2073b8
Add whitespace error checking to GitHub Actions (#311)
Jun 25, 2021
5209d42
Add initial support for the Open Images dataset (#291)
Jun 25, 2021
e8371e9
Fix tensorboardX dependency (#318)
Jun 29, 2021
121670c
Fixing remark-lint issues. Adding remark-linter check. (#321)
dvkruchinin Jul 1, 2021
9a85616
Add an upper bound on the Pillow dependency to work around a regressi…
Jul 2, 2021
d85d385
open_images_user_manual.md: fix image description file URLs
Jul 2, 2021
37b8cb0
Merge pull request #324 from IRDonch/oid-link-fix
yasakova-anastasia Jul 5, 2021
f955177
Fix COCO Panoptic (#319)
Jul 5, 2021
41d6829
Fix pylint issues. Added pylint checking. (#322)
dvkruchinin Jul 5, 2021
2c9d720
Open Images: add writing support (#315)
Jul 5, 2021
36012d4
Add python bandit checks. (#316)
dvkruchinin Jul 5, 2021
7e77ac1
Remove Pylint unused-import warning suppressions (#326)
Jul 5, 2021
0e174c4
Add a job to check import formatting using isort (#333)
Jul 7, 2021
e6f4b69
Reformat the enabled checker list in .pylintrc (#335)
Jul 7, 2021
d52e4c0
Merge all linting jobs into one workflow file (#331)
Jul 7, 2021
da1ecb3
Fix cuboids / 3d / M6 (#320)
Jul 8, 2021
369ef4a
Clean up .pylintrc (#340)
Jul 8, 2021
a858c58
Revert "Add an upper bound on the Pillow dependency to work around a …
Jul 8, 2021
91e30a4
Enable pylint checkers that find invalid escape sequences (#344)
Jul 9, 2021
9173798
Factor out the images.meta loading code from YoloExtractor (#343)
Jul 12, 2021
849ad7f
Support for CIFAR-100 (#301)
yasakova-anastasia Jul 13, 2021
f9a5a8b
Fix importing for VGG Face 2 (#345)
Jul 13, 2021
d6914f5
Dataset caching fixes (#351)
Jul 13, 2021
a7f9375
Cuboid 3D for Datumaro format (#349)
Jul 14, 2021
8980da8
Add e2e tests for cuboids (#353)
Jul 14, 2021
859806d
Release 0.1.10 (dev) (#354)
Jul 14, 2021
06e8911
Merge branch 'master' into develop
Jul 14, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ LICENSE text
*.gif binary
*.ttf binary
*.pdf binary

62 changes: 62 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Linter
on: pull_request
jobs:
Bandit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Run checks
run: |
pip install --user -r <(grep "^bandit" ./requirements.txt)
echo "Bandit version: "`bandit --version | head -1`
bandit -r ./
isort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Run checks
run: |
pip install --user -r <(grep "^isort" ./requirements.txt)
isort --check --diff .
Pylint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Run checks
run: |
pip install --user -r <(grep "^pylint" ./requirements.txt)
echo "Pylint version: "`pylint --version | head -1`
git ls-files -z '*.py' | xargs -0 pylint -r n
remark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12

- name: Run checks
run: |
npm ci
echo "remark version: "`npx remark --version`
npx remark --frail .
whitespace:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check whitespace
run: |
empty_tree="$(git hash-object -t tree --stdin < /dev/null)"
git diff --check "$empty_tree"
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ cover/
docs/_build/

#Pycharm config files
.idea/
.idea/
user_config.py
6 changes: 6 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[settings]
forced_separate = tests
from_first = True
include_trailing_comma = True
line_length = 80
multi_line_output = 5
160 changes: 114 additions & 46 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
[MASTER]

# Specify a configuration file.
#rcfile=

# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
#init-hook=
Expand Down Expand Up @@ -34,41 +31,13 @@ unsafe-load-any-extension=no
# run arbitrary code
extension-pkg-whitelist=

# Allow optimization of some AST trees. This will activate a peephole AST
# optimizer, which will apply various small optimizations. For instance, it can
# be used to obtain the result of joining multiple strings with the addition
# operator. Joining a lot of strings can lead to a maximum recursion error in
# Pylint and this flag can prevent that. It has one side effect, the resulting
# AST will be different than the one from reality. This option is deprecated
# and it will be removed in Pylint 2.0.
optimize-ast=no


[MESSAGES CONTROL]

# Only show warnings with the listed confidence levels. Leave empty to show
# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED
confidence=

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
# it should appear only once). See also the "--disable" option for examples.
disable=all
enable= E0001,E0100,E0101,E0102,E0103,E0104,E0105,E0106,E0107,E0110,
E0113,E0114,E0115,E0116,E0117,E0108,E0202,E0203,E0211,E0236,
E0238,E0239,E0240,E0241,E0301,E0302,E0601,E0603,E0604,E0701,
E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1102,E1111,E0112,
E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1132,E1200,E1201,
E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,
C0123,C0200,C0303,C1001,
W0101,W0102,W0104,W0105,W0106,W0107,W0108,W0109,W0110,W0120,
W0122,W0124,W0150,W0199,W0221,W0222,W0233,W0404,W0410,W0601,
W0602,W0604,W0611,W0612,W0622,W0623,W0702,W0705,W0711,W1300,
W1301,W1302,W1303,,W1305,W1306,W1307
R0102,R0202,R0203


# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
Expand All @@ -78,7 +47,116 @@ enable= E0001,E0100,E0101,E0102,E0103,E0104,E0105,E0106,E0107,E0110,
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
#disable=old-octal-literal,basestring-builtin,no-absolute-import,old-division,coerce-method,long-suffix,reload-builtin,unichr-builtin,indexing-exception,raising-string,dict-iter-method,metaclass-assignment,filter-builtin-not-iterating,import-star-module-level,next-method-called,cmp-method,raw_input-builtin,old-raise-syntax,cmp-builtin,apply-builtin,getslice-method,input-builtin,backtick,coerce-builtin,range-builtin-not-iterating,xrange-builtin,using-cmp-argument,buffer-builtin,hex-method,execfile-builtin,unpacking-in-except,standarderror-builtin,round-builtin,nonzero-method,unicode-builtin,reduce-builtin,file-builtin,dict-view-method,old-ne-operator,print-statement,suppressed-message,oct-method,useless-suppression,delslice-method,long-builtin,setslice-method,zip-builtin-not-iterating,map-builtin-not-iterating,intern-builtin,parameter-unpacking
disable=all

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
# it should appear only once). See also the "--disable" option for examples.
enable=
C0123, # unidiomatic-typecheck
C0200, # consider-using-enumerate
C0303, # trailing-whitespace

E0001, # syntax-error
E0100, # init-is-generator
E0101, # return-in-init
E0102, # function-redefined
E0103, # not-in-loop
E0104, # return-outside-function
E0105, # yield-outside-function
E0107, # nonexistent-operator
E0108, # duplicate-argument-name
E0110, # abstract-class-instantiated
E0112, # too-many-star-expressions
E0113, # invalid-star-assignment-target
E0114, # star-needs-assignment-target
E0115, # nonlocal-and-global
E0116, # continue-in-finally
E0117, # nonlocal-without-binding
E0202, # method-hidden
E0203, # access-member-before-definition
E0211, # no-method-argument
E0236, # invalid-slots-object
E0238, # invalid-slots
E0239, # inherit-non-class
E0240, # inconsistent-mro
E0241, # duplicate-bases
E0301, # non-iterator-returned
E0302, # unexpected-special-method-signature
E0601, # used-before-assignment
E0603, # undefined-all-variable
E0604, # invalid-all-object
E0701, # bad-except-order
E0702, # raising-bad-type
E0703, # bad-exception-context
E0704, # misplaced-bare-raise
E0710, # raising-non-exception
E0711, # notimplemented-raised
E0712, # catching-non-exception
E1003, # bad-super-call
E1102, # not-callable
E1111, # assignment-from-no-return
E1120, # no-value-for-parameter
E1121, # too-many-function-args
E1123, # unexpected-keyword-arg
E1124, # redundant-keyword-arg
E1125, # missing-kwoa
E1126, # invalid-sequence-index
E1127, # invalid-slice-index
E1132, # repeated-keyword
E1200, # logging-unsupported-format
E1201, # logging-format-truncated
E1205, # logging-too-many-args
E1206, # logging-too-few-args
E1300, # bad-format-character
E1301, # truncated-format-string
E1302, # mixed-format-string
E1303, # format-needs-mapping
E1304, # missing-format-string-key
E1305, # too-many-format-args
E1306, # too-few-format-args

R0202, # no-classmethod-decorator
R0203, # no-staticmethod-decorator
R1703, # simplifiable-if-statement

W0101, # unreachable
W0102, # dangerous-default-value
W0104, # pointless-statement
W0105, # pointless-string-statement
W0106, # expression-not-assigned
W0107, # unnecessary-pass
W0108, # unnecessary-lambda
W0109, # duplicate-key
W0120, # useless-else-on-loop
W0122, # exec-used
W0124, # confusing-with-statement
W0150, # lost-exception
W0199, # assert-on-tuple
W0221, # arguments-differ
W0222, # signature-differs
W0233, # non-parent-init-called
W0404, # reimported
W0410, # misplaced-future
W0601, # global-variable-undefined
W0602, # global-variable-not-assigned
W0604, # global-at-module-level
W0611, # unused-import
W0612, # unused-variable
W0622, # redefined-builtin
W0702, # bare-except
W0705, # duplicate-except
W0711, # binary-op-exception
W1300, # bad-format-string-key
W1301, # unused-format-string-key
W1302, # bad-format-string
W1303, # missing-format-argument-key
W1305, # format-combined-specification
W1306, # missing-format-attribute
W1307, # invalid-format-index
W1401, # anomalous-backslash-in-string
W1402, # anomalous-unicode-escape-in-string


[REPORTS]
Expand All @@ -88,12 +166,6 @@ enable= E0001,E0100,E0101,E0102,E0103,E0104,E0105,E0106,E0107,E0110,
# mypackage.mymodule.MyReporterClass.
output-format=text

# Put messages in a separate file for each module / package specified on the
# command line instead of printing them on stdout. Reports (if any) will be
# written in a file name "pylint_global.[txt|html]". This option is deprecated
# and it will be removed in Pylint 2.0.
files-output=no

# Tells whether to display a full report or only the messages
reports=yes

Expand All @@ -112,7 +184,9 @@ evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / stateme
[BASIC]

# Good variable names which should always be accepted, separated by a comma
good-names=i,j,k,ex,Run,_
good-names=i,j,k,ex,Run,_,x,y,w,h,d,c,id,it

allowed-redefined-builtins=id,format,dir

# Bad variable names which should always be refused, separated by a comma
bad-names=foo,bar,baz,toto,tutu,tata
Expand Down Expand Up @@ -215,12 +289,6 @@ ignore-long-lines=^\s*(# )?<?https?://\S+>?$
# else.
single-line-if-stmt=no

# List of optional constructs for which whitespace checking is disabled. `dict-
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
# `empty-line` allows space-only lines.
no-space-check=trailing-comma,dict-separator

# Maximum number of lines in a module
max-module-lines=1000

Expand Down Expand Up @@ -300,7 +368,7 @@ ignored-classes=optparse.Values,thread._local,_thread._local
# List of members which are set dynamically and missed by pylint inference
# system, and so shouldn't trigger E1101 when accessed. Python regular
# expressions are accepted.
generated-members=
generated-members=on_error

# List of decorators that produce context managers, such as
# contextlib.contextmanager. Add to this list to register other decorators that
Expand Down
18 changes: 18 additions & 0 deletions .remarkrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
exports.settings = { bullet: '*', paddedTable: false };

exports.plugins = [
'remark-frontmatter',
'remark-gfm',
'remark-preset-lint-recommended',
'remark-preset-lint-consistent',
['remark-lint-list-item-indent', 'space'],
['remark-lint-no-dead-urls', false], // Does not work because of github protection system
['remark-lint-maximum-line-length', 80],
['remark-lint-maximum-heading-length', 120],
['remark-lint-strong-marker', '*'],
['remark-lint-emphasis-marker', '_'],
['remark-lint-unordered-list-marker-style', '-'],
['remark-lint-ordered-list-marker-style', '.'],
['remark-lint-no-file-name-irregular-characters', false],
['remark-lint-list-item-spacing', false],
];
Loading