Darko Petrovic

Results 14 comments of Darko Petrovic

I had a lot of trouble doing simulations like this. I don't know if this can work for you, but try to run the slip-radio on a wismote too.

I've the same error when using api subscription and when objects are removed from the scene. Don't know how but then the api stops working for the other objects too.

Easiest solution for me in VSCode so far: Add `NODE_OPTIONS=--inspect` in `.env` file. Debug server side: ``` { "name": "Attach server", "port": 9229, "request": "attach", "skipFiles": ["/**"], "type": "node", //...

I have the following custom environment with MultiDiscrete actions of the same size: ```python import gymnasium as gym import numpy as np from sb3_contrib.ppo_mask import MaskablePPO from sb3_contrib.common.maskable.utils import get_action_masks...

Ok thanks. I'm flattening as below and running MaskablePPO works now. ```python def action_masks(self): return np.concatenate([np.zeros(shape=(8,), dtype=np.int8), np.ones(shape=(4,), dtype=np.int8)]) ``` I was induce in error when I sample the actions:...

How do you trigger the preview?

Yes that helped! I used `sAjaxSource` instead of `ajax` to specify the url. Now every things is ok. Thanks you. In the meantime just one more thing. I noticed that...

As I understand now, we shouldn't even have to use the .join() method on the query. When we specify the relationship with `lazy='joined'`, the query is automatically created with the...

It seems that we need to create the join explicitly if we want the order_by to work on the query. But to let the user choose between an inner or...

If you are using a postgress database backend to store the runs, you can use the following function to move a run (with its children): ```sql CREATE OR REPLACE FUNCTION...