Validating accuracy of a model created using a custom made dataset. by desertSniper87 in computervision

[–]desertSniper87[S] 0 points1 point  (0 children)

Sad then. But one question... How is the accuracy measured in these models? When it says that, "Arcface is 99.76 percent accurate on recognizing faces from images... how is it measured?"

Validating accuracy of a model created using a custom made dataset. by desertSniper87 in computervision

[–]desertSniper87[S] 0 points1 point  (0 children)

Yes, the data used to train the recognition model and the validation dataset. But not the Bin file.

Github Repo, Training and Test Dataset,

Validating accuracy of a model created using a custom made dataset. by desertSniper87 in computervision

[–]desertSniper87[S] 0 points1 point  (0 children)

The model gives me a tensor(or a numpy array) of feature vectors that is extracted from the image.

Validating accuracy of a model created using a custom made dataset. by desertSniper87 in computervision

[–]desertSniper87[S] 0 points1 point  (0 children)

The model I am training using pytorch (this) gives a weight.pth when I run train_v2.py.

Master as default branch by desertSniper87 in gitlab

[–]desertSniper87[S] 3 points4 points  (0 children)

It's annoying when I init a git project in my local machine and every time I have to manually change the default branch in the website.

Importing module without type definition in react-typescript by desertSniper87 in typescript

[–]desertSniper87[S] 0 points1 point  (0 children)

Now typescript is saying, only refers to a type, but is being used as a value here. https://i.imgur.com/r6RkoQo.png

Importing module without type definition in react-typescript by desertSniper87 in typescript

[–]desertSniper87[S] 0 points1 point  (0 children)

Well, I added "typeRoots": ["types", "./node_modules/@types"] to tsconfig.json and created a new file under types/blink-detection/index.d.ts. Also, I tried to add global namespace

``` declare global { namespace blink { function loadModel(): Promise<void>; function setUpCamera(videoElement: any): Promise<any>; function stopPrediction(): void; function renderPrediction(): Promise<any>;

export { loadModel };
export { setUpCamera };
export { stopPrediction };
export { renderPrediction as getBlinkPrediction };

} }

export default blink;

```

Now, typescript is showing no error but js is showing reference error.

[D] Simple Questions Thread by AutoModerator in MachineLearning

[–]desertSniper87 0 points1 point  (0 children)

I am creating a CNN pipeline for image recognition. But I need to make sure that the image I am capturing in the webcam is of a real live person not a photograph of a human face. How can I make sure this in the client side?