Skip to content

How is features_train.pth generated for generate_cost_matrix? #2

@agrichron

Description

@agrichron

Description

In the generate_cost_matrix.py script, the file features_train.pth is used as input data. However, the repository does not provide specific instructions or scripts on how this file is generated. To better understand and use this code, I would appreciate it if you could provide the following information:

What does the features_train.pth file contain?
    Does this file contain feature representations from a model? If so, which model is used?
    What is the structure of the file? (e.g., tensor shape, data type, etc.)
How is the features_train.pth file generated?
    Is there a specific script or tool used to generate this file?
    If it is generated by extracting features from a model, could you provide the relevant code or steps?
Are there sample data or pre-trained models available?
    If generating features_train.pth requires a specific model or dataset, could you provide the relevant resources or guidance?

Steps to Reproduce
Run the generate_cost_matrix.py script.
The script attempts to load the features_train.pth file, but the file does not exist or is not provided.

Expected Behavior
Provide detailed steps or a script to generate the features_train.pth file.
If possible, provide sample data or pre-trained models to facilitate reproduction.
Additional Information

I have already tried the following:
    Searched the repository for relevant scripts but could not find any code to generate features_train.pth.
    Checked the documentation but did not find any related instructions.

Thank you for your help! If there’s anything else I need to clarify, please let me know.

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