Coder Social home page Coder Social logo

cal's People

Contributors

abdeslemsmahi avatar xl-sr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cal's Issues

'conda env ceate -f requirements.yml' not working

I keep getting the following error from running this code in the CAL folder (conda env ceate -f requirements.yml)

can someone help me out?

This is the error:
EnvironmentFileNotFound: '/home/praful/Desktop/CAL/requirements.yml' file not found

data directory error

Hello,

When I tried to run python driving_benchmark.py -c Town02 -v -n test, I encountered the following error.

Traceback (most recent call last):
  File "driving_benchmark.py", line 72, in <module>
    agent = CAL(args.city_name)
  File "/home/xxx/CAL/PythonClient/agents/CAL_agent/CAL_agent.py", line 61, in __init__
    self._centerlines = Centerlines(city_name)
  File "/home/xxx/CAL/PythonClient/agents/CAL_agent/plans/centerlines.py", line 25, in __init__
    self.load_centerlines(dir_path, city)
  File "/home/xxx/CAL/PythonClient/agents/CAL_agent/plans/centerlines.py", line 61, in load_centerlines
    self.straight, self.straight_grad = load_array(file_lines)
  File "/home/xxx/CAL/PythonClient/agents/CAL_agent/plans/centerlines.py", line 15, in load_array
    return bcolz.open(fname)[:]
  File "/usr/local/lib/python2.7/dist-packages/bcolz/toplevel.py", line 140, in open
    return bcolz.carray(rootdir=rootdir, mode=mode)
  File "bcolz/carray_ext.pyx", line 1068, in bcolz.carray_ext.carray.__cinit__
  File "bcolz/carray_ext.pyx", line 1266, in bcolz.carray_ext.carray._open_carray
IOError: data directory does not exist

'conda env create -f environment.yml' - not working

Can anyone help me with these issues, please..??

