Skip to content

Inquiry on Missing job_configs.py in data-augmentation-with-ILMs Project #5

@Flora-Chai

Description

@Flora-Chai

while implementing the project, I encountered an issue. It appears that the 'configs' directory is missing a file named 'job_configs.py', which is referenced in 'runners/train.py'. Due to this, when attempting to run the training script with the following command:

python3 -m runners.train --savedir_base /home/ypchaihkmu/data-augmentation-with-llms/haven_output/ --exp_group_list baselines -j 1 -v results.ipynb --python_binary $(which python3)

I am faced with an ImportError, specifically:

ImportError: cannot import name 'job_configs' from 'configs' (unknown location)

Could you please advise on how this issue can be resolved? Is there an updated version of the 'configs' directory that includes the 'job_configs.py' file, or is there an alternative approach to bypass this error?

Activity

Demfier

Demfier commented on Mar 14, 2024

@Demfier
Member

@Flora-Chai, you can set job scheduler flag to 0 (so replace -j 1 in that command with -j 0). Hope that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @Demfier@Flora-Chai

        Issue actions

          Inquiry on Missing job_configs.py in data-augmentation-with-ILMs Project · Issue #5 · ServiceNow/data-augmentation-with-llms