Comments (3)
ahhh, unicode hassles... thanks for reporting this. I'd rather find which part of the code assumes ascii and fix it to work with unicodes. I'm on vacation right now but when I get back I could try to hunt around a bit. The problem we had with this strategy (and the thing to watch out for) in char-rnn is that unicode support made the code much slower, and the memory footprint much larger, etc. It's not clear if we'd run into the same problems here.
from neuraltalk2.
I would guess not, because isn't that the point of parsing the captions into individual words and then creating a word->bit mapping vocabulary? Actually, I've been wondering for a while: did you ever try putting char-rnn rather than a word-level rnn on top of neuraltalk2, or is Coco not big enough to train that too?
from neuraltalk2.
Good point, neuraltalk2 works mostly on level of indices and the main script isn't too aware of the mappings. I also wrote the code specifically in such a way that character-level extensions would be easy in the future. I haven't actually tried this for lack of time, but in principle this should require a very small change in the prepro python file, where instead of splitting sentence tokens by space you split by each character. The only thing to worry about is that by default the max_seq_length
is 16, but in this case you'd want that to be quite a bit higher. But in principle nothing preventing it, and the train script should be indifferent, all it sees are images and sequences of integers.
from neuraltalk2.
Related Issues (20)
- Replacing words in captions
- Missing file name HOT 1
- Few notes on the image test split of this repo.
- coco_preprocess.ipynb: print val.keys() ^ SyntaxError: invalid syntax HOT 1
- Is it possible to port this to Pytorch?
- Do you have Deep-Visual alignment cvpr 2015 implemented?
- Already captioned mscoco images
- cudnn problem HOT 3
- protobuf, loadcaffe, and hdf5 are also required for inference
- train.lua error , cuda runtime error (2) : out of memory HOT 1
- Wrong JPEG library version: library is 90, caller expects 80
- language_eval error HOT 5
- Good pretrained checkpoint model
- hi,do you think pytorch is better than torch?
- AssertionError: error: some caption had no words?
- Chinese image description, In the result, multiple words of the same type appear
- init.lua:235: Not a JPEG file: starts with 0x47 0x49 HOT 1
- train.lua run error
- how to run it in win10???
- DeepAI.org display is non-functional. Is this supposed to be the case? IDK.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neuraltalk2.