Wrong entrypoints in HVAC RL examples?
Hi there,
I am looking through the examples and they look great!
It looks like the entry points for model registration in the following file are incorrect: https://github.com/awslabs/amazon-sagemaker-examples/blob/af765120763364193f099af0b283767cc2228ad3/reinforcement_learning/rl_hvac_coach_energyplus/src/eplus/init.py#L5 https://github.com/awslabs/amazon-sagemaker-examples/blob/af765120763364193f099af0b283767cc2228ad3/reinforcement_learning/rl_hvac_coach_energyplus/src/eplus/init.py#L10
According to https://github.com/awslabs/amazon-sagemaker-examples/blob/af765120763364193f099af0b283767cc2228ad3/reinforcement_learning/rl_hvac_coach_energyplus/src/eplus/envs/init.py#L1 and https://github.com/awslabs/amazon-sagemaker-examples/blob/af765120763364193f099af0b283767cc2228ad3/reinforcement_learning/rl_hvac_coach_energyplus/src/eplus/envs/init.py#L2 , I think the entrypoints should be changed to:
entry_point='eplus.envs:LargeOfficeEnv,'
and
entry_point='eplus.envs:DataCenterEnv,'
@bbalaji-ucsd can you please review?
Hey Jason,
Thanks for the catch, yes this is a bug and your fix is correct. I'll fix this with a pull request.
Our examples run properly because we don't use this piece of code. We directly call the class in question: https://github.com/awslabs/amazon-sagemaker-examples/blob/af765120763364193f099af0b283767cc2228ad3/reinforcement_learning/rl_hvac_coach_energyplus/src/preset-energy-plus-clipped-ppo.py#L64
I see. Thanks for the comments!
Fixed here: https://github.com/awslabs/amazon-sagemaker-examples/pull/590