Skip to content

Instantly share code, notes, and snippets.

View nov05's full-sized avatar
πŸ’­
Homo Sapiens

nov05

πŸ’­
Homo Sapiens
View GitHub Profile
  • ☝️ Check my Google Docs


🟒⚠️ It is hard to ROSLaunch that Gazebo world that I created via udacity_office.launch.

🟒 Different Levels of AWS Resources for Machine Learning Model Training and Deployment

  1. πŸ‘‰ EC2 Instances: Full User Control (Least Pre-built Content)
    With EC2, you have complete control over the entire setup. You need to:
    • Start an EC2 instance (e.g., GPU-enabled for training deep learning models).
    • Install dependencies manually (e.g., Python, ML libraries like PyTorch or TensorFlow).
    • Copy or configure the training script, and handle the training data management (downloading data from S3 or other sources).
    • Run the training process manually using your own code.
    • Manage all aspects of the environment, scaling, and resource management.
@nov05
nov05 / 20241122_AWS SageMaker JupyterLab (or any other IDE), set up GitHub username and password.md
Last active November 24, 2024 11:03
20241122_AWS SageMaker JupyterLab (or any other IDE), set up GitHub username and password
  • Don't use the email you registered with GitHub for commits. Instead, GitHub provides you with a proxy email for this purpose. Just go to 'Settings - Emails' in your GitHub account, and you'll find the proxy email there.
  • Don't use your GitHub login password for commits. Instead, go to 'Settings - Developer Settings - Personal access tokens', create a token, and use that as your password for commits. Since Fine-grained tokens are still in Preview, I'm using a classic token for now.
  • Local Install Requirements
Python 3.7
MXNet 1.8
Pandas >= 1.2.4
AutoGluon 0.2.0
  • πŸ‘‰ create sagemaker base environment

πŸ‘‰ Udacity Deep Reinforcement Learning Python Environment Setup

⚠️ Python 3.11 has to be downgraded to Python 3.10, or Multiprocessing will cause TypeError: code() argument 13 must be str, not int in both Windows and Linux. Google Colab is currently using Python 3.10 as well.


@nov05
nov05 / 20240211_udacity_drlnd_mlagents.md
Last active February 25, 2024 11:52
20240211_udacity reinforcement learning unity mlagents env setup
@prabhatsharma
prabhatsharma / sagemaker-local
Last active December 2, 2024 17:06
Instructions to setup sagemaker locally
#!/bin/bash
# local sagemaker setup
conda update conda # update conda
conda create -n localsm python==3.7
conda activate localsm
conda install -c conda-forge jupyterlab
@tommyjtl
tommyjtl / dopa-rev5_withname.stl
Last active June 26, 2020 04:43
Ring for lovers. License under CC 4.0 BY-SA.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nov05
nov05 / model.py
Last active March 11, 2020 04:33
2020-03-07 CNN-LSTM image captioning
import torch
import torch.nn as nn
import torch.nn.functional as F
import torchvision.models as models
class EncoderCNN(nn.Module):
def __init__(self, embed_size):
# super(EncoderCNN, self).__init__()
super().__init__()
@gengwg
gengwg / github_private_email.md
Created October 10, 2019 03:44
remote: error: GH007: Your push would publish a private email address.
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Delta compression using up to 4 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 681 bytes | 681.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: error: GH007: Your push would publish a private email address.
remote: You can make your email public or disable this protection by visiting:
remote: http://github.com/settings/emails