Spaces:
Running
on
Zero
Running
on
Zero
fix batch
Browse files
app.py
CHANGED
@@ -1363,7 +1363,6 @@ def fit_trans(rgb1, rgb2, num_layer=3, width=512, batch_size=256, lr=3e-4, fitti
|
|
1363 |
# Initialize model and trainer
|
1364 |
mlp = MLP(num_layer=num_layer, width=width, lr=lr, fitting_steps=fitting_steps, seg_loss_lambda=seg_loss_lambda)
|
1365 |
trainer = pl.Trainer(
|
1366 |
-
auto_scale_batch_size='power',
|
1367 |
max_epochs=100000,
|
1368 |
gpus=1,
|
1369 |
max_steps=fitting_steps,
|
|
|
1363 |
# Initialize model and trainer
|
1364 |
mlp = MLP(num_layer=num_layer, width=width, lr=lr, fitting_steps=fitting_steps, seg_loss_lambda=seg_loss_lambda)
|
1365 |
trainer = pl.Trainer(
|
|
|
1366 |
max_epochs=100000,
|
1367 |
gpus=1,
|
1368 |
max_steps=fitting_steps,
|