Neurossia: bagaimana saya mengajarkan jaringan saraf untuk menggambar chthon Rusia

pengantar

. : " ", "", "Russian doomer music" . , , - , . , . , - ? .





, , , - . , , , , , , , . - .





Contoh foto yang diunduh

, python- vk_api. api , . :





import os
import vk_api
import urllib.request

def captcha_handler(captcha):
    print (f"url: {captcha.get_url()}\n")
    key = input("Enter captcha code: ")
    return captcha.try_again(key)

def auth_handler():
    code = input("Enter 2FA code: ")
    return (code, True)

def save_post_pictures(post, imgfolder, imres):
    pictures = []
    
    if not os.path.exists(imgfolder):
        os.makedirs(imgfolder)
    
    for attachment in post['attachments']:
        if attachment['type'] == 'photo':
            photo = attachment['photo']
            for size in photo['sizes']:
                if size['type'] == imres:
                    url = size['url']
                    filename = ('_'.join(url.split('/')[-2:])).split('?')[0]
                    urllib.request.urlretrieve(url, os.path.join(imgfolder, filename))
                    pictures.append(filename)
                    
    return pictures

phone = input("phone ")
password = input("password ")
domain = 'plattenbauten' # vk.com/plattenbauten

sess = vk_api.VkApi(phone, password, captcha_handler=captcha_handler, auth_handler=auth_handler)
sess.auth()
api = sess.get_api()

posts = api.wall.get(domain=domain, count=1)['items']
save_post_pictures(posts[0], domain, 'z') # https://vk.com/dev/photo_sizes - z  
      
      







100 . , . EfficientDet ( , , .., ), - NLP NLTK - . 10 .





Stylegan2 . (, , ) . , - Google Colab ( ).





- .tfrecord ( readme). , tfrecord- , Colab . , , 10 10241024, .tfrecord . , stylegan2 .tfrecord-, .





Mengapa pohon birch begitu bergemerisik di Rusia?
?

Google Colab 10241024. , " ".





Beberapa era kemudian

- . - ( mubert). .





, . , ( 512) ( , ), . ( ) , . generate.py , , , .





Dengan munculnya arsitektur seperti stylegan, seni generatif mendapatkan momentum - beberapa bahkan berhasil menjual lukisan generatif seharga ratusan dolar tanpa menulis satu baris kode pun. Saya harap artikel ini akan mengarahkan orang lain pada gagasan menggunakan jaringan saraf dalam seni, terutama karena layanan seperti Colab secara signifikan mengurangi ambang masuk dan biaya untuk mendapatkan hasil yang menarik.





Lebih banyak gambar
Lebih banyak gambar

Tautan

Neurossia di VK





Jaringan saraf Stylegan2-ada





Api pembungkus Python








All Articles