@eyepop.ai/eyepop 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/eyepop.index.d.mts
CHANGED
|
@@ -622,6 +622,8 @@ interface Model {
|
|
|
622
622
|
name: string;
|
|
623
623
|
description?: string;
|
|
624
624
|
external_id?: string;
|
|
625
|
+
pretrained_model_uuid?: string;
|
|
626
|
+
extra_params?: Map<string, any>;
|
|
625
627
|
type: ModelType;
|
|
626
628
|
status: ModelStatus;
|
|
627
629
|
status_message?: string;
|
|
@@ -637,6 +639,8 @@ interface ModelCreate {
|
|
|
637
639
|
name: string;
|
|
638
640
|
description: string;
|
|
639
641
|
external_id?: string;
|
|
642
|
+
pretrained_model_uuid?: string;
|
|
643
|
+
extra_params?: Map<string, any>;
|
|
640
644
|
}
|
|
641
645
|
interface ModelUpdate {
|
|
642
646
|
name: string;
|
|
@@ -727,6 +731,7 @@ declare class DataEndpoint extends Endpoint<DataEndpoint> {
|
|
|
727
731
|
downloadAsset(asset_uuid: string, dataset_uuid?: string, dataset_version?: number, transcode_mode?: TranscodeMode): Promise<Blob>;
|
|
728
732
|
previewAutoAnnotateAsset(asset_uuid: string, auto_annotate: string, auto_annotate_params?: AutoAnnotateParams): Promise<Annotation>;
|
|
729
733
|
listModels(): Promise<Model[]>;
|
|
734
|
+
findModelsForDataset(dataset_uuid: string): Promise<Model[]>;
|
|
730
735
|
createModel(dataset_uuid: string, dataset_version: number, data: ModelCreate, start_training?: boolean): Promise<Model>;
|
|
731
736
|
getModel(model_uuid: string): Promise<Model>;
|
|
732
737
|
getModelTrainingProgress(model_uuid: string): Promise<ModelTrainingProgress>;
|
package/dist/eyepop.index.d.ts
CHANGED
|
@@ -622,6 +622,8 @@ interface Model {
|
|
|
622
622
|
name: string;
|
|
623
623
|
description?: string;
|
|
624
624
|
external_id?: string;
|
|
625
|
+
pretrained_model_uuid?: string;
|
|
626
|
+
extra_params?: Map<string, any>;
|
|
625
627
|
type: ModelType;
|
|
626
628
|
status: ModelStatus;
|
|
627
629
|
status_message?: string;
|
|
@@ -637,6 +639,8 @@ interface ModelCreate {
|
|
|
637
639
|
name: string;
|
|
638
640
|
description: string;
|
|
639
641
|
external_id?: string;
|
|
642
|
+
pretrained_model_uuid?: string;
|
|
643
|
+
extra_params?: Map<string, any>;
|
|
640
644
|
}
|
|
641
645
|
interface ModelUpdate {
|
|
642
646
|
name: string;
|
|
@@ -727,6 +731,7 @@ declare class DataEndpoint extends Endpoint<DataEndpoint> {
|
|
|
727
731
|
downloadAsset(asset_uuid: string, dataset_uuid?: string, dataset_version?: number, transcode_mode?: TranscodeMode): Promise<Blob>;
|
|
728
732
|
previewAutoAnnotateAsset(asset_uuid: string, auto_annotate: string, auto_annotate_params?: AutoAnnotateParams): Promise<Annotation>;
|
|
729
733
|
listModels(): Promise<Model[]>;
|
|
734
|
+
findModelsForDataset(dataset_uuid: string): Promise<Model[]>;
|
|
730
735
|
createModel(dataset_uuid: string, dataset_version: number, data: ModelCreate, start_training?: boolean): Promise<Model>;
|
|
731
736
|
getModel(model_uuid: string): Promise<Model>;
|
|
732
737
|
getModelTrainingProgress(model_uuid: string): Promise<ModelTrainingProgress>;
|
package/dist/eyepop.index.js
CHANGED
|
@@ -11397,6 +11397,11 @@ var DataEndpoint = class extends Endpoint {
|
|
|
11397
11397
|
method: "GET"
|
|
11398
11398
|
});
|
|
11399
11399
|
}
|
|
11400
|
+
async findModelsForDataset(dataset_uuid) {
|
|
11401
|
+
return this.request(`/models?dataset_uuid=${dataset_uuid}`, {
|
|
11402
|
+
method: "GET"
|
|
11403
|
+
});
|
|
11404
|
+
}
|
|
11400
11405
|
async createModel(dataset_uuid, dataset_version, data, start_training = true) {
|
|
11401
11406
|
return this.request(`/models?dataset_uuid=${dataset_uuid}&dataset_version=${dataset_version}&start_training=${start_training}`, {
|
|
11402
11407
|
method: "POST",
|