Agregar ejemplos de torchvision para lee una imagen y marcar los bounding boxes. Hacer un ejemplo que lea la imagen, la transforme en tensor y la pase al dibujo. Poner cabeceras a todos los archivos Completar el ciclo de entrenamiento con el archivo .pth Pasar al nuevo Github con fotos.
Resolver el warning
C:\Users\Usuari\development_env\object_detector_venv\lib\site-packages\torchvision\models_utils.py:223: UserWarning: Arguments other than a weight enum or None
for 'weights' are deprecated since 0.13
https://www.geeksforgeeks.org/how-to-read-a-jpeg-or-png-image-in-pytorch/
https://github.com/Tgaaly/pytorch-cheatsheet https://kunpengsong.github.io/2019/06/Pytorch-cheat-sheet/ https://stackoverflow.com/questions/43327668/looping-over-a-tensor
- output with merged masks in binary [OK] test_mask_02.py
- output with colour image and binary mask overlapped [OK] test_mask_02.py
- output with bounding box + mask detected + coloured image [OK] test_mask_03.py
- process results from model with bounding box + mask detected + coloured image mask + binary mask. [OK] test_mask_04.py
- Process results from model and merge the mask
- Process all the images from a folder and merge the mask.
- bounding boxes
- Filter detections by threshold and label
- Create bounding box with label Filter by label name. Colour fixed, random colours Crete own dataset with folders Organise routines. Train with own labels, modify type of labels Test inference time Load saved and trained model. Save detected bounding boxes to files.
Use of GPU device in Windows 10. [OK]. Solved, it is needed to install CUDA 11.7 and then. Train in Linux Train in Windows. Create own dataset.
https://discuss.pytorch.org/t/how-to-use-pytorch-tensor-object-in-opencv-without-convert-to-numpy-array/66000/7 https://discuss.pytorch.org/t/pytorch-pil-to-tensor-and-vice-versa/6312 https://www.google.com/search?client=firefox-b-d&q=ndarray+to+tensor+pytorch https://pydlt.readthedocs.io/en/latest/source/quickstart/images.html https://www.tutorialspoint.com/how-to-convert-an-image-to-a-pytorch-tensor https://stackoverflow.com/questions/66237451/convert-numpy-ndarray-to-pil-and-and-convert-it-to-tensor https://www.geeksforgeeks.org/converting-an-image-to-a-torch-tensor-in-python/
Images are 1025 * 205 in .png format Add links in README.md to examples.
Apple Fruit Scab Recognition using Deep Learning and PyTorch https://hackernoon.com/pytorch-vs-tensorflow-who-has-more-pre-trained-deep-learning-models https://colab.research.google.com/github/amalphonse/SPAIC_sg_fruit_360/blob/master/Ivy_Fruits360_With_Pytorch.ipynb#scrollTo=1B2FZeRqfiYA
https://pytorch.org/get-started/locally/ pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116 pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117 pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
https://github.com/NVIDIA/DeepLearningExamples/tree/master/PyTorch/Segmentation/MaskRCNN
https://catalog.ngc.nvidia.com/orgs/nvidia/collections/nvidia_dlfw