Skip to content

Shape Mismatch in Synthetic Features and Labels  #12

@chanztuying

Description

@chanztuying

I've encountered a shape mismatch issue between synthetic features (feat_syn) and labels (labels_syn) when condensing the ogbn-arxiv dataset using a reduction rate of 0.0005. The method ensures each class is represented by at least one label, but the calculation feat_train * reduction_rate can lead to a discrepancy in the number of features and labels.

Probably consider using n = max(int(len(data.idx_train) * args.reduction_rate), labels_syn.shape[0]) to calculate the number of synthetic features?

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