Git Product home page Git Product logo

Comments (4)

watts4speed avatar watts4speed commented on July 18, 2024

I'm using the latest Caffe and I'm not seeing this, though I had to mess with the model and I've not got that to work yet :-( I've also see various warnings about auto pointers and those don't seem to be the problem. I'm either going to figure out how to get the model updated to run with the current caffe or go back to the old dqn-caffe as your doing.

from dqn-in-the-caffe.

kilmarnock avatar kilmarnock commented on July 18, 2024

same problem here, using your caffe repository. Did you solve it?
Why does it happen during the link process?

Linking CXX executable dqn
CMakeFiles/dqn.dir/dqn_main.cpp.o: In function `PlayOneEpisode(ALEInterface&, dqn::DQN&, double, bool)':
dqn_main.cpp:(.text+0xd14): undefined reference to `DisplayScreen::display_screen(MediaSource const&)'
dqn_main.cpp:(.text+0x1124): undefined reference to `DisplayScreen::display_screen(MediaSource const&)'
CMakeFiles/dqn.dir/dqn_main.cpp.o: In function `PlayOneEpisode(ALEInterface&, dqn::DQN&, double, bool) [clone .constprop.108]':
dqn_main.cpp:(.text+0x2414): undefined reference to `DisplayScreen::display_screen(MediaSource const&)'
dqn_main.cpp:(.text+0x283c): undefined reference to `DisplayScreen::display_screen(MediaSource const&)'
CMakeFiles/dqn.dir/dqn_main.cpp.o: In function `main':
dqn_main.cpp:(.text.startup+0xc20): undefined reference to `DisplayScreen::display_screen(MediaSource const&)'
CMakeFiles/dqn.dir/dqn_main.cpp.o:dqn_main.cpp:(.text.startup+0x10a8): more undefined references to `DisplayScreen::display_screen(MediaSource const&)' follow
collect2: error: ld returned 1 exit status

According to your CMakeLists.txt, I use the same ale version 0.4.4

from dqn-in-the-caffe.

kilmarnock avatar kilmarnock commented on July 18, 2024

The solution is to compile ale with USE_SDL := 1, even if you turned it off in CMakeFiles.txt

from dqn-in-the-caffe.

onlytailei avatar onlytailei commented on July 18, 2024

Sorry kilmarnock.
I implement the dqn network in other environment but not the Atari game. So finally I did not use the SQL.
Hope you have solved it successfully.

from dqn-in-the-caffe.

Related Issues (20)

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.