`Collecting package metadata (repodata.json): done
Solving environment: done
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Ran pip subprocess with arguments:
['/home/praful/anaconda3/envs/CAL/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt']
Pip subprocess output:
Collecting attrs==19.1.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
Collecting backcall==0.1.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 2))
Requirement already up-to-date: numpy==1.16.4 in /home/praful/anaconda3/envs/CAL/lib/python3.6/site-packages (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 3)) (1.16.4)
Collecting bleach==3.1.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 4))
Using cached https://files.pythonhosted.org/packages/ab/05/27e1466475e816d3001efb6e0a85a819be17411420494a1e602c36f8299d/bleach-3.1.0-py2.py3-none-any.whl
Collecting cycler==0.10.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
Collecting decorator==4.4.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 6))
Using cached https://files.pythonhosted.org/packages/5f/88/0075e461560a1e750a0dcbf77f1d9de775028c37a19a346a6c565a257399/decorator-4.4.0-py2.py3-none-any.whl
Collecting defusedxml==0.6.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/06/74/9b387472866358ebc08732de3da6dc48e44b0aacd2ddaa5cb85ab7e986a2/defusedxml-0.6.0-py2.py3-none-any.whl
Collecting entrypoints==0.3 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/ac/c6/44694103f8c221443ee6b0041f69e2740d89a25641e62fb4f2ee568f2f9c/entrypoints-0.3-py2.py3-none-any.whl
Collecting imageio==2.5.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 9))
Using cached https://files.pythonhosted.org/packages/af/0a/943c965d372dae0b1f1482677d29030ab834351a61a9a632fd62f27f1523/imageio-2.5.0-py3-none-any.whl
Collecting imgaug==0.2.9 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 10))
Using cached https://files.pythonhosted.org/packages/17/a9/36de8c0e1ffb2d86f871cac60e5caa910cbbdb5f4741df5ef856c47f4445/imgaug-0.2.9-py2.py3-none-any.whl
Collecting ipdb==0.12 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 11))
Collecting ipykernel==5.1.1 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 12))
Using cached https://files.pythonhosted.org/packages/a0/35/dd97fbb48d4e6b5ae97307497e31e46691adc2feedb6279d29fc1c8ad9c1/ipykernel-5.1.1-py3-none-any.whl
Collecting ipython==7.5.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 13))
Using cached https://files.pythonhosted.org/packages/a9/2e/41dce4ed129057e05a555a7f9629aa2d5f81fdcd4d16568bc24b75a1d2c9/ipython-7.5.0-py3-none-any.whl
Collecting ipython-genutils==0.2.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 14))
Using cached https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl
Collecting ipywidgets==7.4.2 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 15))
Using cached https://files.pythonhosted.org/packages/30/9a/a008c7b1183fac9e52066d80a379b3c64eab535bd9d86cdc29a0b766fd82/ipywidgets-7.4.2-py2.py3-none-any.whl
Collecting jedi==0.13.3 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 16))
Using cached https://files.pythonhosted.org/packages/25/2b/1f188901be099d52d7b06f4d3b7cb9f8f09692c50697b139eaf6fa2928d8/jedi-0.13.3-py2.py3-none-any.whl
Collecting jinja2==2.10.1 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 17))
Using cached https://files.pythonhosted.org/packages/1d/e7/fd8b501e7a6dfe492a433deb7b9d833d39ca74916fa8bc63dd1a4947a671/Jinja2-2.10.1-py2.py3-none-any.whl
Collecting joblib==0.13.2 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 18))
Using cached https://files.pythonhosted.org/packages/cd/c1/50a758e8247561e58cb87305b1e90b171b8c767b15b12a1734001f41d356/joblib-0.13.2-py2.py3-none-any.whl
Collecting jsonschema==3.0.1 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 19))
Using cached https://files.pythonhosted.org/packages/aa/69/df679dfbdd051568b53c38ec8152a3ab6bc533434fc7ed11ab034bf5e82f/jsonschema-3.0.1-py2.py3-none-any.whl
Collecting jupyter==1.0.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 20))
Using cached https://files.pythonhosted.org/packages/83/df/0f5dd132200728a86190397e1ea87cd76244e42d39ec5e88efd25b2abd7e/jupyter-1.0.0-py2.py3-none-any.whl
Collecting jupyter-client==5.2.4 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 21))
Using cached https://files.pythonhosted.org/packages/3b/c3/3043fe9ffd140d03c9d091a056794ccdc427c56ec19b8eea74f9ea0a498f/jupyter_client-5.2.4-py2.py3-none-any.whl
Collecting jupyter-console==6.0.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 22))
Using cached https://files.pythonhosted.org/packages/cb/ee/6374ae8c21b7d0847f9c3722dcdfac986b8e54fa9ad9ea66e1eb6320d2b8/jupyter_console-6.0.0-py2.py3-none-any.whl
Collecting jupyter-core==4.4.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 23))
Using cached https://files.pythonhosted.org/packages/1d/44/065d2d7bae7bebc06f1dd70d23c36da8c50c0f08b4236716743d706762a8/jupyter_core-4.4.0-py2.py3-none-any.whl
Collecting kiwisolver==1.1.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 24))
Using cached https://files.pythonhosted.org/packages/f8/a1/5742b56282449b1c0968197f63eae486eca2c35dcd334bab75ad524e0de1/kiwisolver-1.1.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting markupsafe==1.1.1 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 25))
Using cached https://files.pythonhosted.org/packages/b2/5f/23e0023be6bb885d00ffbefad2942bc51a620328ee910f64abe5a8d18dd1/MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting matplotlib==3.1.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 26))
Using cached https://files.pythonhosted.org/packages/da/83/d989ee20c78117c737ab40e0318ea221f1aed4e3f5a40b4f93541b369b93/matplotlib-3.1.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting mistune==0.8.4 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 27))
Using cached https://files.pythonhosted.org/packages/09/ec/4b43dae793655b7d8a25f76119624350b4d65eb663459eb9603d7f1f0345/mistune-0.8.4-py2.py3-none-any.whl
Collecting nbconvert==5.5.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 28))
Using cached https://files.pythonhosted.org/packages/35/e7/f46c9d65f149271e47fca6ab084ef5c6e4cb1870f4c5cce6690feac55231/nbconvert-5.5.0-py2.py3-none-any.whl
Collecting nbformat==4.4.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 29))
Using cached https://files.pythonhosted.org/packages/da/27/9a654d2b6cc1eaa517d1c5a4405166c7f6d72f04f6e7eea41855fe808a46/nbformat-4.4.0-py2.py3-none-any.whl
Collecting networkx==2.3 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 30))
Collecting notebook==5.7.8 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 31))
Using cached https://files.pythonhosted.org/packages/f6/36/89ebfffc9dd8c8dbd81c1ffb53e3d4233ee666414c143959477cb07cc5f5/notebook-5.7.8-py2.py3-none-any.whl
Collecting bcolz==1.2.1 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 32))
Using cached https://files.pythonhosted.org/packages/5c/4e/23942de9d5c0fb16f10335fa83e52b431bcb8c0d4a8419c9ac206268c279/bcolz-1.2.1.tar.gz
Collecting opencv-python==4.1.0.25 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 33))
Using cached https://files.pythonhosted.org/packages/7b/d2/a2dbf83d4553ca6b3701d91d75e42fe50aea97acdc00652dca515749fb5d/opencv_python-4.1.0.25-cp36-cp36m-manylinux1_x86_64.whl
Collecting pandas==0.24.2 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 34))
Using cached https://files.pythonhosted.org/packages/19/74/e50234bc82c553fecdbd566d8650801e3fe2d6d8c8d940638e3d8a7c5522/pandas-0.24.2-cp36-cp36m-manylinux1_x86_64.whl
Collecting pandocfilters==1.4.2 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 35))
Collecting parso==0.4.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 36))
Using cached https://files.pythonhosted.org/packages/a7/bd/e2f4753c5fa93932899243b4299011a757ac212e9bc8ddf062f38df4e78b/parso-0.4.0-py2.py3-none-any.whl
Collecting pexpect==4.7.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 37))
Using cached https://files.pythonhosted.org/packages/0e/3e/377007e3f36ec42f1b84ec322ee12141a9e10d808312e5738f52f80a232c/pexpect-4.7.0-py2.py3-none-any.whl
Collecting pickleshare==0.7.5 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 38))
Using cached https://files.pythonhosted.org/packages/9a/41/220f49aaea88bc6fa6cba8d05ecf24676326156c23b991e80b3f2fc24c77/pickleshare-0.7.5-py2.py3-none-any.whl
Collecting pillow==6.0.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 39))
Using cached https://files.pythonhosted.org/packages/d2/c2/f84b1e57416755e967236468dcfb0fad7fd911f707185efc4ba8834a1a94/Pillow-6.0.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting prometheus-client==0.6.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 40))
Collecting prompt-toolkit==2.0.9 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 41))
Using cached https://files.pythonhosted.org/packages/f7/a7/9b1dd14ef45345f186ef69d175bdd2491c40ab1dfa4b2b3e4352df719ed7/prompt_toolkit-2.0.9-py3-none-any.whl
Collecting protobuf==3.8.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 42))
Using cached https://files.pythonhosted.org/packages/d2/fb/29de8d08967f0cce1bb10b39846d836b0f3bf6776ddc36aed7c73498ca7e/protobuf-3.8.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting ptyprocess==0.6.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 43))
Using cached https://files.pythonhosted.org/packages/d1/29/605c2cc68a9992d18dada28206eeada56ea4bd07a239669da41674648b6f/ptyprocess-0.6.0-py2.py3-none-any.whl
Collecting pygame==1.9.6 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 44))
Using cached https://files.pythonhosted.org/packages/8e/24/ede6428359f913ed9cd1643dd5533aefeb5a2699cc95bea089de50ead586/pygame-1.9.6-cp36-cp36m-manylinux1_x86_64.whl
Collecting pygments==2.4.2 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 45))
Using cached https://files.pythonhosted.org/packages/5c/73/1dfa428150e3ccb0fa3e68db406e5be48698f2a979ccbcec795f28f44048/Pygments-2.4.2-py2.py3-none-any.whl
Collecting pyparsing==2.4.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 46))
Using cached https://files.pythonhosted.org/packages/dd/d9/3ec19e966301a6e25769976999bd7bbe552016f0d32b577dc9d63d2e0c49/pyparsing-2.4.0-py2.py3-none-any.whl
Collecting pyrsistent==0.15.2 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 47))
Collecting python-dateutil==2.8.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 48))
Using cached https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl
Collecting pytz==2019.1 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 49))
Using cached https://files.pythonhosted.org/packages/3d/73/fe30c2daaaa0713420d0382b16fbb761409f532c56bdcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-any.whl
Collecting pywavelets==1.0.3 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 50))
Using cached https://files.pythonhosted.org/packages/4e/cd/528dba0b474b08f6f9a3a5e1b4bb23d8e33ed5d9f0e321cc967c2607df05/PyWavelets-1.0.3-cp36-cp36m-manylinux1_x86_64.whl
Collecting pyzmq==18.0.1 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 51))
Using cached https://files.pythonhosted.org/packages/5f/04/f6f0fa20b698b29c6e6b1d6b4b575c12607b0abf61810aab1df4099988c6/pyzmq-18.0.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting qtconsole==4.5.1 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 52))
Using cached https://files.pythonhosted.org/packages/79/0b/efb5a694b6922bb85c35e4f1db6197daae23c764dd384023fc9517d79e26/qtconsole-4.5.1-py2.py3-none-any.whl
Collecting scikit-image==0.15.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 53))
Using cached https://files.pythonhosted.org/packages/d4/ab/674e168bf7d0bc597218b3bec858d02c23fbac9ec1fec9cad878c6cee95f/scikit_image-0.15.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting scikit-learn==0.21.2 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 54))
Using cached https://files.pythonhosted.org/packages/85/04/49633f490f726da6e454fddc8e938bbb5bfed2001681118d3814c219b723/scikit_learn-0.21.2-cp36-cp36m-manylinux1_x86_64.whl
Collecting scipy==1.1.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 55))
Using cached https://files.pythonhosted.org/packages/a8/0b/f163da98d3a01b3e0ef1cab8dd2123c34aee2bafbb1c5bffa354cc8a1730/scipy-1.1.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting send2trash==1.5.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 56))
Using cached https://files.pythonhosted.org/packages/49/46/c3dc27481d1cc57b9385aff41c474ceb7714f7935b1247194adae45db714/Send2Trash-1.5.0-py3-none-any.whl
Collecting shapely==1.6.4.post2 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 57))
Using cached https://files.pythonhosted.org/packages/38/b6/b53f19062afd49bb5abd049aeed36f13bf8d57ef8f3fa07a5203531a0252/Shapely-1.6.4.post2-cp36-cp36m-manylinux1_x86_64.whl
Collecting six==1.12.0 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 58))
Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting terminado==0.8.2 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 59))
Using cached https://files.pythonhosted.org/packages/a7/56/80ea7fa66565fa75ae21ce0c16bc90067530e5d15e48854afcc86585a391/terminado-0.8.2-py2.py3-none-any.whl
Collecting testpath==0.4.2 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 60))
Using cached https://files.pythonhosted.org/packages/be/a4/162f9ebb6489421fe46dcca2ae420369edfee4b563c668d93cb4605d12ba/testpath-0.4.2-py2.py3-none-any.whl
Requirement already up-to-date: torch==1.1.0 in /home/praful/anaconda3/envs/CAL/lib/python3.6/site-packages (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 61)) (1.1.0)
Collecting torchvision==0.2.2.post3 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 62))
Using cached https://files.pythonhosted.org/packages/fb/01/03fd7e503c16b3dc262483e5555ad40974ab5da8b9879e164b56c1f4ef6f/torchvision-0.2.2.post3-py2.py3-none-any.whl
Collecting tornado==6.0.2 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 63))
Collecting tqdm==4.32.1 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 64))
Using cached https://files.pythonhosted.org/packages/45/af/685bf3ce889ea191f3b916557f5677cc95a5e87b2fa120d74b5dd6d049d0/tqdm-4.32.1-py2.py3-none-any.whl
Collecting traitlets==4.3.2 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 65))
Using cached https://files.pythonhosted.org/packages/93/d6/abcb22de61d78e2fc3959c964628a5771e47e7cc60d53e9342e21ed6cc9a/traitlets-4.3.2-py2.py3-none-any.whl
Collecting wcwidth==0.1.7 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 66))
Using cached https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
Collecting webencodings==0.5.1 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 67))
Using cached https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl
Collecting widgetsnbextension==3.4.2 (from -r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 68))
Using cached https://files.pythonhosted.org/packages/8a/81/35789a3952afb48238289171728072d26d6e76649ddc8b3588657a2d78c1/widgetsnbextension-3.4.2-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: setuptools in /home/praful/anaconda3/envs/CAL/lib/python3.6/site-packages (from ipdb==0.12->-r /home/praful/Desktop/CAL/condaenv.m2m374s9.requirements.txt (line 11)) (41.0.1)
Building wheels for collected packages: bcolz
Building wheel for bcolz (setup.py): started
Building wheel for bcolz (setup.py): finished with status 'error'
Running setup.py clean for bcolz
Failed to build bcolz
Installing collected packages: attrs, backcall, webencodings, six, bleach, cycler, decorator, defusedxml, entrypoints, pillow, imageio, scipy, pywavelets, networkx, kiwisolver, pyparsing, python-dateutil, matplotlib, scikit-image, shapely, opencv-python, imgaug, ptyprocess, pexpect, ipython-genutils, traitlets, pygments, parso, jedi, wcwidth, prompt-toolkit, pickleshare, ipython, ipdb, pyzmq, jupyter-core, tornado, jupyter-client, ipykernel, terminado, prometheus-client, markupsafe, jinja2, pyrsistent, jsonschema, nbformat, testpath, pandocfilters, mistune, nbconvert, send2trash, notebook, widgetsnbextension, ipywidgets, joblib, qtconsole, jupyter-console, jupyter, bcolz, pytz, pandas, protobuf, pygame, scikit-learn, torchvision, tqdm
Running setup.py install for bcolz: started
Running setup.py install for bcolz: finished with status 'error'

Pip subprocess error:
ERROR: Complete output from command /home/praful/anaconda3/envs/CAL/bin/python -u -c 'import setuptools, tokenize;file='"'"'/tmp/pip-install-sk01kd62/bcolz/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-56t_5sgi --python-tag cp36:
ERROR: SSE2 detected
AVX2 detected
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/bcolz
copying bcolz/version.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/init.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/defaults.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/attrs.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/toplevel.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/utils.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/py2help.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/arrayprint.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/ctable.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/chunked_eval.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/py2help_tests.py -> build/lib.linux-x86_64-3.6/bcolz
creating build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/test_carray.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/test_ndcarray.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/init.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/all.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/test_carray_objects.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/test_ctable.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/test_queries.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/common.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/test_attrs.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/carray_ext.pxd -> build/lib.linux-x86_64-3.6/bcolz
running build_ext
skipping 'bcolz/carray_ext.c' Cython extension (up-to-date)
building 'bcolz.carray_ext' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/bcolz
creating build/temp.linux-x86_64-3.6/c-blosc
creating build/temp.linux-x86_64-3.6/c-blosc/blosc
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/lz4-1.8.1.2
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/snappy-1.1.1
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/zlib-1.2.8
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/zstd-1.3.4
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/zstd-1.3.4/deprecated
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/zstd-1.3.4/dictBuilder
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/zstd-1.3.4/common
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/zstd-1.3.4/decompress
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/zstd-1.3.4/legacy
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/zstd-1.3.4/compress
gcc -pthread -B /home/praful/anaconda3/envs/CAL/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_LZ4=1 -DHAVE_SNAPPY=1 -DHAVE_ZLIB=1 -DHAVE_ZSTD=1 -Ibcolz -Ic-blosc/blosc -Ic-blosc/internal-complibs/zstd-1.3.4 -Ic-blosc/internal-complibs/zlib-1.2.8 -Ic-blosc/internal-complibs/snappy-1.1.1 -Ic-blosc/internal-complibs/lz4-1.8.1.2 -Ic-blosc/internal-complibs/zstd-1.3.4/dll -Ic-blosc/internal-complibs/zstd-1.3.4/deprecated -Ic-blosc/internal-complibs/zstd-1.3.4/dictBuilder -Ic-blosc/internal-complibs/zstd-1.3.4/common -Ic-blosc/internal-complibs/zstd-1.3.4/decompress -Ic-blosc/internal-complibs/zstd-1.3.4/legacy -Ic-blosc/internal-complibs/zstd-1.3.4/compress -I/home/praful/anaconda3/envs/CAL/lib/python3.6/site-packages/numpy/core/include -I/home/praful/anaconda3/envs/CAL/include/python3.6m -c bcolz/carray_ext.c -o build/temp.linux-x86_64-3.6/bcolz/carray_ext.o -DSHUFFLE_SSE2_ENABLED -msse2 -DSHUFFLE_AVX2_ENABLED -mavx2
In file included from /home/praful/anaconda3/envs/CAL/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1824,
from /home/praful/anaconda3/envs/CAL/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/praful/anaconda3/envs/CAL/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from bcolz/carray_ext.c:525:
/home/praful/anaconda3/envs/CAL/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with "
| ^~~~~~~
gcc -pthread -B /home/praful/anaconda3/envs/CAL/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_LZ4=1 -DHAVE_SNAPPY=1 -DHAVE_ZLIB=1 -DHAVE_ZSTD=1 -Ibcolz -Ic-blosc/blosc -Ic-blosc/internal-complibs/zstd-1.3.4 -Ic-blosc/internal-complibs/zlib-1.2.8 -Ic-blosc/internal-complibs/snappy-1.1.1 -Ic-blosc/internal-complibs/lz4-1.8.1.2 -Ic-blosc/internal-complibs/zstd-1.3.4/dll -Ic-blosc/internal-complibs/zstd-1.3.4/deprecated -Ic-blosc/internal-complibs/zstd-1.3.4/dictBuilder -Ic-blosc/internal-complibs/zstd-1.3.4/common -Ic-blosc/internal-complibs/zstd-1.3.4/decompress -Ic-blosc/internal-complibs/zstd-1.3.4/legacy -Ic-blosc/internal-complibs/zstd-1.3.4/compress -I/home/praful/anaconda3/envs/CAL/lib/python3.6/site-packages/numpy/core/include -I/home/praful/anaconda3/envs/CAL/include/python3.6m -c c-blosc/blosc/shuffle.c -o build/temp.linux-x86_64-3.6/c-blosc/blosc/shuffle.o -DSHUFFLE_SSE2_ENABLED -msse2 -DSHUFFLE_AVX2_ENABLED -mavx2
c-blosc/blosc/shuffle.c:170:1: error: conflicting types for ‘_xgetbv’
170 | _xgetbv(uint32_t xcr) {
| ^~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/9/include/immintrin.h:43,
from c-blosc/blosc/blosc-common.h:77,
from c-blosc/blosc/shuffle.h:18,
from c-blosc/blosc/shuffle.c:10:
/usr/lib/gcc/x86_64-linux-gnu/9/include/xsaveintrin.h:60:1: note: previous definition of ‘_xgetbv’ was here
60 | _xgetbv (unsigned int __A)
| ^~~~~~~
In file included from c-blosc/blosc/shuffle.c:11:
c-blosc/blosc/shuffle-generic.h:61:13: warning: ‘unshuffle_generic_inline’ defined but not used [-Wunused-function]
61 | static void unshuffle_generic_inline(const size_t type_size,
| ^~~~~~~~~~~~~~~~~~~~~~~~
c-blosc/blosc/shuffle-generic.h:32:13: warning: ‘shuffle_generic_inline’ defined but not used [-Wunused-function]
32 | static void shuffle_generic_inline(const size_t type_size,
| ^~~~~~~~~~~~~~~~~~~~~~
error: command 'gcc' failed with exit status 1

ERROR: Failed building wheel for bcolz
ERROR: Complete output from command /home/praful/anaconda3/envs/CAL/bin/python -u -c 'import setuptools, tokenize;file='"'"'/tmp/pip-install-sk01kd62/bcolz/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-c5mjmafv/install-record.txt --single-version-externally-managed --compile:
ERROR: SSE2 detected
AVX2 detected
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/bcolz
copying bcolz/version.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/init.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/defaults.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/attrs.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/toplevel.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/utils.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/py2help.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/arrayprint.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/ctable.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/chunked_eval.py -> build/lib.linux-x86_64-3.6/bcolz
copying bcolz/py2help_tests.py -> build/lib.linux-x86_64-3.6/bcolz
creating build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/test_carray.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/test_ndcarray.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/init.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/all.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/test_carray_objects.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/test_ctable.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/test_queries.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/common.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/tests/test_attrs.py -> build/lib.linux-x86_64-3.6/bcolz/tests
copying bcolz/carray_ext.pxd -> build/lib.linux-x86_64-3.6/bcolz
running build_ext
skipping 'bcolz/carray_ext.c' Cython extension (up-to-date)
building 'bcolz.carray_ext' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/bcolz
creating build/temp.linux-x86_64-3.6/c-blosc
creating build/temp.linux-x86_64-3.6/c-blosc/blosc
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/lz4-1.8.1.2
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/snappy-1.1.1
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/zlib-1.2.8
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/zstd-1.3.4
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/zstd-1.3.4/deprecated
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/zstd-1.3.4/dictBuilder
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/zstd-1.3.4/common
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/zstd-1.3.4/decompress
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/zstd-1.3.4/legacy
creating build/temp.linux-x86_64-3.6/c-blosc/internal-complibs/zstd-1.3.4/compress
gcc -pthread -B /home/praful/anaconda3/envs/CAL/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_LZ4=1 -DHAVE_SNAPPY=1 -DHAVE_ZLIB=1 -DHAVE_ZSTD=1 -Ibcolz -Ic-blosc/blosc -Ic-blosc/internal-complibs/zstd-1.3.4 -Ic-blosc/internal-complibs/zlib-1.2.8 -Ic-blosc/internal-complibs/snappy-1.1.1 -Ic-blosc/internal-complibs/lz4-1.8.1.2 -Ic-blosc/internal-complibs/zstd-1.3.4/dll -Ic-blosc/internal-complibs/zstd-1.3.4/deprecated -Ic-blosc/internal-complibs/zstd-1.3.4/dictBuilder -Ic-blosc/internal-complibs/zstd-1.3.4/common -Ic-blosc/internal-complibs/zstd-1.3.4/decompress -Ic-blosc/internal-complibs/zstd-1.3.4/legacy -Ic-blosc/internal-complibs/zstd-1.3.4/compress -I/home/praful/anaconda3/envs/CAL/lib/python3.6/site-packages/numpy/core/include -I/home/praful/anaconda3/envs/CAL/include/python3.6m -c bcolz/carray_ext.c -o build/temp.linux-x86_64-3.6/bcolz/carray_ext.o -DSHUFFLE_SSE2_ENABLED -msse2 -DSHUFFLE_AVX2_ENABLED -mavx2
In file included from /home/praful/anaconda3/envs/CAL/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1824,
from /home/praful/anaconda3/envs/CAL/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/praful/anaconda3/envs/CAL/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from bcolz/carray_ext.c:525:
/home/praful/anaconda3/envs/CAL/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with "
| ^~~~~~~
gcc -pthread -B /home/praful/anaconda3/envs/CAL/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_LZ4=1 -DHAVE_SNAPPY=1 -DHAVE_ZLIB=1 -DHAVE_ZSTD=1 -Ibcolz -Ic-blosc/blosc -Ic-blosc/internal-complibs/zstd-1.3.4 -Ic-blosc/internal-complibs/zlib-1.2.8 -Ic-blosc/internal-complibs/snappy-1.1.1 -Ic-blosc/internal-complibs/lz4-1.8.1.2 -Ic-blosc/internal-complibs/zstd-1.3.4/dll -Ic-blosc/internal-complibs/zstd-1.3.4/deprecated -Ic-blosc/internal-complibs/zstd-1.3.4/dictBuilder -Ic-blosc/internal-complibs/zstd-1.3.4/common -Ic-blosc/internal-complibs/zstd-1.3.4/decompress -Ic-blosc/internal-complibs/zstd-1.3.4/legacy -Ic-blosc/internal-complibs/zstd-1.3.4/compress -I/home/praful/anaconda3/envs/CAL/lib/python3.6/site-packages/numpy/core/include -I/home/praful/anaconda3/envs/CAL/include/python3.6m -c c-blosc/blosc/shuffle.c -o build/temp.linux-x86_64-3.6/c-blosc/blosc/shuffle.o -DSHUFFLE_SSE2_ENABLED -msse2 -DSHUFFLE_AVX2_ENABLED -mavx2
c-blosc/blosc/shuffle.c:170:1: error: conflicting types for ‘_xgetbv’
170 | _xgetbv(uint32_t xcr) {
| ^~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/9/include/immintrin.h:43,
from c-blosc/blosc/blosc-common.h:77,
from c-blosc/blosc/shuffle.h:18,
from c-blosc/blosc/shuffle.c:10:
/usr/lib/gcc/x86_64-linux-gnu/9/include/xsaveintrin.h:60:1: note: previous definition of ‘_xgetbv’ was here
60 | _xgetbv (unsigned int __A)
| ^~~~~~~
In file included from c-blosc/blosc/shuffle.c:11:
c-blosc/blosc/shuffle-generic.h:61:13: warning: ‘unshuffle_generic_inline’ defined but not used [-Wunused-function]
61 | static void unshuffle_generic_inline(const size_t type_size,
| ^~~~~~~~~~~~~~~~~~~~~~~~
c-blosc/blosc/shuffle-generic.h:32:13: warning: ‘shuffle_generic_inline’ defined but not used [-Wunused-function]
32 | static void shuffle_generic_inline(const size_t type_size,
| ^~~~~~~~~~~~~~~~~~~~~~
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command "/home/praful/anaconda3/envs/CAL/bin/python -u -c 'import setuptools, tokenize;file='"'"'/tmp/pip-install-sk01kd62/bcolz/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-c5mjmafv/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-sk01kd62/bcolz/

CondaEnvException: Pip failed
`

Thanks.

How to get affordance signals for training?

If i want to train the perception system , i need Centre_distance,hazard_stop,red_light,relative_angle speed_sign, vehicle_distance..

How to get ground-truth data for to generate affordance signals?? Kindly help..

Dependencies in conflict

$ conda env create -f requirements.yml
Solving environment: failed

UnsatisfiableError: The following specifications were found to be in conflict:
  - mkl==2019.0=118
  - mkl_random==1.0.1=py27h4414c95_1 -> mkl[version='>=2018.0.3,<2019.0a0']
Use "conda info <package>" to see the dependencies for each package.

Training code?

Hi,
Thanks for share your work.
By any chance, is there any plan to release the training code?

Unable to generate metric

I am trying to find out jerk as reported in the paper.

From CAL_Agent i get accelerations
self._state.long_accel, self._state.lat_accel = self._get_accel(measurements, psi)

I get the gametimestamp from measurements (milli seconds which i convert to seconds).
And calculate rate of change of acceleration( a2-a1/t2-t1 ) . After that the RMS of the values.

The results i get are as follows :
CenterLine Median : 0.3286
Longitudanal Jerk : 56.20890123726442
Lat Jerk Straight : 1.8073971749622317
Lat Jerk Turn : 2.1365939223220813

Which deviate too much from the paper.
Any help would be appreciated.

Dataset

Hi,
I'm facing a problem downloading the dataset completely. Is there any possibility to download in two or more parts?
Thanks

No registered kernels

When I tried to run driving_benchmark.py, I encountered the following error.

tensorflow.python.framework.errors_impl.InvalidArgumentError: No OpKernel was registered to support Op 'CudnnRNN' with these attrs.  Registered devices: [CPU], Registered kernels:
  <no registered kernels>

	 [[Node: cu_dnngru_6/CudnnRNN = CudnnRNN[T=DT_FLOAT, direction="unidirectional", dropout=0, input_mode="linear_input", is_training=true, rnn_mode="gru", seed=87654321, seed2=0](cu_dnngru_6/transpose, cu_dnngru_6/ExpandDims_1, cu_dnngru_6/Const_1, cu_dnngru_6/concat)]]

model weights

Hi,
I'm not able to download the trained model.
Is there a new link?

Unable to find gru.pth model

Hello,

thanks for your nice work.

launching
python python_client/driving_benchmark.py -c Town01 -v -n test --corl-2017
looks for CAL/training/models/gru.pth nevertheless this model is not downloaded within the data zip file. (is there another link for pytorch models?)

No module named 'plans'

I checked out the 36000a2 branch, then I installed tensorflow, after that When I try to execute the program I am facing this issue.

