先import tensorlow再import torch,然后调用to(torch.device(‘cuda’))则报segmentation fault 解决方法:先import torch再import tensorflow