Giter VIP home page Giter VIP logo

directfutureprediction's People

Contributors

dosovits avatar linzichuan avatar vkoltun 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

directfutureprediction's Issues

list index out of range

I tried to run the D3_battle example but got following error about "list index out of range"

thinh@thinh-H67MU3:~/drl/DirectFuturePrediction/examples/D3_battle$ python3 run_exp.py /usr/local/lib/python3.5/dist-packages/vizdoom/vizdoom.so Requested resolution not supported: <class 'AttributeError'> . Setting to 160x120 and resizing Requested resolution not supported: <class 'AttributeError'> . Setting to 160x120 and resizing Requested resolution not supported: <class 'AttributeError'> . Setting to 160x120 and resizing Requested resolution not supported: <class 'AttributeError'> . Setting to 160x120 and resizing Requested resolution not supported: <class 'AttributeError'> . Setting to 160x120 and resizing Requested resolution not supported: <class 'AttributeError'> . Setting to 160x120 and resizing Requested resolution not supported: <class 'AttributeError'> . Setting to 160x120 and resizing Requested resolution not supported: <class 'AttributeError'> . Setting to 160x120 and resizing 2017-10-11 16:26:37.844556: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations. 2017-10-11 16:26:37.844600: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations. 2017-10-11 16:26:38.117708: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:893] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2017-10-11 16:26:38.118064: I tensorflow/core/common_runtime/gpu/gpu_device.cc:955] Found device 0 with properties: name: GeForce GTX 1060 3GB major: 6 minor: 1 memoryClockRate (GHz) 1.759 pciBusID 0000:01:00.0 Total memory: 2.93GiB Free memory: 2.15GiB 2017-10-11 16:26:38.118356: I tensorflow/core/common_runtime/gpu/gpu_device.cc:976] DMA: 0 2017-10-11 16:26:38.118416: I tensorflow/core/common_runtime/gpu/gpu_device.cc:986] 0: Y 2017-10-11 16:26:38.118476: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1045] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 1060 3GB, pci bus id: 0000:01:00.0) /usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/gradients_impl.py:95: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory. "Converting sparse IndexedSlices to a dense Tensor of unknown shape. " Traceback (most recent call last): File "run_exp.py", line 131, in <module> main(sys.argv[1:]) File "run_exp.py", line 126, in main experiment.run(main_args[0]) IndexError: list index out of range

Is it because of the resolution not supported from vizdoom?

Copy paste mistake in target maker

It seems like there is a mistake in the target maker.

targets[ns, :len(self.meas_to_predict), :] = ((meas[curr_future_steps][:, self.meas_to_predict] - meas[None,sample][:, self.meas_to_predict])/meas_std[:, self.meas_to_predict]).transpose()

I guess we should substract the mean of the measurements in stead of the value of the measurement in itself.

targets[ns, :len(self.meas_to_predict), :] = ((meas[curr_future_steps][:, self.meas_to_predict] - meas_mean[:, self.meas_to_predict])/meas_std[:, self.meas_to_predict]).transpose() 

@dosovits If what I am saying is true, I would be happy to do a pull request.

What does VizDoom path mean?

Hi,
I installed all the dependent modules as required, including VizDoom, and import vizdoom works fine under test. To reproduce your experiments, the VizDoom path variable should be changed. However, I didn't figure out what does path stands for? Can anyone one give me an answer.
Thanks

Test on macOS

When compiling on macOS, I get the following error :

Could not load the checkpoint checkpoints/2017_04_09_09_07_45

Link to paper in readme

Really nice work, and thank you for releasing the code!

It was simple to find with a quick search, but including a link to the paper in the readme would be convenient.

Regards

Cannot load any provided map

Hi,

first of all, thanks for releasing the code!

Now regarding my issue, I cannot load any map in maps/ using set_doom_scenario_path. When I try it, it loads instead the first map of freedoom2.wad. If I try to open, let's say D1_basic.wad, with Slade, I get the error: Error opening D1_basic.wad: Unsupported or invalid Archive format.

Are the maps corrupted somehow? or do you avoid the issue in another way?

Thanks in advance!

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.