Skip to main content

models_checkpoints

Creates, updates, deletes, gets or lists a models_checkpoints resource.

Overview​

Namemodels_checkpoints
TypeResource
Idgoogle.aiplatform.models_checkpoints

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
checkpointIdstringThe ID of the checkpoint.
epochstring (int64)The epoch of the checkpoint.
stepstring (int64)The step of the checkpoint.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_checkpointsselectprojectsId, locationsId, modelsIdpageSize, pageTokenLists checkpoints of the specified model version.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
modelsIdstring
projectsIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples​

Lists checkpoints of the specified model version.

SELECT
checkpointId,
epoch,
step
FROM google.aiplatform.models_checkpoints
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND modelsId = '{{ modelsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;