Distance to vehicle ground truth

Hi,

Pretty nice work. :)
Could you please tell how did you set the "Distance to vehicle" ground truth for the cases that the lead vehicles are outer than 50 meters, or there is no vehicle in front?

Thanks!

What exactly is the relative angle?

Hi,
As we know the orientation of the car is given in Cartesian coordinate form. Can you kindly clarify me on this part whether the 'relative angle' affordance is calculated from the orientation value? If it is, how do we do that exactly?
Or, can we take the yaw value as the relative angle?

Looking forward to your reply!

Thanks,
Soumi.

Value Error

When I tried to run python driving_benchmark.py -c Town01 -v -n test, I encountered the following error.

ValueError: Shape must be rank 1 but is rank 4 for 'Batchnorm_0/cond/FusedBatchNorm' (op: 'FusedBatchNorm') with input shapes: [?,6,13,512], [1,6,1,1], [1,6,1,1], [1,6,1,1], [1,6,1,1].

Issue with GPU

Hi @xl-sr I have installed tensorflow==1.14 and tensorflow-gpu also but still i am facing this issue could you please help?

tensorflow.python.framework.errors_impl.InvalidArgumentError: No OpKernel was registered to support Op 'CudnnRNN' used by node cu_dnngru_1/CudnnRNN (defined at /home/vaishu/anaconda3/envs/CAL/lib/python3.6/site-packages/keras/layers/cudnn_recurrent.py:297) with these attrs: [seed=87654321, dropout=0, input_mode="linear_input", T=DT_FLOAT, direction="unidirectional", rnn_mode="gru", seed2=0, is_training=true]
Registered devices: [CPU, XLA_CPU]
Registered kernels:

 [[cu_dnngru_1/CudnnRNN]]

