RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu

后端 未结 0 671
孤街浪徒
孤街浪徒 2021-02-10 09:58

import asyncio
import torch
import os
import pandas as pd
from flair.data import Sentence
from flair.embeddings import FlairEmbeddings, DocumentPoolEmbeddings, WordEmbe         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题