Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gorodnitskiy/0f82d008e80bd82bae13202e3b114ecb to your computer and use it in GitHub Desktop.
Save gorodnitskiy/0f82d008e80bd82bae13202e3b114ecb to your computer and use it in GitHub Desktop.
hydra-configs-instantiating-objects-with-hydra-1
loss:
_target_: "torch.nn.CrossEntropyLoss"
metric:
_target_: "torchmetrics.Accuracy"
task: "multiclass"
num_classes: 10
top_k: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment