Closed forrestmckee closed 1 year ago
Thank you for raising this issue @forrestmckee. We have one of the team looking into it.
Hi @forrestmckee, thank you for raising this issue!
Firstly let me apologise for this issue, this definitely was an oversight on our part when implementing the updated configs and NetworkInterface
instantiation throughout the codebase.
So I have actually identified a number of issues here:
NetworkInterface
constructor has changed and now takes an instance of GameModeConfig
and NetworkConfig
. There are three locations in Yawning-Titan that have not had the instantiation of NetworkInterface
updated:
yawning_titan.integrations.dcbo.rl_baseline
yawning_titan.integrations.dcbo.utils
utils.custom_config_runner
yawning_titan/integrations/dcbo/base_net.txt
.yawning_titan/integrations/dcbo/dcbo_config.yaml
.yawning_titan/integrations/dcbo/dcbo_config.yaml
.I'm currently working on a bugfix that will:
NetworkInterface
so that they recieve a GameModeConfig
and NetworkConfig
.yawning_titan/integrations/dcbo/base_net.txt
to a network function in yawning_titan.envs.generic.helpers.network_creator
so the file can be dropped.dcbo_config.yaml
as package data and store alongside the default game mode config. Add a reference to its path and update all usages to use this new location.dcbo_config.yaml
.I'm hoping to get a release (v1.0.1) out for this before the end of the week.
@ChrisMcCarthyDev (Yawning-Titan dev team)
Closing as fixed in release v1.0.1.
Describe the bug The
__init__
method inNetworkInterface
changed and no longer allows forsettings_path
. This causes rl_baseline.py to fail.To Reproduce Steps to reproduce the behaviour:
rl_baseline.py
TypeError
Expected behaviour I expect the file to run to completion.
Environment (please complete the following information):
Additional context This seems like more of a simple oversight than a bug. It looks like there's a new way to do the same thing.