書き込みテストスレッド Part2 (32レス)
書き込みテストスレッド Part2 http://mao.5ch.net/test/read.cgi/netspot/1680606882/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
必死チェッカー(本家)
(べ)
自ID
レス栞
あぼーん
3: 774円/60分 [sage] 2023/06/10(土) 00:29:06.84 ID:zNX8fgbM0 import threading def create_illustration(illustration_id): # イラストの生成処理を実装する # illustration_idに基づいて異なるイラストを作成する # 同時に作成するイラストの数 num_illustrations = 5 # スレッドを作成して実行する threads = [] for i in range(num_illustrations): t = threading.Thread(target=create_illustration, args=(i,)) threads.append(t) t.start() # 各スレッドの終了を待つ for t in threads: t.join() 上記 http://mao.5ch.net/test/read.cgi/netspot/1680606882/3
4: 774円/60分 [sage] 2023/06/10(土) 00:42:12.57 ID:zNX8fgbM0 import matplotlib.pyplot as plt plt.imshow(image) plt.axis('off') # 軸を非表示にする plt.show() http://mao.5ch.net/test/read.cgi/netspot/1680606882/4
5: 774円/60分 [sage] 2023/06/10(土) 01:00:40.68 ID:zNX8fgbM0 import matplotlib.pyplot as plt # イラスト1 plt.figure() plt.imshow(image1) plt.axis('off') # イラスト2 plt.figure() plt.imshow(image2) plt.axis('off') # イラスト3 plt.figure() plt.imshow(image3) plt.axis('off') # イラスト4 plt.figure() plt.imshow(image4) plt.axis('off') # 各イラストを表示 plt.show() http://mao.5ch.net/test/read.cgi/netspot/1680606882/5
6: 774円/60分 [sage] 2023/06/10(土) 01:08:38.77 ID:zNX8fgbM0 NameError Traceback (most recent call last) <ipython-input-25-c60c1f11b8ac> in <cell line: 5>() 3 # イラスト1 4 plt.figure() ----> 5 plt.imshow(image1) 6 plt.axis('off') 7 NameError: name 'image1' is not defined http://mao.5ch.net/test/read.cgi/netspot/1680606882/6
7: 774円/60分 [sage] 2023/06/10(土) 01:11:49.54 ID:zNX8fgbM0 import matplotlib.pyplot as plt # イラスト1のデータ image1 = # イラスト1のデータを代入 # イラスト1の表示 plt.figure() plt.imshow(image1) plt.axis('off') # イラスト2のデータ image2 = # イラスト2のデータを代入 # イラスト2の表示 plt.figure() plt.imshow(image2) plt.axis('off') # イラスト3のデータ image3 = # イラスト3のデータを代入 # イラスト3の表示 plt.figure() plt.imshow(image3) plt.axis('off') # イラスト4のデータ image4 = # イラスト4のデータを代入 # イラスト4の表示 plt.figure() plt.imshow(image4) plt.axis('off') # 各イラストを表示 plt.show() http://mao.5ch.net/test/read.cgi/netspot/1680606882/7
8: 774円/60分 [sage] 2023/06/10(土) 01:23:19.77 ID:zNX8fgbM0 import numpy as np import matplotlib.pyplot as plt # イラスト1のデータ image1 = np.random.rand(100, 100, 3) # 100x100の乱数のイメージデータ # イラスト1の表示 plt.figure() plt.imshow(image1) plt.axis('off') # イラスト2のデータ image2 = np.random.rand(100, 100, 3) # 100x100の乱数のイメージデータ # イラスト2の表示 plt.figure() plt.imshow(image2) plt.axis('off') # イラスト3のデータ image3 = np.random.rand(100, 100, 3) # 100x100の乱数のイメージデータ # イラスト3の表示 plt.figure() plt.imshow(image3) plt.axis('off') # イラスト4のデータ image4 = np.random.rand(100, 100, 3) # 100x100の乱数のイメージデータ # イラスト4の表示 plt.figure() plt.imshow(image4) plt.axis('off') # 各イラストを表示 plt.show() http://mao.5ch.net/test/read.cgi/netspot/1680606882/8
9: 774円/60分 [sage] 2023/06/10(土) 01:34:57.77 ID:zNX8fgbM0 num_illustrations = 5 image = pip("girl") for _ in range(num_illustrations): duplicate_image = duplicate(image) # duplicate_imageの処理または保存を行う http://mao.5ch.net/test/read.cgi/netspot/1680606882/9
10: 774円/60分 [sage] 2023/06/10(土) 01:59:59.32 ID:zNX8fgbM0 image = pipe(" dog ").images[0] image3 = pipe(" girl").images[0] image http://mao.5ch.net/test/read.cgi/netspot/1680606882/10
11: 774円/60分 [sage] 2023/06/10(土) 02:06:56.29 ID:zNX8fgbM0 import matplotlib.pyplot as plt # イラスト1の表示 plt.figure() plt.imshow(image1) plt.axis('off') plt.show() # イラスト2の表示 plt.figure() plt.imshow(image2) plt.axis('off') plt.show() # イラスト3の表示 plt.figure() plt.imshow(image3) plt.axis('off') plt.show() http://mao.5ch.net/test/read.cgi/netspot/1680606882/11
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.310s*