## fix ‘certificate apiserver-kubelet-client not signed by CA certificate ca: crypto/rsa: verification error’ error during minikube start

I tried some solutions from here but it did not work. I deleted ~/.kube directory and it just made matters worse. My solution is The ~/.kube directory was restored after doing this. I guess minikube takes care of initial .kube Read more…

## “ValueError: numpy.ndarray size changed, may indicate binary incompatibility.” error fix

After installing packages with python and running a torch training script, I encountered the following error. This error occurred in pycocotools package which was used by detectron2 package. My solution was to reinstall pycocotools package with special options. after this Read more…

## visual code debug configuration variables

from the official docs: https://code.visualstudio.com/docs/editor/variables-reference Predefined variables The following predefined variables are supported: ${workspaceFolder} – the path of the folder opened in VS Code${workspaceFolderBasename} – the name of the folder opened in VS Code without any slashes (/) \${file} – the current Read more…

## paper summary: “VarifocalNet: An IoU-aware Dense Object Detector”(VFNet)

arxiv: https://arxiv.org/abs/2008.13367 key points another anchor-free point based object detection network introduce new loss, varifocal loss which is a forked version from focal loss. Makes some changes from focal loss to compensate positive/negative imbalance futher. instead of prediction classification and Read more…

## updating php version from 7.2 to 7.4 for wordpress and solving mysql extension error

I am running my wordpress in aws and recently my wordpress dashboard was giving my warnings to update php version from 7.2 to 7.4 for security. Updating php version I am currently using Ubuntu 18.04 version. This Ubuntu version doesn’t Read more…

## wget google drive large files bypassing virus check

I was stuck with directly downloading a large google drive file(dataset file) to my server which was headless and thus I was forced to use the terminal. However, I could not download google drive link with wget since even in Read more…

## good summary on torch optim schedulers

https://sanghyu.tistory.com/113

## paper summary: “Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization”

arxiv: https://arxiv.org/pdf/1703.06868.pdf key points arbitrary style transfer in real time use adaptive instance normalization(AdaIN) layers which aligns the mean and variance of content features allows to control content-style trade-off, style interpolation, color/spatial control previous works optimization approach using backprop of network Read more…

## get rotation angle between two vectors

Getting the angle between two vectors is well known. But finding the ‘rotation angle’ from one vector to another needs a bit more consideration. The following functions can handle this. This function will use cross product between two vectors to Read more…

## visual code python debugging configuration

creating the most basic launch.json file is explained well in official docs. changing execution path However what I really wanted to know was how to configure it to make it run debugging on a file from a specific directory path. Read more…