Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Segment-Object-Centric
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexandre Chapin
Segment-Object-Centric
Commits
03a2236d
Commit
03a2236d
authored
1 year ago
by
Alexandre Chapin
Browse files
Options
Downloads
Patches
Plain Diff
Fix issue with import
parent
20603186
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
osrt/encoder.py
+6
-6
6 additions, 6 deletions
osrt/encoder.py
with
6 additions
and
6 deletions
osrt/encoder.py
+
6
−
6
View file @
03a2236d
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment