Skip to content

ImportError in sample_language_nn_subsets.py due to missing functions #9

Description

@CherishPuniani

Hi @mbanani,

While running sample_language_nn_subsets.py for subreddit subset sampling, I encountered an ImportError.

In preprocess/sample_language_nn_subsets.py (line 8), the functions get_dataset and subsample_dataset are imported from sample_language_nn.py. However, these functions do not exist in that file.

I did find a get_dataset function in make_imagecaption_dict.py, but it doesn’t seem to be the intended one. Additionally, subsample_dataset is not defined anywhere in the repository.

Could you clarify if these functions are missing or if there’s an alternative approach to running this script?

Thanks!

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