Coder Social home page Coder Social logo

Comments (4)

krumiaa avatar krumiaa commented on May 20, 2024

Thanks for reaching out about this, not sure why the second agent would be auto disconnecting, perhaps a firewall issue. The only thing I could think to try is standard debugging procedure, remove all the superfluous RL code and bring it back to a basic client server setup, see if it sustains the connection, and then start adding things back in. Another place to look would be the SocketIO plugin settings in blueprints, there maybe some auto-disconnect feature that got enabled. Wish I had more idea about this, until I can replicate could be difficult to solve. FYI – planning to launch an upgrade to Stablebaslines 3 shortly(next week or two), that might eliminate your problem altogether.

from mindmaker.

oshirokn avatar oshirokn commented on May 20, 2024

Thanks for your answer. I tried with a very basic setup using the original mindmaker BP and got the same problem. For now I'll stick with a single agent. Maybe a firewall issue? Let's see if Stablebaselines 3 upgrade fixes it.

from mindmaker.

oshirokn avatar oshirokn commented on May 20, 2024

I still have the same problem with a very basic project.
A sphere moves forward/backward if action 0 or 1.
image

Maybe I am doing something wrong with the setup?

  • Duplicated the same Mindmaker blueprint and changed the Socket address. Also changed the address in the socket component. I have now two actors with exactly the same blueprint except the address.
    image

  • Duplicated mindmaker.py, changed the port address to 3001

  • Launched the duplicated mindmaker.py, says "wsgi starting up on http://0.0.0.0:3001"

  • Launched the Unreal Editor simulation. Mindmaker.exe is launched.

  • After a while, the duplicated agent is disconnected from Unreal

image

Are these steps correct?

I can send you the project if needed @krumiaa .

from mindmaker.

oshirokn avatar oshirokn commented on May 20, 2024

Fixed by using a more recent example project from 5.1

from mindmaker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.