Unverified Commit c645a865 authored by zhoujun's avatar zhoujun Committed by GitHub
Browse files

Merge pull request #5278 from WenmuZhou/fix_vqa

add ctc blank to android demo
parents 3ed33a24 7c04ff55
...@@ -160,6 +160,7 @@ public class Predictor { ...@@ -160,6 +160,7 @@ public class Predictor {
for (String content : contents) { for (String content : contents) {
wordLabels.add(content); wordLabels.add(content);
} }
wordLabels.add(" ");
Log.i(TAG, "Word label size: " + wordLabels.size()); Log.i(TAG, "Word label size: " + wordLabels.size());
} catch (Exception e) { } catch (Exception e) {
Log.e(TAG, e.getMessage()); Log.e(TAG, e.getMessage());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment