Machine-Learning-Collection
Machine-Learning-Collection copied to clipboard
A resource for learning about Machine learning & Deep Learning
Hello! I've found a performance issue in ML/TensorFlow/Basics: `batch()` should be called before `map()`, which could make your program more efficient. Here is [the tensorflow document](https://tensorflow.google.cn/guide/data_performance?hl=zh_cn#vectorized_mapping) to support it. Detailed...
Hi, for cycle gan, if I have the checkpoint .pth file, how to inference only for the specific test set ?
Hey Aladdin, thanks for the awesome YouTube videos. I was checking the implementation of EfficientNet that you provided, and I noticed that in the final example, the total number of...
Line 82: https://github.com/aladdinpersson/Machine-Learning-Collection/blob/master/ML/Pytorch/CNN_architectures/pytorch_efficientnet.py nn.Conv2d use a kernel size of 3 which is creating models 2-3x larger than the parameter size defined in the EfficientNet: Rethinking Model Structure paper https://arxiv.org/abs/1905.11946v5 Line...
Hi Aladdin great tutorials you have here. I was really able to understand for the first time how to code YOLOv3 . But i couldn't find the code for inference...
I found 2 issues while running the pre-trained model set to 256x256, both issues are related to generate_examples function. 1) When Load_model = True, the model and weights are put...
should be attention = torch.softmax(energy / (self.head_dim ** (1 / 2)), dim=3)
Hello,I found a performance issue in `aladdinpersson_Machine-Learning-Collection/ML/TensorFlow/Basics/tutorial7-indepth-functional.py` , [ train_dataset.map](https://github.com/aladdinpersson/Machine-Learning-Collection/blob/ac5dcd03a40a08a8af7e1a67ade37f28cf88db43/ML/TensorFlow/Basics/tutorial7-indepth-functional.py#L48) was called without **num_parallel_calls**. I think it will increase the efficiency of your program if you add this. The same...
Aladdin, I watched your excellent youtube videos on transformer implementation with pytorch. When I tried to test in google colab, I got NotImplementedError in https://github.com/aladdinpersson/Machine-Learning-Collection/blob/master/ML/Pytorch/more_advanced/Seq2Seq_attention/seq2seq_attention.py line 243: for batch_idx, batch...
Hi , I used the code from https://github.com/aladdinpersson/Machine-Learning-Collection/tree/master/ML/Pytorch/image_segmentation/semantic_segmentation_unet to build an U-net then training on it and it works great, but I found in inference stage, If I use model.eval()...