Skip to content

训练时出现RuntimeError: all elements of input should be between 0 and 1 #1

Description

@htgy

您好,首先很感谢作者写的的这个爬虫项目。
我在使用中发现了一个问题,不知如何解决,想向您请教一下:
训练的时候训练到
Epoch: 16/50, Step: 20, Loss: 0.051053, Val Loss: 0.075411
出现了错误
RuntimeError: all elements of input should be between 0 and 1
请问该如何解决呢?
谢谢!

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