当前位置:网站首页>Cannot re register id: pommeffacompetition-v0 problem solving
Cannot re register id: pommeffacompetition-v0 problem solving
2022-06-22 21:49:00 【Guanlongxin】
Problem description
stay pommerman Environment , When you expect to modify the base environment , because env The environment name has been registered in Zhongben and an error will be reported .
Cause analysis :
- Trace the source of the error and find the following code :

Solution :
- Comment out the above code , And add two lines of code :
print("Remove {} from registry".format(id)) # This trip is OK without adding
del registry.env_specs[id]

So for the environment of repeated registration , The registered environment will be deleted first and the new environment will be registered to register in .
Reference material
边栏推荐
- LeetCode 每日一题——513. 找树左下角的值
- 杰理之动态切换 EQ 文件【篇】
- 密码学系列之:PKI的证书格式表示X.509
- 牛客 52次月赛 B牛牛的身高 (思维题 模拟题)
- [redis]redis6 transaction operations
- 70 root cause analysis Oracle database sudden performance problems, who will take the blame
- 88- widely circulated parameter optimization, honey or poison?
- Lesson 030: file system: introduce a big thing | after class test questions and answers
- 第023、024讲:递归:这帮小兔崽子、汉诺塔 | 课后测试题及答案
- 杰理之MUSIC 模式获取播放文件的目录【篇】
猜你喜欢

ByteDance proposes a lightweight and efficient new network mocovit, which has better performance than GhostNet and mobilenetv3 in CV tasks such as classification and detection

(DUC/DDC)数字上混频/正交下混频原理及matlab仿真

优化求解器 | Gurobi的MVar类:矩阵建模利器、求解对偶问题的备选方案 (附详细案例+代码)

Laravel+ pagoda planning task

Lesson 030: file system: introduce a big thing | after class test questions and answers

Redis usage scenario sharing (project practice)

第014-15讲:字符串 (见小甲鱼新版27讲-32讲)| 课后测试题及答案

杰理之动态切换 EQ 文件【篇】

杰理之MUSIC 模式获取播放文件的目录【篇】
![List of outstanding talents: no crystal vibration, one drag, eight burn and upgrade [chapter]](/img/6c/333bc95fe390234d3d06043e4bded1.png)
List of outstanding talents: no crystal vibration, one drag, eight burn and upgrade [chapter]
随机推荐
88- widely circulated parameter optimization, honey or poison?
引入稀疏激活机制!Uni-Perceiver-MoE显著提升通才模型的性能
Android kotlin SP DP to PX
HarmonyOS应用开发培训第二次
The second harmonyos application development training
Lesson 020: functions: embedded functions and closures | after class test questions and answers
第022讲:函数:递归是神马 | 课后测试题及答案
Learning cloud network from teacher Tang - openstack network implementation
【ICML2022】利用虚拟节点促进图结构学习
86- to attend & lt; SQL writing and rewriting training & gt; 's participants add a second-hand case
513. find the value in the lower left corner of the tree / Sword finger offer II 091 Paint the house
RuntimeError: CUDA error: CUBLAS_STATUS_EXECUTION_FAILED when calling `cublasSgemmStridedBatched( ha
Redis的使用场景分享(项目实战)
校园跑腿管理端APP—陕西格创
TC397 Flash
Final review of scientific and technological literature of Shandong University (Personal Crash Course)
When the AUX1 or aux2 channel is used in Jerry's aux mode, the program will reset the problem [chapter]
第029讲:文件:一个任务 | 课后测试题及答案
Can the characteristics of different network structures be compared? Ant & meituan & NTU & Ali proposed a cross architecture self supervised video representation learning method CaCl, performance SOTA
70 root cause analysis Oracle database sudden performance problems, who will take the blame