Skip to content

Commit

Permalink
[fix] updating script to work with shape_embed package
Browse files Browse the repository at this point in the history
  • Loading branch information
ctr26 committed Oct 1, 2024
1 parent 0055bcd commit 5669be7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/_shape_embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

torch.multiprocessing.set_sharing_strategy("file_system")

from bioimage_embed import shapes
from shape_embed import shapes
import bioimage_embed

# Note - you must have torchvision installed for this example
Expand Down
4 changes: 2 additions & 2 deletions scripts/shape_embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@

torch.multiprocessing.set_sharing_strategy("file_system")

from bioimage_embed import shapes
from shape_embed import shapes
import bioimage_embed
from pytorch_lightning import loggers as pl_loggers
from torchvision import transforms
from bioimage_embed.lightning import DataModule

from torchvision import datasets
from bioimage_embed.shapes.transforms import (
from shape_embed.shapes.transforms import (
ImageToCoords,
CropCentroidPipeline,
DistogramToCoords,
Expand Down

0 comments on commit 5669be7

Please sign in to comment.