File size: 293 Bytes
8f87579
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import sys
import os
import shutil
import glob
import platform
from pathlib import Path

current_path = os.getcwd()

module_path = Path(__file__).parent / 'stylegan2-pytorch'
sys.path.append(str(module_path.resolve()))
os.chdir(module_path)

from model import Generator

os.chdir(current_path)