Comments (13)
Hi @Yiquan-lol ,
This is likely related to #27. To confirm, could you add the python package versions you are using in your env?
You can run this command: pip freeze > packages.txt
and upload the packages.txt
in your reply.
from macad-gym.
package.txt
I created the environment from the conda-env.yml file
from macad-gym.
@Yiquan-lol : Thanks for the python environment info.
I am unfortunately not able to reproduce this error. Could you please try again with this line:
import tensorflow
added after this line:
macad-gym/src/macad_gym/carla/multi_env.py
Line 219 in 38884ac
and report back if your issues is solved/not-solved?:
from macad-gym.
Oh , I followed the same steps to reinstall the Conda environment and basci agent.py is running.Thank you for your previous help
from macad-gym.
I found a problem: after setting up the macad-gym environment, I could run basic-agent.py, but the 'import tensorflow' would tell me that I was missing the cudatoolkit file.
When I used 'conda install cudatoolkit==8.0 condainstall cudnn', I failed to run basic_agent.py and had the same problem as before.
from macad-gym.
Thank you for the follow-on and updates!
Could you post the full error log? That'll help to see what's going wrong.
from macad-gym.
After installing the MacAd-Gym environment, you can run basic_agent.py.When running "import tensorflow", "error_1" appears.
error_1.txt
After I install the cudatoolkit and cudnn, run "basic_anent" and "error_2" will appear.
error_2.txt
Can you use TensorFlow directly after installing the MacAd-Gym environment?
Did you install cudatoolkit and cudnn via "conda install"?
from macad-gym.
Thanks for the logs with clear explanation!
-
After you installed
cudatoolkit==8.0
, did you try adding theimport tensorflow
to that particular line in that file as mentioned here: #40 (comment) ? -
Can you use TensorFlow directly after installing the MacAd-Gym environment?
Yes. In case this detail helps, I have
cuda-8.0
on my system and the following commands sets up the required env vars:export PATH="$PATH:/usr/local/cuda-8.0/bin"
export LD_LIBRARY_PATH="/usr/local/cuda-8.0/lib64"
-
Did you install cudatoolkit and cudnn via "conda install"?
No
from macad-gym.
I did what you told me, but I still made the same error.
Can I change the tensorFlow version in conda_env.yml and reinstall the macad-yym environment to accommodate the CUDA version of my system?
from macad-gym.
I used the conda directive to install the same version of TensorFlow as yours:
conda install tensorflow-gpu==1.4.1
When I run basic agent.py again, I get a new error:
error_3.txt
I don't know what's going on here
from macad-gym.
@Yiquan-lol , did you happen to get this issue resolved?
It doesn't seem to be easily reproducible and your error log points to some issues at the cpython/symbol level, specific to the GNU libc on your system and the CARLA wheel built using cpython.
from macad-gym.
Oh, that's too bad.
I see that your Conda environment has Torch, so maybe I can use PyTorch for training.
Thank you for your help.
from macad-gym.
@Yiquan-lol , if you are unblocked, can this issue be closed?
from macad-gym.
Related Issues (20)
- error when import macad_gym HOT 2
- Unable to use RL algorithms with continuous action space HOT 5
- Increasing number of steps per episode/ iteration HOT 3
- Multiprocess pickle Problem HOT 3
- How to set the spectator on the agent HOT 1
- Does macad-gym support multi-agent algos training? HOT 2
- Also stuck in env.reset() in example HOT 3
- How to create communicating environment?
- How to visualize the learning environment? HOT 2
- Support the library HOT 3
- `multi_view_render` will pop new display window on each frame with latest version of Pygame HOT 6
- The latest pull request is incomplete HOT 3
- gym version will affect the usage of ray[rllib] HOT 2
- PathTracker generate wrong route HOT 2
- when I use urban_signal_intersection_3c env ,happen error,please help me HOT 8
- How to customize a learning environment? HOT 2
- How do we port an existing multi-agent leanring algorithm such as IDDPG, IPPO? HOT 4
- Communication Mechanism
- v0.1.3 carla serve can't get connection HOT 1
- Implement of IMPALA Agent Examples HOT 2
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 macad-gym.