Skip to content

Issue with training on custom data #27

@einnullnull

Description

@einnullnull

Hi , I want to sincerely thank you for your incredible open-source project. It has been extremely helpful and inspiring for my work.

I'm currently trying to train the model on my own dataset, but I keep encountering the following error:


 Skipping iteration due to error: element 0 of tensors does not require grad and does not have a grad_fn

The training process halts very early, around 0%. I have checked my dataset and code, but I haven't identified the root cause yet.

Could you please help me troubleshoot this issue?

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