1

I am trying to run DQN, which is some AI for Atari.

Upon launching the program (sudo bash run_cpu < the_name_of_the_game >), I get the following error: run_cpu: line 46: 9377 Segmentation fault ../torch/bin/luajit train_agent.lua $args

From Running application ends with "Segmentation Fault", the error seems to be coming from the program, but many other people have used it without any problem ...

How can I solve this?

I'm quite new to Linux, and I'm on Elementary OS (+-latest stable version)

I took the program here : https://sites.google.com/a/deepmind.com/dqn/

2 Answers2

1

Is the ROM name capitalized? If so, make it lower case. For example:

    Breakout.bin ==> breakout.bin

Also make sure that you have 6GB of RAM!

Rahul
  • 11
0

The instructions are possibly misleading for a newbie. Let's say you have a game called "happy". The command line you type would be:

./run_cpu happy

That is, don't include the < or >.

In any case, you generally don't need to use sudo unless you get a permissions error.

Hack Saw
  • 1,024