Add a model loader/simulator that actually loads caffe models.
This commit is contained in:
@@ -1,12 +1,21 @@
|
||||
#include <iostream>
|
||||
#include "Options.hpp"
|
||||
#include "Simulator.hpp"
|
||||
|
||||
using namespace std;
|
||||
using namespace fmri;
|
||||
|
||||
int main(int argc, char * const argv[])
|
||||
{
|
||||
::google::InitGoogleLogging(argv[0]);
|
||||
|
||||
Options options = Options::parse(argc, argv);
|
||||
|
||||
Simulator simulator(options.model(), options.weights());
|
||||
|
||||
for (const auto& image : options.inputs()) {
|
||||
simulator.simulate(image);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user