Open aslansd opened 1 year ago
Hi there, as you noticed there are many compatibility issues in AI-Economist...
To fix your problem you just have to comment register_variables()
. Note that many other issues are ahead of this one. I think there are compatibility issues between rllib, tensorflow + non full retro-compatibility when you start upgrading stuff.
Hi @sa1g, thanks, I already solved this problem. However, I have now other issue which I posted here:
https://discuss.ray.io/t/using-custom-neural-network-in-rllib/8094
I was wondering if you could be helpful in this case too! Many thanks in advance!
Hello,
I am developing AI-Economist and I am trying to run my own modified version of AI-Economist with your provided custom neural network models: KerasConvLSTM and RandomAction.
Here is my system properties:
Here is the list of modules in my modified ai-economist environment:
Name Version Build Channel
As it is clear from the above list, there are some extra modules beside the required modules of the original AI-Economist and also some modules have different versions than what are mentioned in the original AI-Economist. For example, the ray version here is 2.0.0. I think with this version of ray, the parent class of any tensorflow recurrent custom model should be set RecurrentNetwork instead of RecurrentTFModelV2, so I made modifications in tf_models as required.
Then, I ran the following commands similar to what are brought in your provided notebook: multi_agent_training_with_rllib
However, the following error is generated:
This happen even if I use RandomAction network. Also, in your provided notebook, you have not used these custom modelsI. Moreover, I think this is most probably not related to the changes that I made in the AI-Economist but it might be related to the compatibility issues of different versions of the modules that I have in my environment. I greatly appreciate any comments.
By the way, please let me know if you need further information. If it is required I would be happy to share the GitHub repository of my own version of AI-Economist with you. Many thanks in advance!