Errors may have originated from an input operation.
Input Source operations connected to node cu_dnngru_1/CudnnRNN:
cu_dnngru_1/transpose (defined at /home/vaishu/anaconda3/envs/CAL/lib/python3.6/site-packages/keras/layers/cudnn_recurrent.py:271)
cu_dnngru_1/ExpandDims_1 (defined at /home/vaishu/anaconda3/envs/CAL/lib/python3.6/site-packages/keras/layers/cudnn_recurrent.py:273)
cu_dnngru_1/concat (defined at /home/vaishu/anaconda3/envs/CAL/lib/python3.6/site-packages/keras/layers/cudnn_recurrent.py:60)

Originally posted by @chandanavgermany in #4 (comment)

car does not run properly --corl-2017

The car goes on a pedestrian walk and crashes every time.

And after timeout the program crashes with following error :
anner/astar.py", line 111, in get_path
path.append((cell.x, cell.y))
AttributeError: 'NoneType' object has no attribute 'x'

System architecture information

Hi,

I was just willing to know about the system configuration you used for training your CAL model using 240,000 images (as mentioned in your paper). I understand forward pass takes 50ms on an average on a 1080Ti GPU. I was interested to know the configuration of the system used to train your model.

Looking forward to your reply.

Thanks,
Soumi

TypeError: object of type 'numpy.int64' has no len()

(CAL) vaishu@vaishu-MacBookAir:~/Desktop/CAL$ python PythonClient/driving_benchmark.py -c Town01 -v -n test --corl-2017
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html

Using TensorFlow backend.
INFO: listening to server localhost:2000
WARNING:tensorflow:From /home/vaishu/anaconda3/envs/CAL/lib/python3.6/site-packages/tensorflow/python/ops/resource_variable_ops.py:435: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
WARNING: From /home/vaishu/anaconda3/envs/CAL/lib/python3.6/site-packages/tensorflow/python/ops/resource_variable_ops.py:435: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
2020-01-05 18:35:54.487175: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2020-01-05 18:35:54.523621: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 1799985000 Hz
2020-01-05 18:35:54.524289: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x562c4653f460 executing computations on platform Host. Devices:
2020-01-05 18:35:54.524348: I tensorflow/compiler/xla/service/service.cc:158] StreamExecutor device (0): ,
Building model.
{'block_type': b'GRU', 'no_nodes': 185, 'p': '027', 'seq_len': 14, 'conv_dp': False, 'dilation': 2}
Traceback (most recent call last):
File "PythonClient/driving_benchmark.py", line 72, in
agent = CAL(args.city_name)
File "/home/vaishu/Desktop/CAL/PythonClient/agents/CAL_agent/CAL_agent.py", line 65, in init
self._neural_net = CAL_network()
File "/home/vaishu/Desktop/CAL/PythonClient/agents/CAL_agent/perception/cal_network.py", line 83, in init
self.model = ModelSingle()
File "/home/vaishu/Desktop/CAL/PythonClient/agents/CAL_agent/perception/cal_network.py", line 21, in init
tup = reload_model_from_episode('full_model_ep_3936')
File "/home/vaishu/Desktop/CAL/PythonClient/agents/CAL_agent/perception/model_functions.py", line 58, in reload_model_from_episode
model = get_final_model()
File "/home/vaishu/Desktop/CAL/PythonClient/agents/CAL_agent/perception/model_functions.py", line 317, in get_final_model
b0, p0 = get_task_block(RED_LIGHT)
File "/home/vaishu/Desktop/CAL/PythonClient/agents/CAL_agent/perception/model_functions.py", line 199, in get_task_block
model, name = reload_model_from_episode(model_name)
File "/home/vaishu/Desktop/CAL/PythonClient/agents/CAL_agent/perception/model_functions.py", line 61, in reload_model_from_episode
model = get_model_master(params)
File "/home/vaishu/Desktop/CAL/PythonClient/agents/CAL_agent/perception/model_functions.py", line 162, in get_model_master
x0 = block(x, p, no_nodes)
File "/home/vaishu/Desktop/CAL/PythonClient/agents/CAL_agent/perception/model_functions.py", line 111, in GRU_block
x = CuDNNGRU(n)(x)
File "/home/vaishu/anaconda3/envs/CAL/lib/python3.6/site-packages/keras/layers/recurrent.py", line 541, in call
return super(RNN, self).call(inputs, **kwargs)
File "/home/vaishu/anaconda3/envs/CAL/lib/python3.6/site-packages/keras/engine/base_layer.py", line 489, in call
output = self.call(inputs, **kwargs)
File "/home/vaishu/anaconda3/envs/CAL/lib/python3.6/site-packages/keras/layers/cudnn_recurrent.py", line 81, in call
if len(initial_state) != len(self.states):
File "/home/vaishu/anaconda3/envs/CAL/lib/python3.6/site-packages/keras/layers/recurrent.py", line 438, in states
num_states = len(self.cell.state_size)
TypeError: object of type 'numpy.int64' has no len()

data sems miss

thanks for your great work, when I try to download data, it seems loss
image
may I ask why?

How traffic sign and vehicles are getting detected? False proof solutions..

While analyzing the prediction code, when traffic red light is available car stops/traffic sign board it recognizes.

How traffic light/traffic signs are getting detected since only sequence images and directions are used to predict the affordances? It is not using measurements data for prediction..

Is this is a fasle proof solution......?

ValueError: Shape must be rank 1 but is rank 0 for 'Batchnorm_0/cond/Reshape_4' (op: 'Reshape') with input shapes: [1,6,1,1], [].

After executing python driving_benchmark.py -c Town02 -v -n test as per your instruction, landed the error below. Kindly suggest how to proceed...

