zhou13 / lcnn

LCNN: End-to-End Wireframe Parsing
MIT License
494 stars 94 forks source link

Downloading the Processed Dataset error #59

Closed shijian97 closed 2 years ago

shijian97 commented 2 years ago

Hi, thanks for your work! But I got Can't open file ./cookie(No such file named cookie) when I execute ../misc/gdrive-download.sh 1T4_6Nb5r4yAXre3lf-zpmp3RbmyP1t9q wireframe.tar.xz Can you help me?

zhou13 commented 2 years ago

Have you tried to download them manually?

shijian97 commented 2 years ago

Have you tried to download them manually?

yes I can

shijian97 commented 2 years ago

Have you tried to download them manually?

I can solve the problem by downloading manually. But I met another question when I test the Pretrained Models, to generate wireframes on the validation dataset with the pretrained model, and I got

Traceback (most recent call last):
  File "./process.py", line 134, in <module>
    main()
  File "./process.py", line 107, in main
    **{k: v[i].cpu().numpy() for k, v in H.items()},
  File "./process.py", line 107, in <dictcomp>
    **{k: v[i].cpu().numpy() for k, v in H.items()},
IndexError: index 6 is out of bounds for dimension 0 with size 6

How can I fix it, thank you

zhou13 commented 2 years ago

This is the first time I saw such errors. Did you do any modifications to the code?

shijian97 commented 2 years ago

This is the first time I saw such errors. Did you do any modifications to the code?

No I didn't. Is that about python? I use python3.6.9

shijian97 commented 2 years ago

This is the first time I saw such errors. Did you do any modifications to the code?

Now I'm trying to train the model again. In order to figure out what went wrong

shijian97 commented 2 years ago

This is the first time I saw such errors. Did you do any modifications to the code?

I don't know what happend, but after my training the model again, the error disappered... Anyway, thanks alot for your patience!