Category: Python
Total: 592 Posts
Posts of Category: Python
  1. What is 'from_logits=True' in Keras/TensorFlow Loss Functions?

    .lazyload-placeholder { display: none; } Deep Learning frameworks like Keras lower the barrier to entry for the masses and democratize the development of DL models to unexperienced folk, who can rely on reasona...Learn More
    PythonFunctionMachine LearningDeep Learningkerastensorflow
  2. Don't Use Flatten() - Global Pooling for CNNs with TensorFlow and Keras

    .lazyload-placeholder { display: none; } Most practitioners, while first learning about Convolutional Neural Network (CNN) architectures - learn that it's comprised of three basic segments: Convolutional Layer...Learn More
    PythonMachine LearningDeep Learningkerastensorflowcomputer vision
  3. Object Detection Inference in Python with YOLOv5 and PyTorch

    .lazyload-placeholder { display: none; } Introduction Object detection is a large field in computer vision, and one of the more important applications of computer vision "in the wild". On one end, it can be use...Learn More
    PythonMachine LearningDeep Learningpytorchcomputer visionObject
  4. Convert Numpy Array to Tensor and Tensor to Numpy Array with PyTorch

    .lazyload-placeholder { display: none; } Tensors are multi-dimensional objects, and the essential data representation block of Deep Learning frameworks such as Tensorflow and PyTorch. A scalar has zero dimensio...Learn More
    PythonArrayMachine LearningDeep Learningartificial intelligencenumpypytorch
  5. RetinaNet Object Detection with PyTorch and torchvision

    .lazyload-placeholder { display: none; } Introduction Object detection is a large field in computer vision, and one of the more important applications of computer vision "in the wild". On one end, it can be use...Learn More
    PythonMachine LearningDeep Learningartificial intelligencepytorchcomputer visionObject
  6. Object Detection and Instance Segmentation in Python with Detectron2

    .lazyload-placeholder { display: none; } Introduction Object detection is a large field in computer vision, and one of the more important applications of computer vision "in the wild". On one end, it can be use...Learn More
    PythonMachine LearningDeep Learningartificial intelligencepytorchcomputer visionObject
  7. 5-Line GPT-Style Text Generation in Python with TensorFlow/Keras

    .lazyload-placeholder { display: none; } Transformers, even though released in 2017, have only started gaining significant traction in the last couple of years. With the proliferation of the technology through ...Learn More
    PythonMachine LearningDeep Learningkerastensorflownlp
  8. K-Means Clustering with the Elbow method

    .lazyload-placeholder { display: none; } K-means clustering is an unsupervised learning algorithm that groups data based on each point euclidean distance to a central point called centroid. The centroids are de...Learn More
    PythonAlgorithmMachine Learningscikit-learndata science
  9. How to Fill NaNs in a Pandas DataFrame

    .lazyload-placeholder { display: none; } Missing values are common and occur either due to human error, instrument error, processing from another team, or otherwise just a lack of data for a certain observation...Learn More
    Pythondata sciencepandasnumpy
  10. Transformer Token and Position Embedding with Keras

    .lazyload-placeholder { display: none; } Introduction There are plenty of guides explaining how transformers work, and for building an intuition on a key element of them - token and position embedding. Position...Learn More
    PythonMachine LearningDeep Learningkerastensorflownlp
  11. How to Remove Quotes from Strings in Python

    .lazyload-placeholder { display: none; } Introduction There are several ways you can remove quotes from a string in Python. You may need to remove all quotes or just ones surrounding a string. You may also need...Learn More
    PythonString
  12. Python: Convert List to String with join()

    .lazyload-placeholder { display: none; } Data takes many shapes and forms - one of the most common data structure being lists/arrays. Strings are, essentially, sequences of alphanumeric characters. The parallel...Learn More
    PythonStringlist