Skip to content

Register failed #78

@ChenglongWang

Description

@ChenglongWang

Since DatasetRegistry has been modified to

@strix_dataset.register("3D", "selflearning", "SyntheticData")
def synthetic_dataset(filelist, phase, opts):
    paass

the keyword multi_in and multi_out failed to recognize the new registration format.

    def _get_keys(self, val):
        dims = ["2D", "3D"]
        results = []
        for d in dims:
            for key, value in self[d].items():  # now key become the framework name. value is attr dict.
                if val == value["FN"]:
                    results.append((d, key))
        return results

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