Skip to content

Missing 'lora_layers' module #4

@mythosx6

Description

@mythosx6

Hello, thank you for your help and for sharing this great project!

I'm trying to run the SAM3 LoRA training script, but encountered an import error. When executing:

python3 train_sam3_lora_native.py

I get the following error:

Traceback (most recent call last):
  File "SAM3_LoRA/train_sam3_lora_native.py", line 37, in <module>
    from lora_layers import LoRAConfig, apply_lora_to_model, save_lora_weights, count_parameters
ModuleNotFoundError: No module named 'lora_layers'

Looking at the code, I can see the script imports from lora_layers:

from lora_layers import LoRAConfig, apply_lora_to_model, save_lora_weights, count_parameters

However, I cannot find the lora_layers in the repository.

Could you please tell me now if this module is missing from the codebase?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions