- Notifications
You must be signed in to change notification settings - Fork2
[PyTorch] ClipCap for Japanese (日本語で学習・推論)
License
NotificationsYou must be signed in to change notification settings
Japanese-Image-Captioning/ClipCap-for-Japanese
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository usesrinna/japanese-gpt2-medium andrinna/japanese-clip-vit-b-16
- Thanks for rinna Co., Ltd. ;)
This code usesSTAIR Captions for training Japanese image captioning model.
- So you should download STAIR Captions andCOCO datasets
- Dowloaddatasets & unzip & place it in
./
(./STAIR-captions
). - DownloadCOCO datasets & unzip & place it in
./
(./train2014
,./val2014
).
python train.py
python train.py --eval
output: 庭の芝生の上に青い服の男性がいる
output: 男性がスケートボードをしている
output: 窓の外にテントが立ている
output: パソコンのキーボードの上に黒い猫がいる
output: 黒い猫が黒い猫のトイレに頭を付けている
output: キッチンの中にたくさんの商品が並べられている
output: 猫がテーブルの上にある器を見ている
output: 野球の応援をしている男性と、その後ろで観戦している男性
This work is licensed under the MIT License. To view a copy of this license, see LICENSE.
About
[PyTorch] ClipCap for Japanese (日本語で学習・推論)
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.