Skip to content

Commit

Permalink
Make sure the ResNet18 model is included in the list of available mod…
Browse files Browse the repository at this point in the history
…els.
  • Loading branch information
bojan-karlas committed Mar 1, 2024
1 parent 52742e5 commit 542684b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class ModelSpec(str, Enum):
NaiveBayes = "nb"
NeuralNetwork = "nn"
XGBoost = "xgb"
ResNet18 = "resnet-18"


MODEL_TYPES = {
Expand All @@ -52,6 +53,7 @@ class ModelSpec(str, Enum):
ModelSpec.NaiveBayes: ModelType.NaiveBayes,
ModelSpec.NeuralNetwork: ModelType.NeuralNetwork,
ModelSpec.XGBoost: ModelType.XGBoost,
ModelSpec.ResNet18: ModelType.ResNet18,
}

MODEL_KWARGS: Dict[ModelSpec, Dict[str, Any]] = {
Expand All @@ -69,6 +71,7 @@ class ModelSpec(str, Enum):
ModelSpec.NaiveBayes: {},
ModelSpec.NeuralNetwork: {},
ModelSpec.XGBoost: {},
ModelSpec.ResNet18: {},
}


Expand Down

0 comments on commit 542684b

Please sign in to comment.