Skip to content

Instantly share code, notes, and snippets.

@xellDart
Created August 16, 2020 21:08
Show Gist options
  • Save xellDart/0cca05a478fb887611e928fa8f6a9484 to your computer and use it in GitHub Desktop.
Save xellDart/0cca05a478fb887611e928fa8f6a9484 to your computer and use it in GitHub Desktop.
class OptionsFace {
final int numClasses;
final int numBoxes;
final int numCoords;
final int keypointCoordOffset;
final List<int> ignoreClasses;
final double scoreClippingThresh;
final double minScoreThresh;
final int numKeypoints;
final int numValuesPerKeypoint;
final int boxCoordOffset;
final double xScale;
final double yScale;
final double wScale;
final double hScale;
final bool applyExponentialOnBoxSize;
final bool reverseOutputOrder;
final bool sigmoidScore;
final bool flipVertically;
OptionsFace(
{this.numClasses,
this.numBoxes,
this.numCoords,
this.keypointCoordOffset,
this.ignoreClasses,
this.scoreClippingThresh,
this.minScoreThresh,
this.numKeypoints = 0,
this.numValuesPerKeypoint = 2,
this.boxCoordOffset = 0,
this.xScale = 0.0,
this.yScale = 0.0,
this.wScale = 0.0,
this.hScale = 0.0,
this.applyExponentialOnBoxSize = false,
this.reverseOutputOrder = true,
this.sigmoidScore = true,
this.flipVertically = false});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment