reiinakano / fast-style-transfer-deeplearnjs

Demo of in-browser Fast Neural Style Transfer with deeplearn.js library

Home Page:https://reiinakano.github.io/fast-style-transfer-deeplearnjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uncaught SyntaxError: Unexpected token v in JSON at position 0

fomenyesu opened this issue · comments

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

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).

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/

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

Thanks!