Skip to content

@akokhlik
akokhlik / gist:9a17a35f8c73a91cbc5c17d4a5b90630
Created November 14, 2023 08:28
VToonify cpp extension error
/home/ec2-user/anaconda3/envs/vtoonify_env/lib/python3.8/site-packages/torch/utils/cpp_extension.py:253: UserWarning:
!! WARNING !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Your compiler (c++) is not compatible with the compiler Pytorch was
built with for this platform, which is g++ on linux. Please
use g++ to to compile your extension. Alternatively, you may
compile PyTorch from source using c++, and then you can also use
c++ to compile your extension.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@layolu
layolu / stylegan-tflite.ipynb
Last active July 26, 2020 08:27
an unsuccessful attempt to convert stylegan tf model to tflite with https://github.com/paulbauriegel/tensorflow-tools/blob/master/convert-model-to-NWHC.py
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import os
import sys
stylegan_nada_dir = "stylegan-nada/"
sys.path.append(stylegan_nada_dir)
sys.path.append(os.path.join(stylegan_nada_dir, "ZSSGAN"))
from ZSSGAN.model.ZSSGAN import ZSSGAN
model = torch.load("sketch_hq.pt")
@twobob
twobob / utils.py
Created July 2, 2022 18:23
This is directly borrowed from Yannick Kilcher's work Amended to work on Collab and accept some alternate engine sizes
'''
This is directly borrowed from Yannick Kilcher's work
Amended to work on Collab and accept some alternate engine sizes
'''
from dall_e import map_pixels, unmap_pixels
import numpy as np
import torchvision
import tempfile
import imageio
import random
@racinmat
racinmat / odkazy-anime-jikan-2022-anime-ai-kresli.md
Last active April 27, 2022 20:09
Odkazy z přenášky na Anime Jikanu 2022 - Nový kreslíř na scéně: Umělá inteligence!
@0-vortex
0-vortex / learning.md
Last active January 28, 2022 13:54
Some interesting machine learning and artificial intelligence paper demos
@OhadRubin
OhadRubin / rewriting-interface.ipynb
Last active December 28, 2021 10:43
rewriting-interface.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.