Skip to content

TypeError: object.__new__() takes exactly one argument (the type to instantiate) #17

@FreshmanLin

Description

@FreshmanLin

I have already successfully run the original code. To try to use new datasets, I inherit torch.utils.data.Dataset and create subclass Webface:
HJZ1N%7GF8YR 4DU1JLFFN9
ECMY27X4@GZ_E8F4O7A2
I want to use webface as unlabeled dataset, however when I instantiate a webface object, I get a type error:
CVQ6Y PW HKEFH)7JO_6 UG
How to solve this bug? The error code is from a auto-generated file when I created an anaconda virtual environment.

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