Skip to content

Commit

Permalink
adding headless mode #33
Browse files Browse the repository at this point in the history
  • Loading branch information
AmmarkoV committed Oct 15, 2020
1 parent 90c8a3e commit 9eb07af
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,16 @@ int loadOptionsFromCommandlineOptions(struct MocapNET2Options * options,int argc
else
{ argumentError(i,4,argc,argv); }
}
else if (strcmp(argv[i],"-nv")==0)
{
fprintf(stderr,"Visualization disabled\n");
options->visualize=0;
}
else if (strcmp(argv[i],"--novisualization")==0)
{
fprintf(stderr,"Visualization disabled\n");
options->visualize=0;
}
else if (strcmp(argv[i],"-v")==0)
{
fprintf(stderr,"Visualization enabled\n");
Expand Down Expand Up @@ -591,4 +601,4 @@ int takeCareOfScalingInputAndAddingNoiseAccordingToOptions(struct MocapNET2Opti
perturbSerializedSkeletonUsingGaussianNoise(skeleton,options->addNormalizedPixelGaussianNoiseX,options->addNormalizedPixelGaussianNoiseY);
}
return 1;
}
}

0 comments on commit 9eb07af

Please sign in to comment.