Built Task Block 0_red_light
Traceback (most recent call last):
File "driving_benchmark.py", line 72, in
agent = CAL(args.city_name)
File "/home/deepaknayak/Documents/Reinforcement-learning/CAL/PythonClient/agents/CAL_agent/CAL_agent.py", line 65, in init
self.neural_net = CAL_network()
File "/home/deepaknayak/Documents/Reinforcement-learning/CAL/PythonClient/agents/CAL_agent/perception/cal_network.py", line 83, in init
self.model = ModelSingle()
File "/home/deepaknayak/Documents/Reinforcement-learning/CAL/PythonClient/agents/CAL_agent/perception/cal_network.py", line 21, in init
tup = reload_model_from_episode('full_model_ep_3936')
File "/home/deepaknayak/Documents/Reinforcement-learning/CAL/PythonClient/agents/CAL_agent/perception/model_functions.py", line 58, in reload_model_from_episode
model = get_final_model()
File "/home/deepaknayak/Documents/Reinforcement-learning/CAL/PythonClient/agents/CAL_agent/perception/model_functions.py", line 316, in get_final_model
b1, p1 = get_task_block(HAZARD_STOP)
File "/home/deepaknayak/Documents/Reinforcement-learning/CAL/PythonClient/agents/CAL_agent/perception/model_functions.py", line 197, in get_task_block
model, name = reload_model_from_episode(model_name)
File "/home/deepaknayak/Documents/Reinforcement-learning/CAL/PythonClient/agents/CAL_agent/perception/model_functions.py", line 61, in reload_model_from_episode
model = get_model_master(params)
File "/home/deepaknayak/Documents/Reinforcement-learning/CAL/PythonClient/agents/CAL_agent/perception/model_functions.py", line 152, in get_model_master
model = vgg_to_timedistributed('VGG16', dilated_seq_len, conv_dp)
File "/home/deepaknayak/Documents/Reinforcement-learning/CAL/PythonClient/agents/CAL_agent/perception/model_functions.py", line 98, in vgg_to_timedistributed
x = TimeDistributed(BatchNormalization(axis=1), name='Batchnorm
{}'.format(i))(x)
File "/home/deepaknayak/.local/lib/python2.7/site-packages/keras/engine/base_layer.py", line 457, in call
output = self.call(inputs, **kwargs)
File "/home/deepaknayak/.local/lib/python2.7/site-packages/keras/layers/wrappers.py", line 248, in call
y = self.layer.call(inputs, **kwargs)
File "/home/deepaknayak/.local/lib/python2.7/site-packages/keras/layers/normalization.py", line 206, in call
training=training)
File "/home/deepaknayak/.local/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 3123, in in_train_phase
x = switch(training, x, alt)
File "/home/deepaknayak/.local/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 3058, in switch
else_expression_fn)
File "/home/deepaknayak/.local/lib/python2.7/site-packages/tensorflow/python/util/deprecation.py", line 454, in new_func
return func(*args, **kwargs)
File "/home/deepaknayak/.local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 2057, in cond
orig_res_f, res_f = context_f.BuildCondBranch(false_fn)
File "/home/deepaknayak/.local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1895, in BuildCondBranch
original_result = fn()
File "/home/deepaknayak/.local/lib/python2.7/site-packages/keras/layers/normalization.py", line 167, in normalize_inference
epsilon=self.epsilon)
File "/home/deepaknayak/.local/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 1908, in batch_normalization
mean = tf.reshape(mean, (-1))
File "/home/deepaknayak/.local/lib/python2.7/site-packages/tensorflow/python/ops/gen_array_ops.py", line 6199, in reshape
"Reshape", tensor=tensor, shape=shape, name=name)
File "/home/deepaknayak/.local/lib/python2.7/site-packages/tensorflow/python/framework
/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/deepaknayak/.local/lib/python2.7/site-packages/tensorflow/python/util/deprecation.py", line 454, in new_func
return func(*args, **kwargs)
File "/home/deepaknayak/.local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 3155, in create_op
op_def=op_def)
File "/home/deepaknayak/.local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1731, in init
control_input_ops)
File "/home/deepaknayak/.local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1579, in _create_c_op
raise ValueError(str(e))
ValueError: Shape must be rank 1 but is rank 0 for 'Batchnorm_0/cond/Reshape_4' (op: 'Reshape') with input shapes: [1,6,1,1], [].

ResolvePackageNotFound

I'm facing a problem making the environment any idea why I can't find packages?

conda env create -f requirements.yml

Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:

  • zlib==1.2.11=ha838bed_2
  • tk==8.6.8=hbc83047_0
  • tensorflow-base==1.10.0=gpu_py27had579c0_0
  • bcolz==1.2.1=py27h04863e7_0
  • readline==7.0=h7b6447c_5
  • yaml==0.1.7=had09818_2
  • protobuf==3.6.0=py27hf484d3e_0
  • jpeg==8d=2
  • blosc==1.14.4=hdbcaa40_0
  • numpy-base==1.15.1=py27h81de0dd_0
  • singledispatch==3.4.0.3=py27_0
  • locket==0.2.0=py27_1
  • lcms==1.19=0
  • cudatoolkit==9.2=0
  • hdf5==1.10.2=hba1933b_1
  • partd==0.3.8=py27_0
  • h5py==2.8.0=py27h989c5e5_3
  • pyyaml==3.13=py27h14c3975_0
  • mkl_random==1.0.1=py27h4414c95_1
  • numpy==1.15.1=py27h1d66e8a_0
  • markupsafe==1.0=py27h14c3975_1
  • ncurses==6.1=hf484d3e_0
  • tblib==1.3.2=py27_0
  • cytoolz==0.9.0.1=py27h14c3975_1
  • sqlite==3.24.0=h84994c4_0
  • libffi==3.2.1=hd88cf55_4
  • pandas==0.23.4=py27h04863e7_0
  • python==2.7.15=h1571d57_0
  • keras-preprocessing==1.0.2=py27_1
  • bzip2==1.0.6=h14c3975_5
  • tensorflow==1.10.0=gpu_py27h67ad7fe_0
  • pil==1.1.7=py27_2
  • mock==2.0.0=py27_0
  • pytables==3.4.4=py27ha205bf6_0
  • funcsigs==1.0.2=py27_0
  • tornado==5.1=py27h14c3975_0
  • mkl_fft==1.0.4=py27h4414c95_1
  • numexpr==2.6.8=py27hd89afb7_0
  • scipy==1.1.0=py27hfa4b5c9_1
  • openssl==1.0.2p=h14c3975_0
  • click==6.7=py27_0
  • libedit==3.1.20170329=h6b74fdf_2
  • keras-applications==1.0.4=py27_1
  • libgfortran-ng==7.3.0=hdf63c60_0
  • libgcc-ng==8.2.0=hdf63c60_1
  • freetype==2.5.5=2
  • tensorboard==1.10.0=py27hf484d3e_0
  • keras-base==2.2.2=py27_0
  • lzo==2.10=h49e0be7_2
  • snappy==1.1.7=hbae5bb6_3
  • backports_abc==0.5=py27_0
  • cupti==9.2.148=0
  • libpng==1.6.34=hb9fc6fc_0
  • msgpack-python==0.5.6=py27h6bb024c_1
  • psutil==5.4.7=py27h14c3975_0
  • cudnn==7.2.1=cuda9.2_0
  • libstdcxx-ng==8.2.0=hdf63c60_1
  • grpcio==1.12.1=py27hdbcaa40_0
  • libprotobuf==3.6.0=hdbcaa40_0

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.