Skip to content

Commit

Permalink
Changed example
Browse files Browse the repository at this point in the history
  • Loading branch information
leschultz committed Apr 18, 2024
1 parent 06a4990 commit 694c7f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/materials/combined/fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ def main():
data[k]['scaler'] = StandardScaler()
data[k]['loss'] = nn.L1Loss()

model = models.MultiNet(tasks=tasks, input_arch={500: 1})
model = models.MultiNet(
tasks=tasks,
input_arch={500: 1},
mid_arch={1024: 1, 32: 1, 16: 1},
)
optimizer = optim.Adam

out = utils.train(
Expand Down

0 comments on commit 694c7f0

Please sign in to comment.