Skip to content

Commit 09bf1e3

Browse files
authored
Update contents (#7)
* Translate menu items and update meta information in config.toml * Update homepage.yml with new book details and links, and disable unused sections * Add new image for the about page * Refactor footer layout by wrapping footer content in budoux-ja and commenting out unused sections * Wrap titles and content in budoux-ja for improved text rendering * Add blogcard shortcode for embedding Hatenablog cards * Update homepage links to point to Amazon and modify purchase button in header * update * update
1 parent f3d3a4b commit 09bf1e3

File tree

8 files changed

+161
-93
lines changed

8 files changed

+161
-93
lines changed

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
--ignore-fragments \
4141
-e t.co \
4242
-e twitter.com \
43+
-e x.com \
44+
-e impress.co.jp \
4345
"
4446

4547
- name: Deploy

config.toml

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,32 +37,32 @@ URL = "https://unpkg.com/budoux/bundle/budoux-ja.min.js"
3737
[menu]
3838

3939
[[menu.main]]
40-
name = "About"
40+
name = "概要"
4141
URL = "book"
4242
weight = 1
4343

4444
[[menu.main]]
45-
name = "Chapter"
45+
name = "目次"
4646
URL = "chapter"
4747
weight = 2
4848

49-
[[menu.main]]
50-
name = "Reviews"
51-
URL = "review"
52-
weight = 3
49+
# [[menu.main]]
50+
# name = "Reviews"
51+
# URL = "review"
52+
# weight = 3
5353

5454
[[menu.main]]
55-
name = "Author"
55+
name = "著者"
5656
URL = "author"
5757
weight = 4
5858

5959
[[menu.main]]
60-
name = "Blog"
60+
name = "補足"
6161
URL = "blog"
6262
weight = 5
6363

6464
[[menu.main]]
65-
name = "Contact"
65+
name = "リンク"
6666
URL = "contact"
6767
weight = 6
6868

@@ -72,12 +72,12 @@ weight = 6
7272
logo = ""
7373
home = "Home"
7474
# Meta data
75-
description = "This is meta description"
76-
author = "Themefisher"
75+
description = '"Pythonで学ぶ画像生成"のランディングページです。'
76+
author = "北田 俊輔"
7777
# Google Analytics
7878
googleAnalyticsID = "" # Your ID
7979
# copyright
80-
copyright = "Copyright © 2021 [Gethugothemes](https://gethugothemes.com) All Rights Reserved"
80+
copyright = "Copyright © 2025 [Shunsuke Kitada](https://shunk031.me/). All Rights Reserved"
8181

8282
# Preloader
8383
[params.preloader]
@@ -95,7 +95,7 @@ expire_days = 2
9595

9696
############################# Footer ########################
9797
[params.footer]
98-
content = "Each theme featured at the Bootstrap marketplace has been reviewed by Bootstrap's creators.Lorem ipsum dolor sit amet, consectetur adipisicing elit."
98+
content = "近年の技術の発展により、画像生成技術はますます身近になっています。本書は、画像生成について実践的に学べるように、Pythonを使った実装を示しています。"
9999

100100

101101
############################# post share ###################
@@ -118,3 +118,9 @@ link = "#"
118118
title = "github"
119119
icon = "ti-github" # themify icon : https://themify.me/themify-icons
120120
link = "#"
121+
122+
[server]
123+
[[server.headers]]
124+
for = '/**'
125+
[server.headers.values]
126+
X-Frame-Options = 'SAMEORIGIN'

data/homepage.yml

Lines changed: 97 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,25 @@
11
########################## Banner #############################
22
banner:
33
enable : true
4-
writer : "北田俊輔(著)"
4+
writer : "北田 俊輔(著)"
55
title : "Pythonで学ぶ画像生成"
6+
subtitle: "[機械学習実践シリーズ](https://bookwalker.jp/series/301073/?srsltid=AfmBOor5eVTuqVphm57pVykDTEWjBjNh4SoN5EC-JQQNe6HQ7Hb6uD9u)"
67
image : "images/about/book.png"
78
content : "近年の技術の発展により、画像生成技術はますます身近になっています。本書は、画像生成について実践的に学べるように、Pythonを使った実装を示しています。"
89
price : "3,850円"
910
breakdown: "本体3,500円+税10%"
11+
bookItem:
12+
- label: "Amazon.co.jp"
13+
link: "https://www.amazon.co.jp/dp/4295021105/ref=nosim/?tag=impressjapan-22&linkCode=as1"
14+
15+
# - label: "楽天ブックス"
16+
# link: "https://hb.afl.rakuten.co.jp/hgc/0e4417b1.a489ce30.0e4417b2.93258c0e/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frdt%2Fitem%2F%3Fsid%3D213310%26sno%3DISBN%3A9784295021100"
17+
# - label: "セブンネット"
18+
# link: "https://ck.jp.ap.valuecommerce.com/servlet/referral?sid=3192673&pid=884188533&vc_url=https%3A%2F%2F7net.omni7.jp%2Fdetail_isbn%2F9784295021100"
19+
# - label: "ヨドバシ.com"
20+
# link: "https://www.yodobashi.com/ec/category/index.html?word=9784295021100&extst=impress"
21+
# - label: "HonyaClub.com"
22+
# link: "https://www.honyaclub.com/shop/affiliate/itemlist.aspx?isbn=9784295021100&etcaff=AFI-LS"
1023

1124
######################## Book Preview ##########################
1225
preview:
@@ -17,31 +30,26 @@ preview:
1730
- image : "images/about/book_page2.png"
1831
- image : "images/about/book_page.png"
1932

20-
title : "Look Inside the book"
21-
content : "
22-
This lovely, well-written book is concerned with creating typography and is essential for professionals who regularly work for clients.
23-
24-
25-
Dolor quam consectetur corrupti, dignissimos sequi. Nihil totam alias, ipsa facere quibusdam, modi accusamus quod quae quaerat.
26-
"
33+
title : "画像生成の基礎から実践までを一冊に凝縮"
34+
content : "まず「画像生成とは何か」という基本を解説し、次に画像生成を支える深層学習の基礎を押さえます。その上で、現在の最先端技術である拡散モデルと、その効率化・応用例としてStable Diffusionなどを詳しく取り上げています。最後には、拡散モデルがもたらす革新的な可能性と同時に、技術の制限や倫理的な課題にも言及し、将来のさらなる発展・応用に向けた展望を示しています。"
2735

2836
inside:
2937
# book inside item loop
30-
- insideItem : "7 Chapter"
31-
- insideItem : "Explained Details"
32-
- insideItem : "Clear Understanding"
33-
- insideItem : "Best practices"
38+
- insideItem : "6章 + 各章末に実装に役立つコラム付き"
39+
- insideItem : "Python・PyTorchで学ぶ画像生成の実装"
40+
- insideItem : "Diffusersによる最先端技術の実践"
41+
- insideItem : "画像生成を中心とした様々なタスクの解説を多数収録"
3442

3543
# button
3644
button:
3745
enable : true
38-
label : "Purchase on Amazon"
39-
link : "#"
46+
label : "Amazonでの購入はこちら"
47+
link : "https://amzn.asia/d/2C7Jm6E"
4048

4149

4250
########################## Service ##############################
4351
service:
44-
enable : true
52+
enable : false
4553
serviceItem:
4654
# service item loop
4755
- title : "Experience"
@@ -61,45 +69,45 @@ service:
6169

6270
######################### Quote #############################
6371
quote:
64-
enable : true
72+
enable : false
6573
quote: "It's simply the best guide to making money online ever released which only a fool would ignore."
6674
quoteBy: "John Smith"
6775

6876

6977
######################### Chapters ##########################
7078
chapters:
7179
enable : true
72-
title : "Full Chapter Overview"
73-
subtitle : "Libero atque veniam molestiae ipsa aliquid quam facilis dolore."
80+
title : "目次"
81+
subtitle : "画像生成の概要から拡散モデルを中心とした最新技術、そして応用・今後の展望までを体系的に紹介します。"
7482
chapter:
7583
# chapter preview loop
76-
- title : "Chapter 1"
77-
content : "Tips on scouting the city and making the most out of your three-month tourist visa."
84+
- title : "第1章: 画像生成とは?"
85+
content : "コンピュータが画像を生成する仕組みの概要とその応用について説明します。近年の画像生成技術は大きく発展しました。その結果、人間の創造的な営みの代表である画像表現がコンピュータでも実現できるようになりました。ここでは特に画像生成AIとして注目を集める技術を紹介します。具体的には「指定したテキストから画像を生成するAI」の概要を説明します。"
7886

7987
# chapter preview loop
80-
- title : "Chapter 2"
81-
content : "Tips on scouting the city and making the most out of your three-month tourist visa."
82-
88+
- title : "第2章: 深層学習の基礎知識"
89+
content : "現在の画像生成技術の根幹を担う深層学習を導入します。深層学習とは、ニューラルネットワークを多層にした機械学習手法を指します。行列演算を用いた「層」を多数に重ねてモデルを構成するため、「深層学習」と呼ばれています。現在画像生成で用いられているStable Diffusionをはじめとした拡散モデルもほぼすべて深層学習に基づいています。"
90+
8391
# chapter preview loop
84-
- title : "Chapter 3"
85-
content : "Calculating your cost of living, with an overview of NYC neighborhoods and average rent prices. Includes tips on when to move to NYC."
92+
- title : "第3章: 拡散モデルの導入"
93+
content : "画像生成において最先端の技術である拡散モデルを導入します。まず拡散モデルが含まれる生成モデルの概要について紹介します。次に、拡散モデルの基本的な概念であるDDPMとその発展について説明します。さらに拡散モデルと密接に関係するスコアベース生成モデルについても説明します。最後に拡散モデルを最先端の生成手法へと押し上げた生成技術について取り上げます。"
8694

8795
# chapter preview loop
88-
- title : "Chapter 4"
89-
content : "Calculating your cost of living, with an overview of NYC neighborhoods and average rent prices. Includes tips on when to move to NYC."
90-
96+
- title : "第4章: 潜在拡散モデルとStable Diffusion"
97+
content : "潜在拡散モデル(LDM)とその発展であるStable Diffusionについて解説します。LDMはDDPMをより効率化したモデルであり、これをもとにStable Diffusionが構築されています。Stable Diffusionはこれまで研究されてきた手法が効果的に組み合わされて成り立っているため、以降ではそれら構成要素について詳しく説明します。さらに、開発が進んだStable Diffusionの各バージョンの違いについても解説します。"
98+
9199
# chapter preview loop
92-
- title : "Chapter 5"
93-
content : "Tips on scouting the city and making the most out of your three-month tourist visa."
100+
- title : "第5章: 拡散モデルによる画像生成技術の応用"
101+
content : "拡散モデルを様々な画像生成タスクへ応用した事例について紹介します。Stable Diffusion公開を皮切りに、テキストによる指示をベースにしながら、個人のニーズに合わせたり、より細かな制御を行った画像生成、高度な画像編集が可能になりました。またStable Diffusion自体を効率的に学習・推論させるための技術や、既存のStable Diffusionを拡張する技術についても紹介します。"
94102

95103
# chapter preview loop
96-
- title : "Chapter 6"
97-
content : "Tips on scouting the city and making the most out of your three-month tourist visa."
104+
- title : "第6章: 画像生成の今後"
105+
content : "拡散モデルによる画像生成の今後の展望について議論します。これまで、拡散モデルの基礎理論、実装、応用例を紹介し、人間と同等以上の性能を持つその革新的な可能性を示してきました。一方で、第1章3節でも述べたような制限や倫理的な問題も存在します。拡散モデルには利点欠点それぞれ存在しますが、可能性は依然として高く、画像生成にとどまらないさらなる応用と進化が期待されます。"
98106

99107

100108
########################## Revews ###########################
101109
reviews:
102-
enable : true
110+
enable : false
103111
title : "What people are saying"
104112
subtitle : "Amazing reviews illo tenetur laboriosam excepturi velit in, temporibus ab rem dicta sint obcaecati!"
105113
review:
@@ -134,7 +142,7 @@ reviews:
134142

135143
#################################### device ################################
136144
devices:
137-
enable : true
145+
enable : false
138146
title : "Read it on your favorite device!"
139147
content : "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Molestiae quod, nobis repudiandae! In
140148
commodi accusamus molestiae, sunt, tempora fugiat doloribus sint quisquam illo numquam corporis
@@ -161,22 +169,18 @@ devices:
161169
######################################## author #############################
162170
author:
163171
enable : true
164-
image : "images/about/home-1.jpg"
165-
name : "Yasin Arafat"
166-
designation : "A technical Writer"
167-
content : "
168-
Do you want to be even more successful? Learn to love learn and growth. The more efort you put into improving your skills, the bigger the payoff you will get.
172+
image : "images/about/py-img-gen.png"
173+
name : "北田 俊輔"
174+
designation : "リサーチサイエンティスト / 博士(工学)"
175+
content : "きただしゅんすけ。LINEヤフー株式会社リサーチサイエンティスト・法政大学大学院特任研究員。2023年3月に法政大学大学院理工学研究科を修了。博士(工学)。日本学術振興会特別研究員 (DC2) を経て現職。コンピュータビジョンや自然言語処理を始め、その融合領域である Vision & Language 分野にて研究に従事。現在はユーザにとって魅力的な画像やデザインの作成を支援するような最先端技術の研究開発に携わる。"
169176

170-
171-
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout."
172-
173-
# signature
174-
signature : "images/about/2.png"
177+
# # signature
178+
# signature : "images/about/2.png"
175179

176180

177181
################################ Awards #####################################
178182
awards:
179-
enable : true
183+
enable : false
180184
title : "We are award winner best selling book among the top rated 10 books!"
181185
award:
182186
# award item loop
@@ -195,10 +199,26 @@ awards:
195199
- title : "Excellence award"
196200
image : "images/about/award-4.png"
197201

202+
# award item loop
203+
- title : "International award"
204+
image : "images/about/award-1.png"
205+
206+
# award item loop
207+
- title : "Meritorious award"
208+
image : "images/about/award-2.png"
209+
210+
# award item loop
211+
- title : "Best book award"
212+
image : "images/about/award-3.png"
213+
214+
# award item loop
215+
- title : "Excellence award"
216+
image : "images/about/award-4.png"
217+
198218

199219
############################# Other books ###############################
200220
otherBooks:
201-
enable : true
221+
enable : false
202222
title : "Others books by the author"
203223
subtitle : "Laboriosam eos aperiam excepturi accusamus velit repudiandae sit rem incidunt, similique
204224
facere quas blanditiis."
@@ -219,33 +239,49 @@ otherBooks:
219239
- image : "images/about/b-4.jpg"
220240
link : "#"
221241

242+
# books loop
243+
- image : "images/about/b-1.jpg"
244+
link : "#"
245+
246+
# books loop
247+
- image : "images/about/b-2.jpg"
248+
link : "#"
249+
250+
# books loop
251+
- image : "images/about/b-3.jpg"
252+
link : "#"
253+
254+
# books loop
255+
- image : "images/about/b-4.jpg"
256+
link : "#"
257+
222258
################################ Blog ###################################
223259
blog:
224260
enable : true
225-
title : "Our insights and articles"
226-
subtitle : "Laboriosam eos aperiam excepturi accusamus velit repudiandae sit rem incidunt, similique facere quas blanditiis."
261+
title : "コラム補足記事"
262+
subtitle : "本文では紹介しきれなかった内容を補足します。"
227263
# blog post comes from 'content/blog'
228264

229265
################################# Contact ##############################
230266
contact:
231267
enable : true
232-
title : "Contact Us"
233-
subtitle : "Whether you have questions or you would just like to say hello, contact us.Lorem ipsum dolor sit amet, consectetur adipisicing elit. Provident, atque!"
268+
title : "リンク"
269+
subtitle: "本書に関連する GitHub / Hugging Face / X (Twitter) のアカウントです"
234270
contactItem:
235271
# contact Item loop
236-
- title : "Contact Quickly"
237-
icon : "ti-headphone-alt" # themify icon pack : https://themify.me/themify-icons
272+
- title: "GitHub"
273+
icon: "ti-github" # themify icon pack : https://themify.me/themify-icons
238274
list:
239-
- listItem : "+23-68017684"
240-
275+
- listItem: "[python-image-generation](https://github.com/py-img-gen/python-image-generation/issues)"
276+
241277
# contact Item loop
242-
- title : "Email"
243-
icon : "ti-email" # themify icon pack : https://themify.me/themify-icons
278+
- title: "Hugging Face"
279+
icon: "ti-face-smile" # themify icon pack : https://themify.me/themify-icons
244280
list:
245-
- listItem : "startor@support.com"
246-
281+
- listItem: "[huggingface.co/py-img-gen](https://huggingface.co/py-img-gen)"
282+
247283
# contact Item loop
248-
- title : "Location"
249-
icon : "ti-location-pin" # themify icon pack : https://themify.me/themify-icons
284+
- title: "X (Twitter)"
285+
icon: "ti-twitter" # themify icon pack : https://themify.me/themify-icons
250286
list:
251-
- listItem : "397 Lake forest drive street USA"
287+
- listItem: "[py_img_gen](https://x.com/py_img_gen)"

layouts/shortcodes/blogcard.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class="blogcard">
2+
<iframe class="hatenablogcard" style="width:100%;height:155px;max-width:500px;"
3+
src="https://hatenablog-parts.com/embed?url={{ .Get " url" }}" width="300" height="150" frameborder="0"
4+
scrolling="no"></iframe>
5+
</div>

static/images/about/py-img-gen.png

784 KB
Loading

0 commit comments

Comments
 (0)