Skip to content

Commit

Permalink
[good] uploading training script that works?
Browse files Browse the repository at this point in the history
  • Loading branch information
ctr26 committed Sep 30, 2024
1 parent 2d37b11 commit 2d3d546
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 1 deletion.
Empty file removed .env
Empty file.
Empty file removed bioimage_embed/inference.py
Empty file.
Empty file.
Empty file.
Empty file.
Empty file removed bioimage_embed/models/tests/mae.py
Empty file.
Empty file.
Empty file removed bioimage_embed/tests/__init__.py
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion scripts/idr/study.submitit.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ def __getitem__(self, idx):
if torch.is_tensor(idx):
idx = idx.tolist()
img_name = self.file_list[idx]
obj = fs.open(img_name,filecache={'cache_storage':'tmp/idr'})
try:
image = read_image(fs,img_name)
if self.transform:
Expand Down Expand Up @@ -190,6 +189,7 @@ def train(name, num_gpus_per_node=1,num_nodes=1):
callbacks=None,
# default_root_dir=f"lightning_logs/{name}",
# plugin=[],

logger=[wandb],
accumulate_grad_batches=16,
max_epochs=params["max_epochs"],
Expand Down

0 comments on commit 2d3d546

Please sign in to comment.