reiinakano / fast-style-transfer-deeplearnjs

Demo of in-browser Fast Neural Style Transfer with deeplearn.js library
https://reiinakano.github.io/fast-style-transfer-deeplearnjs
MIT License
1.35k stars 110 forks source link

Uncaught SyntaxError: Unexpected token v in JSON at position 0 #3

Closed fomenyesu closed 6 years ago

fomenyesu commented 6 years ago

Hi, I clone your project, and run it as readme. But the demo is not working. When I clicked the transfer button, I got the follow error: Uncaught SyntaxError: Unexpected token v in JSON at position 0.

Here is the return of network.: version https://git-lfs.github.com/spec/v1 oid sha256:e03432142aa5e7f85776094d69bf5b90b11ba4498026d5ba2c73fefefbe35bf9 size 4689

reiinakano commented 6 years ago

Hmm, I think you may need to do git lfs pull? Can you confirm that src/ckpts folder actually contains the big 6MB folders?

I'm not very well-versed in the details of lfs, but you probably need to install Git LFS

Either way, the issue is that you need to pull down the files stored in Git LFS as well, because right now you don't have them (only the pointer files).

reiinakano commented 6 years ago

After doing a bit of digging, this is likely the problem you're having. To fix, please install Git LFS

https://help.github.com/articles/collaboration-with-git-large-file-storage/

reiinakano commented 6 years ago

As LFS is no longer used, this issue is no longer relevant.

fomenyesu commented 6 years ago

Thanks!