princeton-vl / pose-ae-train

Training code for "Associative Embedding: End-to-End Learning for Joint Detection and Grouping"
BSD 3-Clause "New" or "Revised" License
373 stars 76 forks source link

what about the gcc type??? #41

Open jiachen0212 opened 5 years ago

jiachen0212 commented 5 years ago

hello @anewell, first of all, thanks your work. when i cd /extensions/AE and run python build.py install i meet the bug: cffi.VerificationError: CompileError: command 'gcc' failed with exit status 1

i'm using py3.6 and pytorch 0.4 gcc is 4.85 (also i tried 4.91) . so i wonder which type of gcc is suitable?

HONGJUNRL commented 5 years ago

use this two commands: export CXXFLAGS="-std=c++11" export CFLAGS="-std=c99" I succeeded using pytorch 0.4.0

jiachen0212 commented 5 years ago

@HONGJUNRL THX ~ i will try it !