X



書き込みテストスレッド Part2
0003774円/60分
垢版 |
2023/06/10(土) 00:29:06.84ID: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()
上記
0004774円/60分
垢版 |
2023/06/10(土) 00:42:12.57ID:zNX8fgbM0
import matplotlib.pyplot as plt

plt.imshow(image)
plt.axis('off') # 軸を非表示にする

plt.show()
0005774円/60分
垢版 |
2023/06/10(土) 01:00:40.68ID: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()
0006774円/60分
垢版 |
2023/06/10(土) 01:08:38.77ID: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
0007774円/60分
垢版 |
2023/06/10(土) 01:11:49.54ID: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()
0008774円/60分
垢版 |
2023/06/10(土) 01:23:19.77ID: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()
0009774円/60分
垢版 |
2023/06/10(土) 01:34:57.77ID:zNX8fgbM0
num_illustrations = 5

image = pip("girl")
for _ in range(num_illustrations):
duplicate_image = duplicate(image)
# duplicate_imageの処理または保存を行う
0010774円/60分
垢版 |
2023/06/10(土) 01:59:59.32ID:zNX8fgbM0
image = pipe(" dog ").images[0]
image3 = pipe(" girl").images[0]
image
0011774円/60分
垢版 |
2023/06/10(土) 02:06:56.29ID: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()
0014774円/60分
垢版 |
2023/07/25(火) 07:52:13.90
てs
0015774円/60分
垢版 |
2023/07/25(火) 07:52:46.81
てs
0016
垢版 |
2023/07/25(火) 08:03:42.14ID:ZbjPk/I80
てs
0017
垢版 |
2023/07/25(火) 08:04:35.37ID:ZbjPk/I80
てs
0018
垢版 |
2023/07/25(火) 08:06:56.92ID:ZbjPk/I80
てs
0019
垢版 |
2023/07/25(火) 08:07:29.84ID:ZbjPk/I80
てs
0020774円/60分
垢版 |
2023/07/25(火) 14:55:47.78ID:CeSwu9u50
てすと
0021774円/60分
垢版 |
2023/09/15(金) 13:09:11.25ID:W4jtMYX/0
今度の休みにキャンプ行くんやけど、楽しみやわ
0022774円/60分
垢版 |
2024/02/11(日) 21:38:02.90ID:tn2NDaD50
テスト
0023774円/60分
垢版 |
2024/02/12(月) 02:17:00.64ID:d90wn2h90
ɡŋ
レスを投稿する


ニューススポーツなんでも実況