Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

ModuleNotFoundError: No module named 'oscar' #204

Open
@kssscrl

Description

@kssscrl

Sorry, I am a beginner. When I try to run run_captioning.py following the author's instruction on colab , it raised ModuleNotFoundError: No module named 'oscar'. However, there is init.py in the oscar folder, it should be treated as a module I think. Could anyone provide some advice? I am under the Oscar folder and run
"python oscar/run_captioning.py
--model_name_or_path pretrained_models/base-vg-labels/ep_67_588997
--do_train
--do_lower_case
--evaluate_during_training
--add_od_labels
--learning_rate 0.00003
--per_gpu_train_batch_size 64
--num_train_epochs 30
--save_steps 5000
--output_dir output/"
Just like the attached screenshot shows.
Thank you so much!!

捕获

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