kuz / DeepMind-Atari-Deep-Q-Learner

The original code from the DeepMind article + my tweaks
http://www.nature.com/nature/journal/v518/n7540/full/nature14236.html
1.83k stars 532 forks source link

Why I can run breakout roms,but others failed #17

Open SaintJack opened 8 years ago

SaintJack commented 8 years ago

I used the source and run the program, success But when I download a new rom file from "http://atariage.com/company_page.html?CompanyID=1&SystemID=2600&SystemFilterID=2600" and run ,for example "3d_tic" rom,it failed.

the error output is like below:

./run_cpu 3d_tic -framework alewrap -game_path /home/zed/projects/google-dqn/DeepMind-Atari-Deep-Q-Learner-show-version/roms/ -name DQN3_0_1_3d_tic_FULL_Y -env 3d_tic -env_params useRGB=true -agent NeuralQLearner -agent_params lr=0.00025,ep=1,ep_end=0.1,ep_endt=replay_memory,discount=0.99,hist_len=4,learn_start=50000,replay_memory=1000000,update_freq=4,n_replay=1,network="convnet_atari3",preproc="net_downsample_2x_full_y",state_dim=7056,minibatch_size=32,rescale_r=1,ncols=1,bufferSize=512,valid_size=500,target_q=10000,clip_delta=1,min_reward=-1,max_reward=1 -steps 50000000 -eval_freq 250000 -eval_steps 125000 -prog_freq 5000 -save_freq 125000 -actrep 4 -gpu -1 -random_starts 30 -pool_frms type="max",size=2 -seed 1 -threads 4 Torch Threads: 4 Using CPU code only. GPU device id: -1 Torch Seed: 1 ./run_cpu: line 46: 16364 Segmentation fault ../torch/bin/qlua train_agent.lua $args

ShibiHe commented 8 years ago

I have the same issue. I hope someone could answer this question. I can only play breakout but nothing else. I downloaded: breakout.bin montzrev.bin mspacman.bin vidpin.bin, and none of them could be run. My hardware has 512GB RAM and eight Nvidia Titan X GPUs. screen shot 2016-05-26 at 7 42 35 pm

SaintJack commented 8 years ago

I almost solved the problem, It is said that the program only support some of the game rom

I can list some of them

air_raid alien boxing hero ice_hockey pong space_invaders tennis venture ...

I din't test all of them ,I just test alien.bin space_invaders.bin It works!

From: Frank He Date: 2016-05-27 08:46 To: kuz/DeepMind-Atari-Deep-Q-Learner CC: SaintJack; Author Subject: Re: [kuz/DeepMind-Atari-Deep-Q-Learner] Why I can run breakout roms,but others failed (#17) I have the same issue. I hope someone could answer this question. I can only play breakout but nothing else. I downloaded: breakout.bin montzrev.bin mspacman.bin vidpin.bin, and none of them could be run. My hardware has 512GB RAM and eight Nvidia Titan X GPUs. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ShibiHe commented 8 years ago

Where did you get the game roms? I downloaded from http://www.atariage.com/ and among these roms only breakout and alien worked. I wonder where the authors to the source code got the game roms.

screen shot 2016-05-27 at 1 58 14 pm

dmonaldo commented 8 years ago

I've had the same issue. Breakout works but none of the other roms that I downloaded.

ShibiHe commented 8 years ago

I think I got an idea why the other games failed. The roms' name must follow the rules in ALE. For instance ms_pacman rom must be pacman.bin.

dmonaldo commented 8 years ago

Thanks @ShibiHe. I was able to get pacman running. What is ALE?

ShibiHe commented 8 years ago

http://www.arcadelearningenvironment.org/

J6767 commented 8 years ago

As @ShibiHe stated, the ROMs must be correctly labeled. Here is the current list of supported ROMs, which the naming rules: link

boluoweifenda commented 7 years ago

@ShibiHe thanks