Skip to content

init.lua:235: Not a JPEG file: starts with 0x47 0x49 #206

@beyondguo

Description

@beyondguo

I have more than 10000 pictures to caption.
It successfully captioned 1000 pictures and then I got this error:

/root/torch/install/bin/luajit: /root/torch/install/share/lua/5.1/image/init.lua:235: Not a JPEG file: starts with 0x47 0x49
stack traceback:
        [C]: in function 'load'
        /root/torch/install/share/lua/5.1/image/init.lua:235: in function 'loader'
        /root/torch/install/share/lua/5.1/image/init.lua:388: in function 'load'
        ./misc/DataLoaderRaw.lua:82: in function 'getBatch'
        eval.lua:116: in function 'eval_split'
        eval.lua:173: in main chunk
        [C]: in function 'dofile'
        /root/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
        [C]: at 0x00406670

It dosen't tell me which picture is wrong, I have no idea how to fix this. Can anybody help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions