Comments (7)
Hi @nazisu2020,
the observation space is defined via *.gym_connection.observation_space
in the omnetpp.ini file and transmitted to the env
object when the Veins/OMNeT++ simulation connects to it. This way, the definition only depends on the scenario/environment and the veins-gym
library can stay agnostic.
I guess you have changed or removed this parameter somehow...
Best,
Dominik
from serpentine-env.
Hi @dbuse ,
Thanks for your quick reply, firstly.
But there is no changed in this tutorial ipynb file, I just via git clone https://github.com/tkn-tub/serpentine-env
put this code into VsCode and via Jupyter Extension for Visual Studio Code to run this .ipynb file.
Maybe if it has something to do with the version of omnet++/veins/protoc/sumo... I use?
from serpentine-env.
That is strange. Does the same error appear if you run the random agent script instead of the Jupyter notebook?
You could also try to enable debug output of Veins or run Veins separately to see if there is any error when starting Veins.
from serpentine-env.
Please update VeinsGym to 0.3.3+ and seee if the error persists. Also see #8.
from serpentine-env.
Hi @dbuse ,
Thanks for your advices!
I will try based on your suggestion.
from serpentine-env.
Hi @dbuse
After I update VeinsGym to the new 0.3.3 version, I can run this tutorial example,
Thank you very much!!
But there is a UserWarning in the process of running env.reset()
, which should not affect it, right?
(veins) na@na-Precision-5820-Tower:~/workspace/serpentine-env$ /home/na/.conda/envs/veins/bin/python /home/na/workspace/serpentine-env/examples/random_agent.py
/home/na/.conda/envs/veins/lib/python3.9/site-packages/gym/utils/passive_env_checker.py:223: UserWarning: WARN: The default seed argument in `Env.reset` should be `None`, otherwise the environment will by default always be deterministic
logger.warn(
Number of steps taken: 3680
Mean reward: 0.6732228221518555
from serpentine-env.
Yeah, that is only relevant for future interfaces. Happy I could help.
from serpentine-env.
Related Issues (17)
- Error in rule configure_veins_vlc, configure_veins, protobuf HOT 10
- Is it possible to increase followers and leaders? HOT 2
- The Message Types
- Problem while runing 'snamke -jall' for installing HOT 1
- Cannot resolve module type Error
- Error while runing "snakemake -j4"
- Error while runing 'snamke -jall' for installing HOT 2
- command not found while running "snakemake -jall" HOT 1
- snakemake -jall not working on macOS
- pip install veins_gym snakemake HOT 1
- snakemake -jall produces an error HOT 3
- Creating a connection HOT 8
- After snakemake -jall, there are a lot of errors, HOT 2
- I want to see the animation in Qtenv for scenario HOT 2
- ZmQ error HOT 2
- About the changes in omnetpp.ini file HOT 8
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 serpentine-env.