Magic
How to import package
innocuous.Endpoint
Methods
download
download predict files
Arguments
urls
List (urls)
Result
List (local file path)
Example:
save
save predict files
Arguments
files
List (file)
Result
List (local file path)
Example:
ModelLoader
checkpoint_path
get checkpoint path from Web setting
Result
String (local checkpoint path)
Example:
update_model(object)
update model for model loader
Arguments
object
Object (any object of model)
Example:
save_model()
download new model to local
Example:
get_model()
get model from modelloader
Result
Object (any object of model)
Example:
save_config(object)
save config
Arguments
object
Object (any object of config)
Example:
get_config()
get config
Result
Object (any object of config)
Example:
ModelLoader Example
PipelineHelper
last_metric
get last metric
Example:
metric
get metric list or oneResult
Result
List (all mtrice)
Example:
update_metric(metric)
update metric
Arguments
metric
float
Example:
PipelineHelper Example
FileHelper
get(source)
download file from s3 to local
Arguments
source
String (remote file path)
Result
String (local file path)
Example:
save(source, destination)
save file from local to s3
Arguments
source
String (local file path)
destination
String (remote file path)
Example:
import_package(path)
import module from path
Arguments
path
String (local package path)
Result
Module
Example:
Last updated