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
| import os | |
| import random | |
| import time | |
| import numpy as np | |
| import pandas as pd | |
| import torch | |
| from datetime import datetime | |
| from time import perf_counter | |
| import GPUtil | |
| from tqdm import tqdm |
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
| import numpy as np | |
| import torch | |
| from pygpudrive.env.config import EnvConfig, RenderConfig, SceneConfig | |
| from pygpudrive.env.env_torch import GPUDriveTorchEnv | |
| # CONFIGURE | |
| TOTAL_STEPS = 90 | |
| MAX_NUM_OBJECTS = 128 | |
| NUM_WORLDS = 50 |