Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
labelme
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jakambs
labelme
Commits
ed5f76a2
Commit
ed5f76a2
authored
Feb 26, 2022
by
Kentaro Wada
Browse files
Options
Downloads
Patches
Plain Diff
Delete man file as it is not so helpful: --help is fine
parent
4d4cd203
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.github/workflows/ci.yml
+0
-3
0 additions, 3 deletions
.github/workflows/ci.yml
docs/man/labelme.1
+0
-81
0 additions, 81 deletions
docs/man/labelme.1
setup.py
+0
-1
0 additions, 1 deletion
setup.py
tests/docs_tests/man_tests/test_labelme_1.py
+0
-43
0 additions, 43 deletions
tests/docs_tests/man_tests/test_labelme_1.py
with
0 additions
and
128 deletions
.github/workflows/ci.yml
+
0
−
3
View file @
ed5f76a2
...
...
@@ -53,9 +53,6 @@ jobs:
else
conda install -q -y pyqt=5
fi
if [ "${{ matrix.os }}" != "windows-latest" ]; then
conda install -q -y help2man
fi
pip install pytest 'pytest-qt<4'
-
name
:
Install main
...
...
This diff is collapsed.
Click to expand it.
docs/man/labelme.1
deleted
100644 → 0
+
0
−
81
View file @
4d4cd203
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
.TH LABELME "1" "November 2021" "labelme 4.6.0" "User Commands"
.SH NAME
labelme \- manual page for labelme 4.6.0
.SH DESCRIPTION
usage: labelme [\-h] [\-\-version] [\-\-reset\-config]
.IP
[\-\-logger\-level {debug,info,warning,fatal,error}]
[\-\-output OUTPUT] [\-\-config CONFIG] [\-\-nodata] [\-\-autosave]
[\-\-nosortlabels] [\-\-flags FLAGS] [\-\-labelflags LABEL_FLAGS]
[\-\-labels LABELS] [\-\-validatelabel {exact}] [\-\-keep\-prev]
[\-\-epsilon EPSILON]
[filename]
.SS "positional arguments:"
.TP
filename
image or label filename
.SS "optional arguments:"
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-\-version\fR, \fB\-V\fR
show version
.TP
\fB\-\-reset\-config\fR
reset qt config
.TP
\fB\-\-logger\-level\fR {debug,info,warning,fatal,error}
logger level
.TP
\fB\-\-output\fR OUTPUT, \fB\-O\fR OUTPUT, \fB\-o\fR OUTPUT
output file or directory (if it ends with .json it is
recognized as file, else as directory)
.TP
\fB\-\-config\fR CONFIG
config file or yaml\-format string (default:
/Users/wkentaro/.labelmerc)
.TP
\fB\-\-nodata\fR
stop storing image data to JSON file
.TP
\fB\-\-autosave\fR
auto save
.TP
\fB\-\-nosortlabels\fR
stop sorting labels
.TP
\fB\-\-flags\fR FLAGS
comma separated list of flags OR file containing flags
.TP
\fB\-\-labelflags\fR LABEL_FLAGS
yaml string of label specific flags OR file containing
json string of label specific flags (ex. {person\-\ed+:
[male, tall], dog\-\ed+: [black, brown, white], .*:
[occluded]})
.TP
\fB\-\-labels\fR LABELS
comma separated list of labels OR file containing
labels
.TP
\fB\-\-validatelabel\fR {exact}
label validation types
.TP
\fB\-\-keep\-prev\fR
keep annotation of previous frame
.TP
\fB\-\-epsilon\fR EPSILON
epsilon to find nearest vertex on canvas
.SH "SEE ALSO"
The full documentation for
.B labelme
is maintained as a Texinfo manual. If the
.B info
and
.B labelme
programs are properly installed at your site, the command
.IP
.B info labelme
.PP
should give you access to the complete manual.
This diff is collapsed.
Click to expand it.
setup.py
+
0
−
1
View file @
ed5f76a2
...
...
@@ -147,7 +147,6 @@ def main():
"
labelme_on_docker=labelme.cli.on_docker:main
"
,
],
},
data_files
=
[(
"
share/man/man1
"
,
[
"
docs/man/labelme.1
"
])],
)
...
...
This diff is collapsed.
Click to expand it.
tests/docs_tests/man_tests/test_labelme_1.py
deleted
100644 → 0
+
0
−
43
View file @
4d4cd203
#!/usr/bin/env python
from
__future__
import
print_function
import
os.path
as
osp
import
re
import
shlex
import
subprocess
import
sys
here
=
osp
.
dirname
(
osp
.
abspath
(
__file__
))
cmd
=
"
help2man labelme
"
man_expected
=
subprocess
.
check_output
(
shlex
.
split
(
cmd
)).
decode
().
splitlines
()
man_file
=
osp
.
realpath
(
osp
.
join
(
here
,
"
../../../docs/man/labelme.1
"
))
with
open
(
man_file
)
as
f
:
man_actual
=
f
.
read
().
splitlines
()
patterns_exclude
=
[
r
"
^\.TH .*
"
,
r
"
^.*/\.labelmerc\)$
"
,
r
"
^\.\\.*
"
,
]
PASS
=
1
for
line_expected
,
line_actual
in
zip
(
man_expected
,
man_actual
):
for
pattern
in
patterns_exclude
:
if
re
.
match
(
pattern
,
line_expected
)
or
re
.
match
(
pattern
,
line_actual
):
break
else
:
if
line_expected
!=
line_actual
:
print
(
repr
(
"
> {}
"
.
format
(
line_expected
)),
file
=
sys
.
stderr
)
print
(
repr
(
"
< {}
"
.
format
(
line_actual
)),
file
=
sys
.
stderr
)
PASS
=
0
if
not
PASS
:
print
(
"
Please run:
\n\n\t
help2man labelme > {}
\n
"
.
format
(
man_file
),
file
=
sys
.
stderr
,
)
assert
PASS
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment