Closed kiran-collab closed 3 years ago
The only released model is SQRXR 62, which is MobileNetV2-based - that's what's in release 2.0.1. I've been experimenting heavily with EfficientNet and now EfficientNetLite, but have not settled on a final model. Latest experiment is SQRXR 109 on master but intentionally not released over in this repo yet. It's not ready yet, but I think EfficientNet Lite L0 will likely be the base for the next release. See the thread over here
However, if you're feeling ambition and try to use it: do note that I have also fused the classifier and threshold outputs now as well. To get the confidence score like you're used to you will need e.g. let threshold = sqrxrScore[1][0];
and then a threshold cutoff of e.g. 0.002120536
. Just keep in mind you're going to be on your own because I haven't released it yet.
Respected Sir
I would be grateful if you could kindly address the above queries!
As for hosting your model in the plugin... Well, you're going to need to dig a bit. If you really want to do it, I recommend taking your binary classifier and generating a ROC curve (for example by sklearn's roc_curve), then regenerating the data in roc.js. Note you only really need the TPR, FPR, and threshold at this time. Then, select cutpoints that represent "trusted" "neutral" and "untrusted" levels. Then, convert your .h5 using tensorflowjs_converter and using the graph output and drop it in/update the paths. None of it is hard, but the process as a whole takes a while.
Now, you can try SQRXR 109 but like I said - you're on your own. What I can say is that I expect the next model release will be similar to SQRXR 109 so at least upgrading will probably be not too painful. But the type of help you're asking for goes well beyond the scope of this repo. Do you have your own repo with your own project?
(Take a peek at SQRXR 112 now)
Respected Sir Hi! I am extremly sorry for the late reply. I haven't created any repo on github but I have the classifier and training repo in my local storage. As per your instructions, I am trying to convert my classifier to roc through sklearn and then to json files. I have one query: Does the two class classifier affect in a negative way to the plugin. Or is it just creating the roc curve from sklearn, then regenerating in roc.js and converting the h5 file to json and bin files ? I would be grateful I would be grateful if you could kindly address the same.
I am not sure what you mean by this statement: Does the two class classifier affect in a negative way to the plugin.
Can you explain more?
Also, please consider creating a repository. If you have questions about your code and your model it will be better to discuss them as issues on your repository rather than here.
Hi! Which model version/ release is based on EfficientNet? I wish to implement the efficient model for this plugin May I please request you to address the above at the earliest!