HOME
  Security
   Software
    Hardware
  
FPGA
  CPU
   Android
    Raspberry Pi
  
nLite
  Xcode
   etc.
    ALL
  
LINK
BACK
 

[NEW] 2022/11/26

NVIDIA Jetsonで流行の AIお絵かきの min(DALL・E)を動かす方法 NVIDIA Jetsonで流行の AIお絵かきの min(DALL・E)を動かす方法

(Jetson Xavier NXの JetPack 5.0.1に min(DALL・E)をインストールする!)

Tags: [Raspberry Pi], [電子工作], [ディープラーニング]




● Jetson Nano、Jetson Xavier NXの便利スクリプト

2020/07/03
【2020年版】NVIDIA Jetson Nano、Jetson Xavier NXの便利スクリプト
【2020年版】NVIDIA Jetson Nano、Jetson Xavier NXの便利スクリプト

  Jetsonの面倒な初期設定やミドルウェアのインストールを bashスクリプトの実行だけで簡単にできます


● NVIDIA Jetsonで流行の AIお絵かきの min(DALL・E)を動かす方法

min(DALL・E)

 Jetson Xavier NXの JetPack 5.0.1に min(DALL・E)をインストールする!

 PyTorchが必要なので下記の手順でインストールします。

[NEW] 2022/11/26
NVIDIA Jetson JetPack 5.0.1に PyTorchを NVIDIA公式の手順でインストールする方法
NVIDIA Jetson JetPack 5.0.1に PyTorchを NVIDIA公式の手順でインストールする方法

  Jetson Xavier NXの JetPack 5.0.1に PyTorchをインストールする!

● NVIDIA Jetsonで流行の AIお絵かきの min(DALL・E)をインストールする方法

# Install min(DALL・E)
pip install min-dalle

● NVIDIA Jetsonで流行の AIお絵かきの min(DALL・E)を動かす方法

wget https://raw.githubusercontent.com/kuprel/min-dalle/main/image_from_text.py

python3 image_from_text.py --text='artificial intelligence' --no-mega
# generated.png

python3 image_from_text.py --text='artificial intelligence' --no-mega --grid-size 3

python3 image_from_text.py --text='Robots marching down a street in Japan' --no-mega --grid-size 3

・'artificial intelligence'
'artificial intelligence'


・'artificial intelligence'
'artificial intelligence'


・'Robots marching down a street in Japan'
'Robots marching down a street in Japan'


・'STAR TREK Mr. Spock'
'STAR TREK Mr. Spock'


・'Windows 98'
'Windows 98'


・'Windows XP'
'Windows XP'


・'Windows 7'
'Windows 7'


・'Windows 10'
'Windows 10'


・'Windows 11'
'Windows 11'


・'macOS Big Sur'
'macOS Big Sur'


・'macOS Monterey'
'macOS Monterey'


・'macOS Ventura'
'macOS Ventura'



・'an illustration of a baby daikon radish in a tutu walking a dog'
'an illustration of a baby daikon radish in a tutu walking a dog'


・'a store front that has the word openai written on it'
'a store front that has the word openai written on it'


・'a green clock in the shape of a pentagon'
'a green clock in the shape of a pentagon'


・'an armchair in the shape of an avocado'
'an armchair in the shape of an avocado'


・'a small red block sitting on a large green block'
'a small red block sitting on a large green block'



image_from_text.py

parser = argparse.ArgumentParser()
parser.add_argument('--mega', action='store_true')
parser.add_argument('--no-mega', dest='mega', action='store_false')
parser.set_defaults(mega=False)
parser.add_argument('--fp16', action='store_true')
parser.add_argument('--text', type=str, default='Dali painting of WALL・E')
parser.add_argument('--seed', type=int, default=-1)
parser.add_argument('--grid-size', type=int, default=1)
parser.add_argument('--image-path', type=str, default='generated')
parser.add_argument('--models-root', type=str, default='pretrained')
parser.add_argument('--top_k', type=int, default=256)



Tags: [Raspberry Pi], [電子工作], [ディープラーニング]



[HOME] | [BACK]
リンクフリー(連絡不要、ただしトップページ以外は Web構成の変更で移動する場合があります)
Copyright (c) 2022 FREE WING,Y.Sakamoto
Powered by 猫屋敷工房 & HTML Generator

http://www.neko.ne.jp/~freewing/raspberry_pi/nvidia_jetson_install_min_dalle_ai_drawing/