|
--- |
|
license: unknown |
|
language: |
|
- ja |
|
--- |
|
|
|
|
|
|
|
# 鉄道・電車LoRA |
|
世界中の変なLoRA愛好家の皆様、お元気でお過ごしでしょうか?<br> |
|
<br> |
|
これは「追加学習してみる実験」で作成した鉄道・電車等のLoRAです。<br> |
|
結論から言ってしまうと鉄道車輌や車内の学習はかなり難しく、ここにアップロードしたLoRAは期待したようなイラストを生成することがほぼ出来ません。<br> |
|
AI画像生成の「ノイズの海の中からなんとなくぼやっとしたイメージを再現する」という仕組み上では、パースが歪んでしまったり、勝手なアレンジが加えられたりすることがよくあります。<br> |
|
自動車・バイクや鉄道といった乗り物・機械系のイラスト生成は、各々をよく観察し細かな仕様の違いさえ分かってしまう熱心なファンとは相性が良くないジャンルかもしれません。<br> |
|
<br> |
|
私達が使っているSD15系モデルには、海外の鉄道車輌等の風景もある程度学習されているようです。<br> |
|
プロンプトで"train"や"train interior"(車輌の内装:車内)と書いて画像生成すれば、車輌の外観や車内のイラストが生成できます<br> |
|
しかし海外っぽい車輌や車内になってしまうことが多く、日本人の私達が日常で目にするような国内の車輌や車内風景を描くことはできません<br> |
|
LoRA等の追加学習で日本の電車でお出かけする風景のイラストを生成することはできるのか?とりあえずやってみようということでチャレンジしたのが別途アップしている山手線235系・阪急3000系の車内風景でした。<br> |
|
結果としては、車内の特徴をある程度学習はしてくれるのですが、窓やドア・シート配置といった規則性は再現できないので、かなり異次元日本の風景になってしまいました<br> |
|
<br> |
|
そして次に車輌の外観の学習ですが、車内と同じく、特徴をある程度は学習してくれるものの、縦や横に伸びてしまったり変形したり、あるべきパーツが無い・増殖するといった感じで、分かってる方にとってはかなり気持ち悪いイラストになってしまいます。<br> |
|
作成したLoRAで思ったような画像が生成できるかどうかを個人的に「打率」と呼んでいますが、その「打率」が2~3割にも届かない感じです。<br> |
|
<br> |
|
大まかな特徴を追加で学習できているので、実際の車輌の写真をControlNet等で参照させれば若干は改善することができますが…<br> |
|
素材を用意しなくてはならないので、結構面倒じゃないかなと思ったりします<br> |
|
<br> |
|
「実験してみた」ことで、出来そうな事と改善が難しそうな点がなんとなく分かってきたのが収穫かもしれません。<br> |
|
そのような訳で最近作成してみた色々な鉄道関係のLoRAを一旦まとめてみようと思います。皆様の研究・実験のお役に立てば幸いです。<br> |
|
<br> |
|
<br> |
|
## E233_1000_SD15 |
|
![00005-lametta_v2012 - 4076518618.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/1qZFH_1NbrhL0rdOWi-Wu.png) |
|
京浜東北線E233系の車内風景です。<br> |
|
e233, train interior, scenery, seat, window, door, poster (object) <br> |
|
<br> |
|
## E233ex_SD15 |
|
![00005-lametta_v2012 - 1430238489.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/bY9DUcLE3DpxnFab8i0_7.png) |
|
京浜東北線E233系の外観です。<br> |
|
e233, exterior, train, train station, railroad tracks, scenery, outdoors, day, real world location, <br> |
|
<br> |
|
## E233_SD15_V6 |
|
埼京線E233系の外観です。<br> |
|
E233, train, train station, railroad tracks, scenery, outdoors, power lines, day, sky, real world location, building<br> |
|
<br> |
|
## Hanshin5000 |
|
![00001-lametta_v2012 - 469739754.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/PfhCXZ_g4SOwa04lo789d.png) |
|
阪神のジェットカー5001形の外観です。<br> |
|
Hanshin5000, scenery, railroad tracks, train station, outdoors, train, real world location, power lines, <br> |
|
<br> |
|
## JNR205ex_SD15 |
|
![00008-lametta_v2012 - 4059319666.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/2yPwN0CgQRYLXn9620P-X.png) |
|
埼京線205系の外観です。<br> |
|
JNR205, train, railroad tracks, scenery, real world location, outdoors, realistic, photo background, building, power lines, headlight<br> |
|
JNR205, train, train station, railroad tracks, scenery, real world location, outdoors, day, ceiling, ceiling light, tail lights<br> |
|
<br> |
|
## JNR12kei_SD15 |
|
![00002-lametta_v2012 - 1414678840.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/0qXqvMm9x4KNeIxM5XALI.png) |
|
旧国鉄12系客車の車内です。<br> |
|
12kei, aisle, train interior, scenery, window, seat, ceiling light, indoors, sunlight, reflective floor<br> |
|
<br> |
|
## JNR_SUHA43_SD15 |
|
![00001-lametta_v2012 - 3193343041.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/rcSaNz6gnvd6mBb4XyfYy.png) |
|
旧国鉄スハ43・スハフ42等の客車の車内・外観です。<br> |
|
suha43aisle, train interior, scenery, seat, window, sunlight, ceiling, ceiling light, indoors<br> |
|
suha43, railroad tracks, train station, train, scenery, outdoors, day, tree, real world location<br> |
|
<br> |
|
## JNR_SUHA43W_SD15 |
|
![00001-lametta_v2012 - 3471792112.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/Tt-KhWAF8uMzEDqVC6cTk.png) |
|
旅の風景のイラストを作れないかとスハ43・スハフ42等の客車の通路から窓側のボックスシートを見た風景だけを学習してみたものです。<br> |
|
結論からいうと、元のモデル自体が持つ"train interior"のタグは車輌進行方向の視点が強く学習されているのでうまくいきませんでした。<br> |
|
suha43window, train interior, scenery, seat, window, shadow, day, sunlight, door, indoors<br> |
|
<br> |
|
## JNR_oha35_SD15 |
|
![00000-lametta_v2012 - 3668599625.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/tzS9CzmthaiTsp8gr6zZM.png) |
|
旧国鉄オハ35客車の車内です。スハ43より若干古い時代の車輌で近代化更新があまりなされていない木製の車内風景を学習させてみたものです。<br> |
|
oha35, train interior, scenery, window, indoors, sunlight, chair, ceiling, ceiling light, wooden floor<br> |
|
<br> |
|
## oha35_deck_SD15 |
|
![00012-lametta_v2012 - 185322511.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/GBn45IZEQ_BoTULsjHdJ0.png) |
|
旧客のデッキ付近の風景をイラストにできないかと作ってみたものです。うまくいきません。<br> |
|
kyukyaku, vestibule, train interior, scenery, door, indoors, ceiling light, wooden floor, train<br> |
|
kyukyaku, scenery, train station, railroad tracks, day, outdoors, door, window, sign, sunlight, train, vestibule, outdoors<br> |
|
kyukyaku, train interior, scenery, vestibule, building, train station, power lines, outdoors, door, window<br> |
|
<br> |
|
## 大阪環状線103系 |
|
![00001-lametta_v2012 - 2937007514.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/bpAMZ43Yn5-xTHb8v7kxR.png) |
|
大阪環状線を走っていた103系です。延命更新工事で原型からはかなり変化しています。<br> |
|
JRE103, train, train station, railroad tracks, outdoors, real world location, photo background, 1boy, realistic, standing, scenery, headlight<br> |
|
JRE103, train, train station, railroad tracks, multiple boys, vehicle focus, scenery, tail lights<br> |
|
<br> |
|
## 大阪環状線201系 |
|
![00000-lametta_v2012 - 3076100390.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/FzUw_5MHqNjeRd-EKdzUT.png) |
|
大阪環状線を走っていた201系です。<br> |
|
JRE201, train, night, train station, scenery, outdoors, building, railroad tracks, headlight<br> |
|
JRE201, train, train station, railroad tracks, scenery, vehicle focus, outdoors, tail lights<br> |
|
<br> |
|
## 大阪環状線323系 |
|
![00005-lametta_v2012 - 522113296.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/8W7ndNWngbDINWnzhq7Zx.png) |
|
現在大阪環状線の主力となっている323系です。<br> |
|
JRE323, train, train station, pants, multiple boys, backpack, bag, railroad tracks, multiple girls, shoes, scenery, real world location, standing, headlight<br> |
|
JRE323, train, train station, railroad tracks, scenery, outdoors, real world location, tail lights<br> |
|
<br> |
|
## OsakaMetro10A |
|
![00003-lametta_v2012 - 1619719219.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/Q2fmWMCgIflXILFLT81lX.png) |
|
大阪市交通局(現:大阪市高速電気軌道/大阪メトロ)でかつて御堂筋線を走っていた10A系です。<br> |
|
OsakaMetro10A, subway station, train station, train, multiple boys, bag, real world location, multiple girls, railroad tracks, pants, 6+boys, black hair, rolling suitcase, holding, outdoors, tail lights<br> |
|
OsakaMetro10A, subway station, train station, train, railroad tracks, hat, 1boy, scenery, realistic, uniform, railroad worker, outdoors, tail lights<br> |
|
<br> |
|
## OsakaMetro20 |
|
![00004-lametta_v2012 - 2159394710.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/dlur0s6MnKNowf4YGlvCd.png) |
|
大阪メトロ中央線20系です。<br> |
|
OsakaMetro20, subway station, train, train station, scenery, railroad tracks, ceiling, ceiling light, headlight<br> |
|
OsakaMetro20, subway station, train, train station, multiple boys, railroad tracks, real world location, multiple girls, scenery, ceiling, ceiling light, tail lights, headlight<br> |
|
<br> |
|
## OsakaMetro21 |
|
![00005-lametta_v2012 - 594479983.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/yKxAIwhRUjZswUJqizf-q.png) |
|
大阪メトロ御堂筋線21系です。<br> |
|
OsakaMetro21, subway station, train, train station, railroad tracks, scenery, real world location, outdoors, ceiling, ceiling light, headlight<br> |
|
OsakaMetro21, subway station, train, train station, scenery, ceiling, tail lights<br> |
|
<br> |
|
## OsakaMetro22 |
|
![00009-lametta_v2012 - 3078272944.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/ZO-m43qGq6B-IYcmkAr7F.png) |
|
大阪メトロ谷町線22系です。<br> |
|
OsakaMetro22, subway station, train, train station, multiple girls, pants, bag, 1boy, railroad tracks, multiple boys, ceiling, ceiling light, headlight<br> |
|
OsakaMetro22, subway station, train, train station, multiple boys, 6+boys, hat, real world location, scenery, shirt, night, pants, gloves, bag, holding, white shirt, uniform, railroad worker, ceiling, ceiling light, tail lights<br> |
|
<br> |
|
## OsakaMetro66 |
|
![00002-lametta_v2012 - 3901540579.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/Y7Zn1Epem7goLAnObbaIb.png) |
|
大阪メトロ堺筋線66系です。<br> |
|
OsakaMetro66, subway station, train, scenery, train station, outdoors, ceiling, headlight<br> |
|
OsakaMetro66, subway station, train, scenery, train station, tiles, tile floor, door, ceiling, ceiling light, tail lights<br> |
|
<br> |
|
## OsakaMetro70 |
|
![00001-lametta_v2012 - 562878862.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/BALD_kKIVYCoOXwMSAokb.png) |
|
大阪メトロ長堀鶴見緑地線70系です<br> |
|
OsakaMetro70, subway station, train, scenery, train station, night, ceiling, ceiling light, headlight<br> |
|
OsakaMetro70, subway station, train, train station, railroad tracks, scenery, outdoors, ceiling, ceiling light, taillight<br> |
|
<br> |
|
## OsakaMetro80 |
|
![00002-lametta_v2012 - 4237570337.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/JPml4V6XbHKlDguaDLptf.png) |
|
大阪メトロ今里筋線80系です<br> |
|
OsakaMetro80, subway station, train, scenery, ceiling, ceiling light, scenery, headlight<br> |
|
OsakaMetro80, subway station, train, scenery, door, train station, outdoors, light, ceiling, ceiling light, scenery, taillight<br> |
|
<br> |
|
## OsakaMetro400 |
|
![00004-lametta_v2012 - 797876422.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/QaB09xaNUpln_xkABeeAO.png) |
|
大阪メトロ中央線400系です<br> |
|
OsakaMetro400, subway station, train station, scenery, headlight<br> |
|
OsakaMetro400, subway station, train station, train, scenery, taillight<br> |
|
<br> |
|
## OsakaMetro30000 |
|
![00011-lametta_v2012 - 1616524035.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/A5LckzEo5PefwimlByogC.png) |
|
大阪メトロ御堂筋線30000系です。<br> |
|
OsakaMetro30000, subway station, 1boy, pants, shirt, male focus, white shirt, black pants, hat, solo, from behind, black hair, night, headlight<br> |
|
OsakaMetro30000, subway station, train station, scenery, night, railroad tracks, train, sign, door, real world location, ceiling, ceiling light, headlight<br> |
|
OsakaMetro30000, subway station, police, hat, train station, police uniform, motor vehicle, train, scenery, taillight<br> |
|
<br> |
|
## TokyoMetro01_SD15 |
|
![00010-lametta_v2012 - 3765848632.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/Sk3sqo1XiCeDj5Bqv9YnM.png) |
|
営団地下鉄(現:東京地下鉄(東京メトロ))銀座線01系です<br> |
|
TokyoMetro01, subway station, train station, train, 6+boys, multiple boys, blurry, real world location, depth of field, railroad tracks, bag, multiple girls, scenery, ceiling, ceiling light, headlight<br> |
|
TokyoMetro01, subway station, train station, train, scenery, real world location, railroad tracks, multiple boys, multiple girls, ceiling, ceiling light, tail lights<br> |
|
<br> |
|
## TokyoMetro02_SD15 |
|
![00014-lametta_v2012 - 89141966.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/3J4vQRIt78NMxygmMikei.png) |
|
営団地下鉄 丸ノ内線02系です<br> |
|
TokyoMetro02, subway station, train station, train, scenery, railroad tracks, real world location, realistic, night, ceiling, ceiling light, headlight<br> |
|
TokyoMetro02, subway station, train station, train, scenery, railroad tracks, ceiling, ceiling light, taillight<br> |
|
<br> |
|
## TokyoMetro03_SD15 |
|
![00006-lametta_v2012 - 106547182.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/KX7XBNsq0kYit7GE9Iq_E.png) |
|
営団地下鉄 日比谷線03系です<br> |
|
TokyoMetro03, subway station, train station, train, scenery, railroad tracks, sign, real world location, bag, outdoors, day, ceiling, ceiling light, headlight<br> |
|
TokyoMetro03, subway station, train station, train, multiple boys, bag, scenery, railroad tracks, skirt, 6+boys, ceiling, ceiling light, tail lights<br> |
|
<br> |
|
## TokyoMetro05_SD15 |
|
![00010-lametta_v2012 - 2831566761.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/gJijMDCGT--mjyuj48-bs.png) |
|
営団地下鉄 東西線05系です<br> |
|
TokyoMetro05, subway station, train station, train, railroad tracks, scenery, outdoors, bench, ceiling, ceiling light, headlight<br> |
|
TokyoMetro05, subway station, train station, train, railroad tracks, white shirt, pants, 1boy, shirt, black hair, scenery, male focus, hat, black pants, short sleeves, standing, real world location, black headwear, wide shot, ceiling, ceiling light, tail lights<br> |
|
<br> |
|
## TokyoMetro10000_SD15 |
|
![00005-lametta_v2012 - 64129083.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/S6uqah-mW55nbE28GnSJj.png) |
|
東京メトロ 有楽町線・副都心線10000系です<br> |
|
TokyoMetro10000, subway station, train station, train, scenery, sign, outdoors, 1boy, jacket, pants, standing, blurry, ceiling, ceiling light, headlight<br> |
|
TokyoMetro10000, subway station, train station, train, railroad tracks, real world location, scenery, photo background, realistic, 1boy, vehicle focus, ceiling, ceiling light, tail lights, headlight<br> |
|
TokyoMetro10000, subway station, train station, train, scenery, railroad tracks, real world location, building, outdoors, day, ceiling, ceiling light, tail lights<br> |
|
<br> |
|
## TokyoMetro1000_SD15 |
|
![00001-lametta_v2012 - 2771167769.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/otNXcJEzLAMyouQFKUOu5.png) |
|
東京メトロ 銀座線1000系です<br> |
|
TokyoMetro1000, subway station, train station, train, scenery, sign, light, railroad tracks, ceiling, ceiling light, headlight<br> |
|
TokyoMetro1000, subway station, train station, multiple boys, train, hat, scenery, railroad tracks, real world location, ceiling, ceiling light, tail lights<br> |
|
<br> |
|
## TokyoMetro5000_SD15 |
|
![00005-lametta_v2012 - 2507980262.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/lTzb1_Gl2gEeSocYojsqn.png) |
|
営団地下鉄 東西線を走っていた5000系です<br> |
|
TokyoMetro5000, subway station, train station, train, scenery, railroad tracks, outdoors, real world location, ceiling, ceiling light, headlight<br> |
|
TokyoMetro5000, subway station, train station, train, railroad tracks, black hair, 1boy, standing, 1girl, pants, shoes, wide shot, scenery, real world location, tail lights<br> |
|
<br> |
|
## TokyoMetro6000_SD15 |
|
![00002-lametta_v2012 - 1411113388.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/nBaXrurrVyTd6fapl3q4E.png) |
|
営団地下鉄 千代田線を走っていた6000系です<br> |
|
TokyoMetro6000, subway station, train station, train, railroad tracks, scenery, chinese text, real world location, headlight<br> |
|
TokyoMetro6000, subway station, train station, train, scenery, fence, outdoors, real world location, night, railroad tracks, ceiling, ceiling light, tail lights<br> |
|
<br> |
|
## TokyoMetro7000_SD15 |
|
![00001-lametta_v2012 - 4203114707.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/qlPri1_J6cm-apPBSgPZv.png) |
|
営団地下鉄 有楽町線を走っていた7000系です<br> |
|
TokyoMetro7000, subway station, train station, train, scenery, railroad tracks, tiles, ceiling, ceiling light, headlight<br> |
|
TokyoMetro7000, subway station, train station, train, railroad tracks, scenery, outdoors, real world location, day, building, tail lights<br> |
|
<br> |
|
## TokyoMetro8000_SD15 |
|
![00004-lametta_v2012 - 656905935.png](https://cdn-uploads.huggingface.co/production/uploads/63056ac3fca1d8d92b8061a3/8ezjl9HDYEcP--i74EuLY.png) |
|
営団地下鉄 半蔵門線8000系です<br> |
|
TokyoMetro8000, train, railroad tracks, real world location, outdoors, scenery, building, sky, day, power lines, headlight<br> |
|
TokyoMetro8000, subway station, train station, train, scenery, ceiling, ceiling light, headlight<br> |
|
TokyoMetro8000, subway station, train station, train, scenery, tail lights<br> |
|
<br> |
|
|