Skip to content
Snippets Groups Projects
Commit 8d35c806 authored by Low, Low Jian He (PG/R - Comp Sci & Elec Eng)'s avatar Low, Low Jian He (PG/R - Comp Sci & Elec Eng)
Browse files

try osemesa

parent 683c077f
No related branches found
No related tags found
No related merge requests found
import os
# if 'PYOPENGL_PLATFORM' not in os.environ:
# os.environ['PYOPENGL_PLATFORM'] = 'egl'
if 'PYOPENGL_PLATFORM' not in os.environ:
os.environ['PYOPENGL_PLATFORM'] = 'egl'
os.environ['PYOPENGL_PLATFORM'] = 'osmesa'
import torch
from torchvision.utils import make_grid
import numpy as np
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment