Vishesh

Results 23 comments of Vishesh

> For keypoint detection: merge [this](https://github.com/WongKinYiu/yolor/releases/download/weights/yolor-pose.zip) into [this](https://github.com/TexasInstruments/edgeai-yolov5/tree/yolo-pose) and modify [this](https://github.com/WongKinYiu/yolov7/blob/main/cfg/training/yolov7-w6.yaml) for training. How does one modify the yaml model for training? Is it as simple as adding `nkpt: ___`...

> @WongKinYiu If I want to train the model to detect more keypoints, which part of the coding should I modify? Thanks You would change `nkpt` in the `cfg/yolov7-w6-pose.yaml` file...

> @vshesh Not need to change the anchor of cfg file to fit the new number of keypoints? I'm by no means an expert, but what I see between https://github.com/WongKinYiu/yolov7/blob/pose/cfg/yolov7-w6-pose.yaml...

> @vshesh I have tried to change nkpt, but the training fails as the coding is hardcoded for 17 keypoints Ok yeah, I'm seeing the same error now: ``` train:...

I got as far as fixing the data loading process to start the training, but then ran into this error which I can't solve: ``` autoanchor: Analyzing anchors... anchors/target =...

Ok I fixed that problem, I forgot to change `nkpts` in the model file when I reloaded the colab space. Now I have a new issue: ``` Traceback (most recent...

> @vshesh You need to change the original line `indices.append((b, a, gj.clamp_(0, gain[3] - 1), gi.clamp_(0, gain[2] - 1))) # image, anchor, grid indices` to this new line to solve...

@maketo97 how did you deal with the `sigmas` in the loss function? ``` sigmas = torch.tensor([.26, .25, .25, .35, .35, .79, .79, .72, .72, .62, .62, 1.07, 1.07, .87, .87,...

Ok, looks like this is some kind of known issue that requires a monkeypatch in the user libraries, since requests library is not solving the problem... https://github.com/psf/requests/issues/4842

The real issue is with the requests library, so the way I fixed it is I got rid of the simplejson import within that library. I'm not sure how familiar...