Unanswered
It Seems Like Clearml Agent Does Not Support Arparse Subparsers, Right?
` args = parser.parse_args()
print(args) # args PRINTED HERE ON LOCAL
command = args.command
enqueue = args.enqueue
track_remote = args.track_remote
preset_name = args.preset
type_name = args.type
environment_name = args.environment
nvidia_docker = args.nvidia_docker
# Initialize ClearML Task
task = (
Task.init(
project_name="reinforcement-learning/" + type_name,
task_name=args.name or preset_name,
tags=[environment_name],
output_uri=True,
)
if track_remote or enqueue
else None
)
# Execute remotly via CLearML
if enqueue is not None:
task.execute_remotely(queue_name=enqueue, clone=False, exit_process=True) `
186 Views
0
Answers
3 years ago
one year ago