在跑模型的时候,出现了报错:
RuntimeError: Found dtype Long but expected Float报错是发生在BCE loss 的部分,因为crossentropyloss要求batch_label必须为torch.float类型 所以需要修改一下标签,转为float格式就好了࿱…
目录 Connecting to data sources
Opening a connector
Connecting to a data source
Authenticating the connector
Defining table parameters
Using standard mode or legacy mode
Standard mode
Connector overview
Using multi-line input parameters to fetch da…