This file contains 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
(RolloutWorker pid=116297) visulization data save folder /home/game/wy/gym-fish/gym_fish/envs/data/ | |
(RolloutWorker pid=116297) CUDA error at xxx.cpp:17 code=100(cudaErrorNoDevice) "cudaMalloc((void **)&data_gpu.nodeIdx, sizeof(int))" | |
Traceback (most recent call last): | |
File "ppo_custom.py", line 211, in <module> | |
trainer = ppo.PPOTrainer(config=ppo_config, env="myEnv") | |
File "/opt/conda/envs/gym-fish/lib/python3.6/site-packages/ray/rllib/agents/trainer_template.py", line 103, in __init__ | |
remote_checkpoint_dir, sync_function_tpl) | |
File "/opt/conda/envs/gym-fish/lib/python3.6/site-packages/ray/rllib/agents/trainer.py", line 662, in __init__ | |
sync_function_tpl) | |
File "/opt/conda/envs/gym-fish/lib/python3.6/site-packages/ray/tune/trainable.py", line 121, in __init__ |
This file contains 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 | |
from .lib import pyflare as fl | |
from .fish_env_basic import FishEnvBasic | |
import torch | |
from ray.rllib.env.apis.task_settable_env import TaskSettableEnv | |
class KoiCruisingEnv(FishEnvBasic, TaskSettableEnv): | |
def __init__(self, | |
control_dt=0.2, | |
wp= np.array([0.0,1.0]), |
This file contains 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
absl-py==0.8.1 | |
aiohttp==3.7.4.post0 | |
aiohttp-cors==0.7.0 | |
aioredis==1.3.1 | |
aiosignal==1.2.0 | |
astunparse==1.6.3 | |
async-timeout==3.0.1 | |
atari-py==0.2.9 | |
attrs==19.3.0 | |
backcall==0.2.0 |
This file contains 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 hashlib | |
import struct | |
import sqlite3 | |
def md5hash(buf): | |
return hashlib.md5(buf.encode("utf-16")[2:]).digest() | |
def md5cmp(buf, postfix, a1, a2, a3, a4): | |
if len(buf) < postfix: | |
return False |
NewerOlder