@neuracore/types 6.13.0 → 7.0.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/neuracore_types.d.ts +69 -32
- package/package.json +1 -1
|
@@ -780,19 +780,25 @@ export interface DeploymentConfig {
|
|
|
780
780
|
* training_id: Identifier of the trained model to deploy.
|
|
781
781
|
* name: Optional name for the endpoint.
|
|
782
782
|
* ttl: Optional time-to-live in seconds for the endpoint.
|
|
783
|
-
*
|
|
784
|
-
*
|
|
783
|
+
* input_embodiment_description: Specification of the model input data
|
|
784
|
+
* order.
|
|
785
|
+
* output_embodiment_description: Specification of the model output data
|
|
786
|
+
* order.
|
|
785
787
|
* config: Deployment configuration parameters.
|
|
786
788
|
*/
|
|
787
789
|
export interface DeploymentRequest {
|
|
788
790
|
training_id: string;
|
|
789
791
|
name?: string | null;
|
|
790
792
|
ttl?: number | null;
|
|
791
|
-
|
|
792
|
-
[k: string]:
|
|
793
|
+
input_embodiment_description: {
|
|
794
|
+
[k: string]: {
|
|
795
|
+
[k: string]: string;
|
|
796
|
+
};
|
|
793
797
|
};
|
|
794
|
-
|
|
795
|
-
[k: string]:
|
|
798
|
+
output_embodiment_description: {
|
|
799
|
+
[k: string]: {
|
|
800
|
+
[k: string]: string;
|
|
801
|
+
};
|
|
796
802
|
};
|
|
797
803
|
config?: DeploymentConfig;
|
|
798
804
|
}
|
|
@@ -912,8 +918,10 @@ export interface HandshakeMessage {
|
|
|
912
918
|
* algorithm_config: Configuration parameters for the algorithm.
|
|
913
919
|
* gpu_type: The type of GPU to use for the job.
|
|
914
920
|
* num_gpus: The number of GPUs to allocate for the job.
|
|
915
|
-
*
|
|
916
|
-
*
|
|
921
|
+
* input_cross_embodiment_description: Mapping of robot to input data
|
|
922
|
+
* types to names
|
|
923
|
+
* output_cross_embodiment_description: Mapping of robot to output data
|
|
924
|
+
* types to names
|
|
917
925
|
*/
|
|
918
926
|
export interface InternalStartTrainingJobRequest {
|
|
919
927
|
org_id: string;
|
|
@@ -928,14 +936,18 @@ export interface InternalStartTrainingJobRequest {
|
|
|
928
936
|
gpu_type: GPUType;
|
|
929
937
|
num_gpus: number;
|
|
930
938
|
synchronization_details: SynchronizationDetails;
|
|
931
|
-
|
|
939
|
+
input_cross_embodiment_description: {
|
|
932
940
|
[k: string]: {
|
|
933
|
-
[k: string]:
|
|
941
|
+
[k: string]: {
|
|
942
|
+
[k: string]: string;
|
|
943
|
+
};
|
|
934
944
|
};
|
|
935
945
|
};
|
|
936
|
-
|
|
946
|
+
output_cross_embodiment_description: {
|
|
937
947
|
[k: string]: {
|
|
938
|
-
[k: string]:
|
|
948
|
+
[k: string]: {
|
|
949
|
+
[k: string]: string;
|
|
950
|
+
};
|
|
939
951
|
};
|
|
940
952
|
};
|
|
941
953
|
}
|
|
@@ -944,7 +956,8 @@ export interface InternalStartTrainingJobRequest {
|
|
|
944
956
|
*
|
|
945
957
|
* Attributes:
|
|
946
958
|
* frequency: Synchronization frequency in Hz.
|
|
947
|
-
*
|
|
959
|
+
* cross_embodiment_description: Specification of robot data to include
|
|
960
|
+
* in the synchronization.
|
|
948
961
|
* max_delay_s: Maximum allowable delay (in seconds) for synchronization.
|
|
949
962
|
* allow_duplicates: Whether to allow duplicate data points in the synchronization.
|
|
950
963
|
* trim_start_end: Whether to trim the start and end of the episode
|
|
@@ -952,7 +965,7 @@ export interface InternalStartTrainingJobRequest {
|
|
|
952
965
|
*/
|
|
953
966
|
export interface SynchronizationDetails {
|
|
954
967
|
frequency: number;
|
|
955
|
-
|
|
968
|
+
cross_embodiment_union: {
|
|
956
969
|
[k: string]: {
|
|
957
970
|
[k: string]: string[];
|
|
958
971
|
};
|
|
@@ -1032,9 +1045,11 @@ export interface MetricsData {
|
|
|
1032
1045
|
* ModelInitDescription(
|
|
1033
1046
|
* input_data_types=[DataType.RGB_IMAGES, DataType.JOINT_POSITIONS],
|
|
1034
1047
|
* output_data_types=[DataType.JOINT_TARGET_POSITIONS],
|
|
1035
|
-
*
|
|
1048
|
+
* input_dataset_statistics={
|
|
1036
1049
|
* DataType.RGB_IMAGES: DataItemStats(...),
|
|
1037
1050
|
* DataType.JOINT_POSITIONS: DataItemStats(...),
|
|
1051
|
+
* },
|
|
1052
|
+
* output_dataset_statistics={
|
|
1038
1053
|
* DataType.JOINT_TARGET_POSITIONS: DataItemStats(...),
|
|
1039
1054
|
* },
|
|
1040
1055
|
* )
|
|
@@ -1042,7 +1057,10 @@ export interface MetricsData {
|
|
|
1042
1057
|
export interface ModelInitDescription {
|
|
1043
1058
|
input_data_types: DataType[];
|
|
1044
1059
|
output_data_types: DataType[];
|
|
1045
|
-
|
|
1060
|
+
input_dataset_statistics: {
|
|
1061
|
+
[k: string]: (JointDataStats | CameraDataStats | PoseDataStats | EndEffectorPoseDataStats | ParallelGripperOpenAmountDataStats | PointCloudDataStats | LanguageDataStats | Custom1DDataStats)[];
|
|
1062
|
+
};
|
|
1063
|
+
output_dataset_statistics: {
|
|
1046
1064
|
[k: string]: (JointDataStats | CameraDataStats | PoseDataStats | EndEffectorPoseDataStats | ParallelGripperOpenAmountDataStats | PointCloudDataStats | LanguageDataStats | Custom1DDataStats)[];
|
|
1047
1065
|
};
|
|
1048
1066
|
output_prediction_horizon: number;
|
|
@@ -1421,18 +1439,29 @@ export interface SynchronizedDataset {
|
|
|
1421
1439
|
*
|
|
1422
1440
|
* Attributes:
|
|
1423
1441
|
* synchronized_dataset_id: Unique identifier for the synced dataset.
|
|
1424
|
-
*
|
|
1442
|
+
* cross_embodiment_description: Mapping of robot IDs to data type names.
|
|
1425
1443
|
* dataset_statistics: Statistics for each robot and data type.
|
|
1426
1444
|
*/
|
|
1427
1445
|
export interface SynchronizedDatasetStatistics {
|
|
1428
1446
|
synchronized_dataset_id: string;
|
|
1429
|
-
|
|
1447
|
+
input_cross_embodiment_description: {
|
|
1430
1448
|
[k: string]: {
|
|
1431
|
-
[k: string]:
|
|
1449
|
+
[k: string]: {
|
|
1450
|
+
[k: string]: string;
|
|
1451
|
+
};
|
|
1452
|
+
};
|
|
1453
|
+
};
|
|
1454
|
+
output_cross_embodiment_description: {
|
|
1455
|
+
[k: string]: {
|
|
1456
|
+
[k: string]: {
|
|
1457
|
+
[k: string]: string;
|
|
1458
|
+
};
|
|
1432
1459
|
};
|
|
1433
1460
|
};
|
|
1434
1461
|
dataset_statistics: {
|
|
1435
|
-
[k: string]:
|
|
1462
|
+
[k: string]: {
|
|
1463
|
+
[k: string]: (JointDataStats | CameraDataStats | PoseDataStats | EndEffectorPoseDataStats | ParallelGripperOpenAmountDataStats | PointCloudDataStats | LanguageDataStats | Custom1DDataStats)[];
|
|
1464
|
+
};
|
|
1436
1465
|
};
|
|
1437
1466
|
}
|
|
1438
1467
|
/**
|
|
@@ -1496,8 +1525,8 @@ export interface TracesMetadataRequest {
|
|
|
1496
1525
|
* previous_training_time: The time spent on the previous training, if applicable.
|
|
1497
1526
|
* error: Any error message associated with the job, if applicable.
|
|
1498
1527
|
* resume_points: List of timestamps where the job can be resumed.
|
|
1499
|
-
*
|
|
1500
|
-
*
|
|
1528
|
+
* input_cross_embodiment_description: List of data types for the input data.
|
|
1529
|
+
* output_cross_embodiment_description: List of data types for the output data.
|
|
1501
1530
|
*/
|
|
1502
1531
|
export interface TrainingJob {
|
|
1503
1532
|
id: string;
|
|
@@ -1523,14 +1552,18 @@ export interface TrainingJob {
|
|
|
1523
1552
|
previous_training_time?: number | null;
|
|
1524
1553
|
error?: string | null;
|
|
1525
1554
|
resume_points: number[];
|
|
1526
|
-
|
|
1555
|
+
input_cross_embodiment_description: {
|
|
1527
1556
|
[k: string]: {
|
|
1528
|
-
[k: string]:
|
|
1557
|
+
[k: string]: {
|
|
1558
|
+
[k: string]: string;
|
|
1559
|
+
};
|
|
1529
1560
|
};
|
|
1530
1561
|
};
|
|
1531
|
-
|
|
1562
|
+
output_cross_embodiment_description: {
|
|
1532
1563
|
[k: string]: {
|
|
1533
|
-
[k: string]:
|
|
1564
|
+
[k: string]: {
|
|
1565
|
+
[k: string]: string;
|
|
1566
|
+
};
|
|
1534
1567
|
};
|
|
1535
1568
|
};
|
|
1536
1569
|
synchronization_details: SynchronizationDetails;
|
|
@@ -1546,9 +1579,9 @@ export interface TrainingJob {
|
|
|
1546
1579
|
* frequency: Synchronization frequency in Hz.
|
|
1547
1580
|
* gpu_type: Type of GPU to use for training.
|
|
1548
1581
|
* num_gpus: Number of GPUs to use for training.
|
|
1549
|
-
*
|
|
1582
|
+
* input_cross_embodiment_description: The robust mapping of robot to input
|
|
1550
1583
|
* data types to names
|
|
1551
|
-
*
|
|
1584
|
+
* output_cross_embodiment_description: The robust mapping of robot to output
|
|
1552
1585
|
* data types to names
|
|
1553
1586
|
*/
|
|
1554
1587
|
export interface TrainingJobRequest {
|
|
@@ -1561,14 +1594,18 @@ export interface TrainingJobRequest {
|
|
|
1561
1594
|
gpu_type: GPUType;
|
|
1562
1595
|
num_gpus: number;
|
|
1563
1596
|
synchronization_details: SynchronizationDetails;
|
|
1564
|
-
|
|
1597
|
+
input_cross_embodiment_description: {
|
|
1565
1598
|
[k: string]: {
|
|
1566
|
-
[k: string]:
|
|
1599
|
+
[k: string]: {
|
|
1600
|
+
[k: string]: string;
|
|
1601
|
+
};
|
|
1567
1602
|
};
|
|
1568
1603
|
};
|
|
1569
|
-
|
|
1604
|
+
output_cross_embodiment_description: {
|
|
1570
1605
|
[k: string]: {
|
|
1571
|
-
[k: string]:
|
|
1606
|
+
[k: string]: {
|
|
1607
|
+
[k: string]: string;
|
|
1608
|
+
};
|
|
1572
1609
|
};
|
|
1573
1610
|
};
|
|
1574
1611
|
}
|