Skip to content

ModuleNotFoundError: No module named 'sam3.train.data' #1

@DreamerLLL

Description

@DreamerLLL

Hi, this work is good!
I was trying to run the project and encountered an error related to a missing module. The traceback is as follows:
Traceback (most recent call last):
File "/workspace/whisperVideo-main/whisperv/inference_folder_sam3.py", line 611, in _sam3_chunk_worker_subprocess
from sam3.model_builder import build_sam3_video_predictor
File "/workspace/whisperVideo-main/whisperv/sam3-main/sam3/init.py", line 3, in
from .model_builder import build_sam3_image_model
File "/workspace/whisperVideo-main/whisperv/sam3-main/sam3/model_builder.py", line 35, in
from sam3.model.sam1_task_predictor import SAM3InteractiveImagePredictor
File "/workspace/whisperVideo-main/whisperv/sam3-main/sam3/model/sam1_task_predictor.py", line 17, in
from sam3.model.sam3_tracker_base import Sam3TrackerBase
File "/workspace/whisperVideo-main/whisperv/sam3-main/sam3/model/sam3_tracker_base.py", line 15, in
from sam3.train.data.collator import BatchedDatapoint
ModuleNotFoundError: No module named 'sam3.train.data'

It seems like the sam3.train.data module is not included in the repository. Could you please advise if it was omitted by mistake, or if there’s a recommended way to resolve this?

Thank you for your time and for maintaining this project!

Best regards,
Leon Li

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions