Machine-Learning-Collection
Machine-Learning-Collection copied to clipboard
A resource for learning about Machine learning & Deep Learning
fixed an error ValueError: For a model with multiple outputs, when providing the `metrics` argument as a list, it should have as many entries as the model has outputs. Received:...
print(f"Accuracy on training set: {check_accuracy(train_loader, model)*100:2f}") This line had a missing "." for the number of decimals.
Add a requirements.txt file in the Yolov3 directory for ease of use
I'm wondering if anyone has written a detect function for one image for YOLOv3. I've trained the model on a custom dataset and I've tried writing my own detect function...
I found that there is a little error in the comment showing how to calculate the width_cell width_pixels = (width*self.image_width) --> This is correct. cell_pixels = (self.image_width) --> This is...
```python Traceback (most recent call last): File "Machine-Learning-Collection/ML/Pytorch/CNN_architectures/pytorch_resnet.py", line 175, in test() File "Machine-Learning-Collection/ML/Pytorch/CNN_architectures/pytorch_resnet.py", line 169, in test y = net(torch.randn(BATCH_SIZE, 3, 224, 224)).to(device) File "python3.9/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl...
Basically, while implementing YOLO model from scratch and following the tutorial, I figured out that the mAP score in "YOLOv3 from Scratch" is misleadingly high. `get_evaluation_bboxes` function incorrectly assigns classes...
Fixing a potential bug where duplicate centroids could occur.
The PR contains the following fixes: 1) the Block class wasn't following Python naming style 2) Block class uses an extra attribute, stride, and it is never used. It can...
As I work through the .py files in Machine-Learning-Collection/tree/master/ML/Pytorch/Basics, I noticed that most of them, when creating the test_loader, the shuffle parameter is set to true. _train_loader = DataLoader(dataset=train_dataset, batch_size=batch_size,...