This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* === OGS Custom Profile Theme by neikara - Refactorisé === */ | |
/* ===== CSS VARIABLES ===== */ | |
:root { | |
/* Couleurs principales */ | |
--primary-color: rgb(255, 36, 0); | |
--primary-dark: #ff2400; | |
--secondary-color: #ff8c00; | |
--gradient-primary: linear-gradient(45deg, #ff2d00, #ff8c00); | |
--gradient-navbar-dark: linear-gradient(45deg, #3b0000, #b46918); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This code is from openai baseline | |
#https://github.com/openai/baselines/tree/master/baselines/common/vec_env | |
import numpy as np | |
from multiprocessing import Process, Pipe | |
def worker(remote, parent_remote, env_fn_wrapper): | |
parent_remote.close() | |
env = env_fn_wrapper.x() | |
while True: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import deque | |
import gym | |
import numpy as np | |
import cv2 | |
cv2.ocl.setUseOpenCL(False) | |
class NoopResetEnv(gym.Wrapper): | |
def __init__(self, env, noop_max=30): |