Hanjun-Dai / graphnn

Training computational graph on top of structured data (string, graph, etc)
MIT License
288 stars 91 forks source link

Error:make: *** No rule to make target 'build/kernel_mean_field', needed by 'all'. #29

Closed XinxinMa11 closed 5 years ago

XinxinMa11 commented 5 years ago

Hello, I can run mnist successfully, but met error when i run graph_classificationas follow: image Can anybody help me ? Thanks!

Hanjun-Dai commented 5 years ago

Hi,

If you build the graphnn in CPU mode then this Makefile won't find the library.

I've just fixed the Makefile (remember to config the CPU/GPU mode in the Makefile first). Please pull the latest version.

XinxinMa11 commented 5 years ago

Hi, The code can run after update the Makefile . But I still meet some issues: image image image image image image image image image image image image image image image image image image

The error means I still use GPU mode?

Hanjun-Dai commented 5 years ago

make sure the 'USE_GPU' flags in Makefile and the make_common are the same.

also try to recompile gnn library, in case of any inconsistency.

XinxinMa11 commented 5 years ago

image I modify the mode to 'CPU mode' and the issues fixed. Thank you very much!!!