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
c6fa3b78
Commit
c6fa3b78
authored
Oct 24, 2022
by
Kentaro Wada
Browse files
Options
Downloads
Patches
Plain Diff
logger.warn -> logger.warning
parent
aeed5317
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
labelme/label_file.py
+2
-2
2 additions, 2 deletions
labelme/label_file.py
with
2 additions
and
2 deletions
labelme/label_file.py
+
2
−
2
View file @
c6fa3b78
...
@@ -89,13 +89,13 @@ class LabelFile(object):
...
@@ -89,13 +89,13 @@ class LabelFile(object):
data
=
json
.
load
(
f
)
data
=
json
.
load
(
f
)
version
=
data
.
get
(
"
version
"
)
version
=
data
.
get
(
"
version
"
)
if
version
is
None
:
if
version
is
None
:
logger
.
warn
(
logger
.
warn
ing
(
"
Loading JSON file ({}) of unknown version
"
.
format
(
"
Loading JSON file ({}) of unknown version
"
.
format
(
filename
filename
)
)
)
)
elif
version
.
split
(
"
.
"
)[
0
]
!=
__version__
.
split
(
"
.
"
)[
0
]:
elif
version
.
split
(
"
.
"
)[
0
]
!=
__version__
.
split
(
"
.
"
)[
0
]:
logger
.
warn
(
logger
.
warn
ing
(
"
This JSON file ({}) may be incompatible with
"
"
This JSON file ({}) may be incompatible with
"
"
current labelme. version in file: {},
"
"
current labelme. version in file: {},
"
"
current version: {}
"
.
format
(
"
current version: {}
"
.
format
(
...
...
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