MessageStream error in window
HoBeom opened this issue · comments
jeonhobeom commented
I run in Anaconda environment in window, and I got this Traceback.
How can i fix it??
Traceback (most recent call last):
File "test.py", line 63, in <module>
for step, data in tqdm(enumerate(data_loader)):
File "C:\Anaconda3\envs\one\lib\site-packages\tqdm\_tqdm.py", line 1017, in __iter__
for obj in iterable:
File "C:\Anaconda3\envs\one\lib\site-packages\torch\utils\data\dataloader.py", line 336, in __next__
return self._process_next_batch(batch)
File "C:\Anaconda3\envs\one\lib\site-packages\torch\utils\data\dataloader.py", line 357, in _process_next_batch
raise batch.exc_type(batch.exc_msg)
OSError: Traceback (most recent call last):
File "C:\Anaconda3\envs\one\lib\site-packages\torch\utils\data\dataloader.py", line 106, in _worker_loop
samples = collate_fn([dataset[i] for i in batch_indices])
File "C:\Anaconda3\envs\one\lib\site-packages\torch\utils\data\dataloader.py", line 106, in <listcomp>
samples = collate_fn([dataset[i] for i in batch_indices])
File "C:\Users\전호범\Desktop\notebook\One_Shot_Face_Reenactment\loader\dataset_loader_demo.py", line 88, in __getitem__
img_src = self.warp(img_src, pt_src, np.vstack([pt_dst[:33], pt_src[33:]]))
File "C:\Users\전호범\Desktop\notebook\One_Shot_Face_Reenactment\loader\dataset_basic.py", line 52, in warp
return warper.warping(img, srcPt.reshape(-1, 2), dstPt.reshape(-1, 2), (self.imgSize, self.imgSize))
File "C:\Users\전호범\Desktop\notebook\One_Shot_Face_Reenactment\utils\warper.py", line 17, in warping
res = warp_image(img, src_bound, dst_bound, size)
File "C:\Users\전호범\Desktop\notebook\One_Shot_Face_Reenactment\utils\warper.py", line 106, in warp_image
delaunay = spatial.Delaunay(dest_points)
File "qhull.pyx", line 1813, in scipy.spatial.qhull.Delaunay.__init__
File "qhull.pyx", line 266, in scipy.spatial.qhull._Qhull.__init__
File "messagestream.pyx", line 36, in scipy._lib.messagestream.MessageStream.__init__
OSError: Failed to open file b'C:\\Users\\\xec\xa0\x84\xed\x98\xb8\xeb\xb2\x94\\AppData\\Local\\Temp\\scipy-sme_thdh'
Stan commented
Maybe you can try to reinstall scipy. And it looks like there is something wrong with your path.
jeonhobeom commented
I tryed reinstall scipy, but it seems to be a problem on my path.
I also tryed with my ubuntu laptop(but using cpu) and it works well, Thanks a lot.