在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:nowozin/ArcadeLearningEnvironment.jl开源软件地址:https://github.com/nowozin/ArcadeLearningEnvironment.jl开源编程语言:Julia 100.0%开源软件介绍:OBSOLETEDThis package is obsoleted by the newer and updated package at JuliaReinforcementLearning/ArcadeLearningEnvironment.jl. Please use the updated package instead of this one. ArcadeLearningEnvironment.jlThis package is a Julia wrapper for the ArcadeLearningEnvironment (ALE). ALE is a modified emulator for the Atari 2600 that can emulate around 50 games with additional access to game state information and in-game rewards. This is useful for learning and benchmarking artificial intelligence agents playing computer games. A higher-level interface on top of this package is available thanks to Tom Breloff, at the AtariAlgos.jl repository. CitationIf you use this package for research publications, please cite the following paper to acknowledge the work that went into ALE.
InstallationOn Mac OS and Linux the package automatically downloads and builds version 0.5.1 of the ArcadeLearningEnvironment by issuing the following commands.
On Windows (which I have not tried yet) you can build the Exampleusing ArcadeLearningEnvironment
# For this example you need to obtain the Seaquest ROM file from
# https://atariage.com/system_items.html?SystemID=2600&ItemTypeID=ROM
episodes = 50
ale = ALE_new()
loadROM(ale, "SEAQUEST.BIN")
S = Array(Int, episodes)
TR = Array(Float64, episodes)
for ei = 1:episodes
ctr = 0.0
fc = 0
while game_over(ale) == false
actions = getLegalActionSet(ale)
ctr += act(ale, actions[rand(1:length(actions))])
fc += 1
end
reset_game(ale)
println("Game $ei ended after $fc frames with total reward $(ctr).")
S[ei] = fc
TR[ei] = ctr
end
ALE_del(ale) |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论