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

Fix issue with import

parent 20603186
No related branches found
No related tags found
No related merge requests found
...@@ -16,12 +16,12 @@ from osrt.layers import RayEncoder, Transformer, SlotAttention ...@@ -16,12 +16,12 @@ from osrt.layers import RayEncoder, Transformer, SlotAttention
from osrt.utils.common import batch_iterator, MaskData, calculate_stability_score, get_indices_sorted_pos, get_positional_embedding, create_points_grid, rotation_matrix_to_euler_angles from osrt.utils.common import batch_iterator, MaskData, calculate_stability_score, get_indices_sorted_pos, get_positional_embedding, create_points_grid, rotation_matrix_to_euler_angles
from osrt.utils.nerf import get_extrinsic from osrt.utils.nerf import get_extrinsic
from sam import sam_model_registry from osrt.sam import sam_model_registry
from sam.image_encoder import ImageEncoderViT from osrt.sam.image_encoder import ImageEncoderViT
from sam.mask_decoder import MaskDecoder from osrt.sam.mask_decoder import MaskDecoder
from sam.prompt_encoder import PromptEncoder from osrt.sam.prompt_encoder import PromptEncoder
from sam.utils.transforms import ResizeLongestSide from osrt.sam.utils.transforms import ResizeLongestSide
from sam.utils.amg import batched_mask_to_box, remove_small_regions, mask_to_rle_pytorch, area_from_rle from osrt.sam.utils.amg import batched_mask_to_box, remove_small_regions, mask_to_rle_pytorch, area_from_rle
from torch.nn.utils.rnn import pad_sequence from torch.nn.utils.rnn import pad_sequence
......
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