mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-23 01:13:44 +08:00
Cleanup simulator and add usage instructions (#1050)
* cleanup simulator files * minor updates * update readme * keras runner builds * hmm, still doesn't work * keras runner works * should work with python3 keras mod * touchups old-commit-hash: c50c71829375fbbbeacd0add7bfd7e3f04c57668
This commit is contained in:
@@ -14,13 +14,11 @@ if arch == "aarch64":
|
||||
else:
|
||||
libs += ['symphony-cpu', 'pthread']
|
||||
|
||||
if FindFile('libtensorflow.so', env['LIBPATH']):
|
||||
# for tensorflow support
|
||||
common_src += ['runners/tfmodel.cc']
|
||||
libs += ['tensorflow']
|
||||
# tell runners to use it
|
||||
lenv['CFLAGS'].append("-DUSE_TF_MODEL")
|
||||
lenv['CXXFLAGS'].append("-DUSE_TF_MODEL")
|
||||
# for tensorflow support
|
||||
common_src += ['runners/tfmodel.cc']
|
||||
# tell runners to use it
|
||||
lenv['CFLAGS'].append("-DUSE_TF_MODEL")
|
||||
lenv['CXXFLAGS'].append("-DUSE_TF_MODEL")
|
||||
|
||||
common = lenv.Object(common_src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user