파이썬/Tensorflow,Pytorch

AttributeError: partially initialized module 'torch' has no attribute 'cuda' (most likely due to a circular import)

Ninestar 2022. 12. 18. 04:17
반응형

작업폴더내 torch.py 가 있어서 그렇다 

다른이름으로 바꿔준뒤 다시 import해본다.