Skip to content
Snippets Groups Projects
Commit 9103c987 authored by Alexandre Chapin's avatar Alexandre Chapin :race_car:
Browse files

Deactivate deterministic behavior

parent d25f228e
No related branches found
No related tags found
No related merge requests found
......@@ -8,3 +8,4 @@ matplotlib
tqdm
opencv-python
bitsandbytes
segment_anything
......@@ -69,8 +69,8 @@ def main():
)
trainer = pl.Trainer(accelerator="gpu", devices=num_gpus, profiler="simple",
default_root_dir="./logs", logger=WandbLogger(project="slot-attention") if args.wandb else None,
strategy="ddp" if num_gpus > 1 else "default", callbacks=[checkpoint_callback], deterministic=True,
default_root_dir="./logs", logger=WandbLogger(project="slot-att") if args.wandb else None,
strategy="ddp" if num_gpus > 1 else "default", callbacks=[checkpoint_callback],
log_every_n_steps=100, max_steps=num_train_steps)
trainer.fit(model, train_loader, val_loader)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment