Open onlytailei opened 9 years ago
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.
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
The solution is to compile ale with USE_SDL := 1, even if you turned it off in CMakeFiles.txt
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.
Hi, I use the caffe-dqn as the caffe, and when I do make, I got this.
By the way, there are also some warnnings: