Comments (28)
This key error is caused by underscores in all the blueprint custom parameters for each DRL algorithm in the UE5 version of mindmaker. They must be removed and replaced with spaces in blueprints. For some reason the new release of the SocketIO json library for UE5 is not processing underscores. I believe I replaced all the underscores in the experimental UE5 release which can be downloaded along with the UE4 version here. https://unrealengine.com/marketplace/en-US/product/neurostudio-self-learning-ai/questions
Please let me know if this fixes the issue.
from mindmaker.
I downloaded the experimental UE5 release project you have linked above (epic games); that was the one I had used the last time around too. The issue is still the same, and I have attached a video for your reference so we are on the same page regarding the problem.
errorVideo.mp4
I am not sure exactly where I am supposed to fix the underscore problem in the blueprint custom parameters for each DRL algorithm. Maybe if you could go over it step by step in a video or something?
from mindmaker.
from mindmaker.
As of now, I am just trying to run the cartpole example, which uses PPO2 algorithm.
I have removed all underscores from all structures, and fair enough the error for "_init_setup_model" went away. However, it was replaced by the following error in the activation function parameter:
Note that I have removed ALL the underscores in all the structures.
from mindmaker.
from mindmaker.
from mindmaker.
Any fix yet, I'm still having the same problems, as the person above, removed all underscores, and followed all other directions listed.
from mindmaker.
Are any of the other algorithms working when you change it from PPO2 to something else? I have tried a few and they all seemed to work, maybe I zip and share the project files with you to make sure we are both using identical setup, though if you downloaded the UE marketplace version, that should already be the case. What release of UE5 are you using?
I have tried to run different algorithms, none of them worked. I am using 5.0.1 version of UE5. (Python 3.7.0 environment)
perhapse the mindmaker.exe in your content directory is still the older version
This is not possible since I have used another, completely new CPU and environment which had no prior installations of this project or even UE. I installed everything from scratch and then followed your directions exactly.
I also did everything else you have asked about in your second text above.
Maybe if you zip and share your project like you mentioned above on my email: [email protected], and I try and run it on my end
from mindmaker.
will do, sending you a zip to your email. curious to get to the bottom of this
from mindmaker.
UPDATE: Just released a version of this for UE 5.0.2 which can be downloaded from the marketplace. https://www.unrealengine.com/marketplace/en-US/product/neurostudio-self-learning-ai
make sure you are using the updated example files with DRL content, this has _ removed
I'm thinking this may have fixed this issue. Still wasn’t able to replicate but if it now works, please let me know by updating this issue.
from mindmaker.
always the same error on my side
from mindmaker.
Same for me too
from mindmaker.
error in the zip file you emailed:
The updated version on epic games gives the same error as the 'act_func' error above- that is, after I yet again personally removed all the underscores (that were again not removed for this new version) in all the structs. Tried all the other things you asked me to try too.
from mindmaker.
Was finally able to replicate the issue and hopefully the fix is now up and working. Please try updating again from the marketplace. The issue seems to be that the project files on the marketplace included both the older UE 4.27 version of mindmaker and a version for UE 5, but when one created a new project from UE launcher rather than downloading the zipped project files with both folders, the launcher was defaulting to the UE 4.27 version of mindmaker, and running it inside UE 5. I thought it would automatically use the appropriate version but apparently not. Apologies for that, Im still getting to know the marketplace system and it seems things may have changed with the release of UE 5.
from mindmaker.
circling back to make sure this issue was fixed by the latest update on the marketplace, can anyone comment?
from mindmaker.
Marketplace version works fine for me. Thanks for the update!
from mindmaker.
Great, closing this for now in that case
from mindmaker.
Hey, i try to use your update but i have a new error. Maybe my fault, i'm not in my main pc. I thought it was python problem so i uninstall / install and try some tricks but not result. Any idea ?
from mindmaker.
Yes it works fine now, thank you Aaron! :)
Maybe my fault, i'm not in my main pc.
Yeah that happens with me too (the mindmaker.exe file closing immediately) on one of my computers, but it works fine on another. This is probably something related to our setup, or the installed dependencies. I've been trying to fix that issue for a while now with the previous functional version of mindmaker, even reinstalled my entire python and visual studio setup; tell me if you manage to fix it in the future. In the meantime, use another computer.
from mindmaker.
I'm having the same error as Malados. What version of python are you using for those that got it to work. Im using python 3.9.
from mindmaker.
This happened for me before and I think its related to Microsoft OpenMPI, since this is required for DDPG. Can download MPI here
https://www.microsoft.com/en-us/download/details.aspx?id=57467
and for python
conda install mpi4py
Please confirm if this is the fix, will publish an update
from mindmaker.
Hey ! Just to let you know i had the same problem and installing mpi4py and MPI solved the mindmaker.exe crash
from mindmaker.
thank, you, was able to find the link to the MPI. Was able to get mindmaker up and running. Some of the Reinfomrent learning algorithms still do not function while others do. I'm assuming this will get fixed in later updates.
from mindmaker.
This happened for me before and I think its related to Microsoft OpenMPI, since this is required for DDPG. Can download MPI here
https://www.microsoft.com/en-us/download/details.aspx?id=57467
and for python
conda install mpi4py
Please confirm if this is the fix, will publish an update
works for me, thx you !
from mindmaker.
I am still have the problem, the mindmaker.exe is still crashing after installing all the stuff.
How "conda install mpi4py" is working? because UE5 uses its own python environment.
Here are the steps I did to run the UE5:
- I installed the mindmaker DLR plugin.
- I created a new project out of it.
- I downloaded the mindmaker learning engine.
this one -> (MindMaker DRL Engine Single Node (Stable Baselines: A2C, DQN, PPO, ACER, TD3, SAC) - Win64) - then I copy paste all the files to mindmaker folder as written in the mindmaker github.
- I installed the Microsoft OpenMPI.
- and mpi4py
if there anything still left to do? Kindly let me know
from mindmaker.
from mindmaker.
thanks @krumiaa, I tried the unreal engine 5.1 and its working fine.
The issue was coming in the unreal engine 5.0. But I think now I will use the UE5.1 rather than UE5.0.
Thanks once again.
from mindmaker.
Related Issues (20)
- How to properly reset my Agent when he does something fatal? HOT 5
- Mindmaker is returning the same action for every receiveAction call during Evaluation phase. HOT 22
- TD3 Action noise
- How to integrate DRL into an already existing unreal 4.27 project HOT 1
- Terminating episode early HOT 4
- MARL disconnection from Unreal Engine after a while HOT 4
- ImportError: DLL load failed HOT 1
- Error training with PPO2 Full tensorbord logs = True HOT 1
- UE5 Plugin does not load learning engine HOT 5
- What does mindmaker showing the error while launching it? HOT 3
- PermissionError: [Errno 13] Permission denied: 'C:\\Users\\user\\AppData\\Roaming\\PPOCart' HOT 4
- Multi-Agent Setup for one network HOT 2
- How to include learned .pth files in a build instead of a PIE run
- problem building Socketio for UE 5.1
- problem "local variable 'policy_kwargsval' referenced before assignment"
- dont understand how the agent visualization works.
- MARL HOT 2
- Deep RL Plugin Available for 5.2 but cannot create project and run due to base plugin incompatible HOT 2
- the mindmaker server
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mindmaker.