File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 4
4
5
5
This script is a simplified version of the training script in detectron2/tools.
6
6
"""
7
+ try :
8
+ # ignore ShapelyDeprecationWarning from fvcore
9
+ from shapely .errors import ShapelyDeprecationWarning
10
+ import warnings
11
+ warnings .filterwarnings ('ignore' , category = ShapelyDeprecationWarning )
12
+ except :
13
+ pass
14
+
7
15
import copy
8
16
import itertools
9
17
import logging
Original file line number Diff line number Diff line change 4
4
5
5
This script is a simplified version of the training script in detectron2/tools.
6
6
"""
7
+ try :
8
+ # ignore ShapelyDeprecationWarning from fvcore
9
+ from shapely .errors import ShapelyDeprecationWarning
10
+ import warnings
11
+ warnings .filterwarnings ('ignore' , category = ShapelyDeprecationWarning )
12
+ except :
13
+ pass
14
+
7
15
import copy
8
16
import itertools
9
17
import logging
You can’t perform that action at this time.
0 commit comments