We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is assuming that the model has been already created, which is not often the case (especially if we're in a getting started).
I'd propose to change from this
from focoos.ports import Hyperparameters, TrainInstance model = focoos.get_remote_model("<YOUR-MODEL-ID>") res = model.train( anyma_version="0.11.1", dataset_ref="<YOUR-DATASET-ID>", instance_type=TrainInstance.ML_G4DN_XLARGE, volume_size=50, max_runtime_in_seconds=36000, hyperparameters=Hyperparameters( learning_rate=0.0001, batch_size=16, max_iters=1500, eval_period=100, resolution=640, ), # type: ignore ) pprint(res)
to
from focoos.ports import Hyperparameters, TrainInstance model = focoos.new_model(name = "model_name", focoos_model='', description="") res = model.train( anyma_version="0.11.1", dataset_ref="<YOUR-DATASET-ID>", instance_type=TrainInstance.ML_G4DN_XLARGE, volume_size=50, max_runtime_in_seconds=36000, hyperparameters=Hyperparameters( learning_rate=0.0001, batch_size=16, max_iters=1500, eval_period=100, resolution=640, ), # type: ignore ) pprint(res)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is assuming that the model has been already created, which is not often the case (especially if we're in a getting started).
I'd propose to change from this
to
The text was updated successfully, but these errors were encountered: