File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 19
19
DEMO_KEYS ,
20
20
TYPE_CLASSICATION ,
21
21
TYPE_INSTANCE_SEGMENTATION ,
22
+ TYPE_KEYPOINT_DETECTION ,
22
23
TYPE_OBJECT_DETECTION ,
23
24
TYPE_SEMANTIC_SEGMENTATION ,
24
- TYPE_KEYPOINT_DETECTION ,
25
25
UNIVERSE_URL ,
26
26
)
27
27
from roboflow .core .dataset import Dataset
28
28
from roboflow .models .classification import ClassificationModel
29
29
from roboflow .models .instance_segmentation import InstanceSegmentationModel
30
+ from roboflow .models .keypoint_detection import KeypointDetectionModel
30
31
from roboflow .models .object_detection import ObjectDetectionModel
31
32
from roboflow .models .semantic_segmentation import SemanticSegmentationModel
32
- from roboflow .models .keypoint_detection import KeypointDetectionModel
33
33
from roboflow .util .annotations import amend_data_yaml
34
34
from roboflow .util .general import write_line
35
35
from roboflow .util .versions import get_wrong_dependencies_versions , print_warn_for_wrong_dependencies_versions
Original file line number Diff line number Diff line change 8
8
from PIL import Image
9
9
10
10
from roboflow .config import CLASSIFICATION_MODEL
11
+ from roboflow .models .inference import InferenceModel
11
12
from roboflow .util .image_utils import check_image_url
12
13
from roboflow .util .prediction import PredictionGroup
13
- from roboflow .models .inference import InferenceModel
14
14
15
15
16
16
class ClassificationModel (InferenceModel ):
Original file line number Diff line number Diff line change 8
8
from PIL import Image
9
9
10
10
from roboflow .config import CLASSIFICATION_MODEL
11
+ from roboflow .models .inference import InferenceModel
11
12
from roboflow .util .image_utils import check_image_url
12
13
from roboflow .util .prediction import PredictionGroup
13
- from roboflow .models .inference import InferenceModel
14
14
15
15
16
16
class KeypointDetectionModel (InferenceModel ):
Original file line number Diff line number Diff line change 9
9
from roboflow .config import APP_URL , get_conditional_configuration_variable , load_roboflow_api_key
10
10
from roboflow .models .classification import ClassificationModel
11
11
from roboflow .models .instance_segmentation import InstanceSegmentationModel
12
+ from roboflow .models .keypoint_detection import KeypointDetectionModel
12
13
from roboflow .models .object_detection import ObjectDetectionModel
13
14
from roboflow .models .semantic_segmentation import SemanticSegmentationModel
14
- from roboflow . models . keypoint_detection import KeypointDetectionModel
15
+
15
16
16
17
def login (args ):
17
18
roboflow .login ()
You can’t perform that action at this time.
0 commit comments