"No one is harder on a talented person than the person themselves" - Linda Wilkinson ; "Trust your guts and don't follow the herd" ; "Validate direction not destination" ;
Showing posts with label Experiments. Show all posts
Showing posts with label Experiments. Show all posts

February 24, 2023

MLFlow on AWS EC2

  • MLflow is organized into four components: Tracking, Projects, Models, and Model Registry. 
  • Create AWS Free EC2 t2 micro ubuntu machine
  • Follow the below steps to setup mlflow
  • Install ngnix to route requests from external networks
  • Run a few experiments, Visualize results
Steps


References





Keep Exploring!!!


January 22, 2023

GAN - Observations

Reading about GAN is easier but sad not to get any output after 2000 Epochs.

CycleGAN - CycleGAN is a model that aims to solve the image-to-image translation problem


After 2000 Epochs :( :(. Knowing is 10%, Experimenting is 50%, and Mastering is 40%. Always experiment.

MnistGANLoss in CycleGAN



How the loss is calculated while training?

Adversarial Loss: We apply Adversarial Loss to both the Generators, where the Generator tries to generate the images of it's domain, while its corresponding discriminator distinguishes between the translated samples and real samples.

Cycle Consistency Loss: It captures the intuition that if we translate the image from one domain to the other and back again we should arrive at where we started. Hence, it calculates the L1 loss between the original image and the final generated image,

CycleGAn Experiments - Implementing CycleGAN

Image to Image Translation using CycleGANs with Keras implementation

Experimented this code - Code Example

Keras-GAN, Conditional GAN

6 GAN Architectures

  • Transforming an image from one domain to another (CycleGAN),
  • Generating an image from a textual description (text-to-image),
  • Generating very high-resolution images (ProgressiveGAN) and many more

Loss Notes, pixelwise MSE loss

Keep Exploring!!!

January 13, 2023

ChatGPT about Life

Why life feels like insomnia 

Life can feel like insomnia because it can be difficult to find a sense of balance or peace in life. It can be hard to find a sense of purpose or direction, and it can be difficult to find the energy and motivation to get through the day. It can be hard to find a sense of rest and relaxation, and it can be hard to find a sense of joy and contentment. Insomnia can be a symptom of feeling overwhelmed and disconnected from life, and it can be a sign that something needs to change.

Why we always think about work after work

We often think about work after work because we are so used to the routine of our job that it can be difficult to switch off and relax. We may also be worried about unfinished tasks or upcoming deadlines, which can cause us to ruminate on our work even when we are not at the office. Additionally, our work may be a source of stress or anxiety, which can lead to intrusive thoughts about our job even when we are not actively working.

How to let go things you cannot control

1. Acknowledge that you cannot control the situation. Accept that you cannot control the outcome and that you cannot change the past.

2. Identify the emotions you are feeling. Allow yourself to feel these emotions without judgment.

3. Reframe the situation. Consider how the situation could be seen in a more positive light.

4. Take action. Find ways to take action that are within your control.

5. Practice self-care. Take time to do activities that bring you joy and relaxation.

6. Let go. When you are ready, let go of the situation and the emotions associated with it.

Keep Exploring!!!