Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushm-agrawal committed Apr 17, 2021
1 parent 7b16cb0 commit f8c0b0d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion multi_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ def multi_train(configs_path="./configs.json"):
configs = SimpleNamespace(**json.load(open(configs_path)))
print(configs)

experiment = Experiment(project_name="imagenet-rwc")
experiment = Experiment(
api_key="ZgD8zJEiZErhwIzPMfZpitMjq",
project_name="imagenet-rwc",
workspace="ayushm-agrawal",
)
experiment.log_parameters(configs)

average_rmae_dict, average_train_acc, average_test_acc = {
Expand Down
2 changes: 1 addition & 1 deletion utils/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def load_model(model_name, training_type, configs):

model = vgg19_bn(in_channels=configs.input_channels,
num_classes=configs.num_classes)
elif model_name = "resnet101":
elif model_name == "resnet101":
if training_type == 'pretrained':
print("Loading pretrained ResNet-101")

Expand Down

0 comments on commit f8c0b0d

Please sign in to comment.