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 1919 DEMO_KEYS ,
2020 TYPE_CLASSICATION ,
2121 TYPE_INSTANCE_SEGMENTATION ,
22+ TYPE_KEYPOINT_DETECTION ,
2223 TYPE_OBJECT_DETECTION ,
2324 TYPE_SEMANTIC_SEGMENTATION ,
24- TYPE_KEYPOINT_DETECTION ,
2525 UNIVERSE_URL ,
2626)
2727from roboflow .core .dataset import Dataset
2828from roboflow .models .classification import ClassificationModel
2929from roboflow .models .instance_segmentation import InstanceSegmentationModel
30+ from roboflow .models .keypoint_detection import KeypointDetectionModel
3031from roboflow .models .object_detection import ObjectDetectionModel
3132from roboflow .models .semantic_segmentation import SemanticSegmentationModel
32- from roboflow .models .keypoint_detection import KeypointDetectionModel
3333from roboflow .util .annotations import amend_data_yaml
3434from roboflow .util .general import write_line
3535from roboflow .util .versions import get_wrong_dependencies_versions , print_warn_for_wrong_dependencies_versions
Original file line number Diff line number Diff line change 88from PIL import Image
99
1010from roboflow .config import CLASSIFICATION_MODEL
11+ from roboflow .models .inference import InferenceModel
1112from roboflow .util .image_utils import check_image_url
1213from roboflow .util .prediction import PredictionGroup
13- from roboflow .models .inference import InferenceModel
1414
1515
1616class ClassificationModel (InferenceModel ):
Original file line number Diff line number Diff line change 88from PIL import Image
99
1010from roboflow .config import CLASSIFICATION_MODEL
11+ from roboflow .models .inference import InferenceModel
1112from roboflow .util .image_utils import check_image_url
1213from roboflow .util .prediction import PredictionGroup
13- from roboflow .models .inference import InferenceModel
1414
1515
1616class KeypointDetectionModel (InferenceModel ):
Original file line number Diff line number Diff line change 99from roboflow .config import APP_URL , get_conditional_configuration_variable , load_roboflow_api_key
1010from roboflow .models .classification import ClassificationModel
1111from roboflow .models .instance_segmentation import InstanceSegmentationModel
12+ from roboflow .models .keypoint_detection import KeypointDetectionModel
1213from roboflow .models .object_detection import ObjectDetectionModel
1314from roboflow .models .semantic_segmentation import SemanticSegmentationModel
14- from roboflow . models . keypoint_detection import KeypointDetectionModel
15+
1516
1617def login (args ):
1718 roboflow .login ()
You can’t perform that action at this time.
0 commit comments