hanzhanggit / StackGAN-Pytorch

MIT License
491 stars 146 forks source link

Work on Windows 10? #20

Open gruossomonica opened 5 years ago

gruossomonica commented 5 years ago

Hi, I'm working on Windows 10, I get this issue:

DATAPATH:  ../data/coco/test/val_captions.t7
Traceback (most recent call last):
  File "main.py", line 77, in <module>
    algo.sample(datapath, cfg.STAGE)
  File "D:\documenti\Monica\StackGAN-Pytorch\code\trainer.py", line 243, in sample
    t_file = torchfile.load(datapath)
  File "C:\Users\Utente\venv\lib\site-packages\torchfile.py", line 424, in load
    return reader.read_obj()
  File "C:\Users\Utente\venv\lib\site-packages\torchfile.py", line 386, in read_obj
    v = self.read_obj()
  File "C:\Users\Utente\venv\lib\site-packages\torchfile.py", line 386, in read_obj
    v = self.read_obj()
  File "C:\Users\Utente\venv\lib\site-packages\torchfile.py", line 414, in read_obj
    "unknown object type / typeidx: {}".format(typeidx))
torchfile.T7ReaderException: unknown object type / typeidx: -1112529805

Can anyone help me? Does StackGAN-Pytorch work on Windows?

Vrishod commented 5 years ago

Did u resolve this? Even i am getting the same isssue

gruossomonica commented 5 years ago

Unfortunately no. I tested on Ubuntu, no problem in this case.

lifebl commented 3 years ago

Did u resolve this? Even i am getting the same isssue

hello, have you solved the problem?