2ちゃんねる ■掲示板に戻る■ 全部 1- 最新50    

書き込みテストスレッド Part2

1 :774円/60分:2023/04/04(火) 20:14:42.91 ID:KnzZSzP50.net
書き込みテストスレッド

書き込みテストスレッド
https://mao.5ch.net/test/read.cgi/netspot/1610517381/

2 :774円/60分:2023/05/26(金) 19:50:30.30 ID:Li9CT4QZ0.net
てすと

3 :774円/60分:2023/06/10(土) 00:29:06.84 ID:zNX8fgbM0.net
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()
上記

4 :774円/60分:2023/06/10(土) 00:42:12.57 ID:zNX8fgbM0.net
import matplotlib.pyplot as plt

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

plt.show()

5 :774円/60分:2023/06/10(土) 01:00:40.68 ID:zNX8fgbM0.net
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()

6 :774円/60分:2023/06/10(土) 01:08:38.77 ID:zNX8fgbM0.net
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

7 :774円/60分:2023/06/10(土) 01:11:49.54 ID:zNX8fgbM0.net
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()

8 :774円/60分:2023/06/10(土) 01:23:19.77 ID:zNX8fgbM0.net
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()

9 :774円/60分:2023/06/10(土) 01:34:57.77 ID:zNX8fgbM0.net
num_illustrations = 5

image = pip("girl")
for _ in range(num_illustrations):
duplicate_image = duplicate(image)
# duplicate_imageの処理または保存を行う

10 :774円/60分:2023/06/10(土) 01:59:59.32 ID:zNX8fgbM0.net
image = pipe(" dog ").images[0]
image3 = pipe(" girl").images[0]
image

11 :774円/60分:2023/06/10(土) 02:06:56.29 ID:zNX8fgbM0.net
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()

12 :774円/60分:2023/06/16(金) 15:41:39.60 ID:mz3UizfG0.net
てすと3

13 :774円/60分:2023/06/21(水) 10:51:28.80 ID:0WnNW2hj0.net
https://imgur.com/a/SYazjy0

14 ::2023/07/25(火) 08:03:42.14 ID:ZbjPk/I80.net
てs

5 KB
新着レスの表示

掲示板に戻る 全部 前100 次100 最新50
名前: E-mail (省略可) :

read.cgi ver 2014.07.20.01.SC 2014/07/20 D ★