Start-of-Summer-in-Hong-Kong-Forgetting-D-VisaStart-of-Summer-in-Hong-Kong-Forgetting-D-Visa

So following the horrible semester end, came a horrible start of summer. I was gonna join the HKUST research program, but it started very wrong. So I didn't get an exit endorsement for study, or

May 30, 2024
1707 words
Moving My Website to Next.js

So anyways, long story short, I started learning and after 3 weeks my new website was born. It just displayed my blogs and visitinfos and a message box. So the problem with frontend+backend+database, where your

Apr 09, 2024
6089 words
BSD and Other Systems

https://www.youtube.com/watch?v=qsgs5e6NBPk Today I decided to play around with the BSD distros. I have used many Linux distros and found they are pretty much alike, no big difference anyways except for package managers. Anyways, I hopped

Recently, the idea of self-hosting was so intriguing that I decided to code a full-stack video platform. There are many Object Storage providers, including Amazon AWS, Akamai, Digital Ocean, Cloudflare, Alibaba Cloud. Nearly all of

Dec 23, 2023
167 words
Grateful for Airport Worker

I'm genuinely grateful for the extraordinary kindness and assistance I received from an airport worker in San Francisco. I was too tired and didn't pay much attention to booking the plane ticket. I booked a

Nov 29, 2023
452 words
Offline RL

Note: All Yaml files are in the git repo: https://github.com/jimchen2/cs285-reinforcement-learning python cs285/scripts/run_hw5_explore.py \ python cs285/scripts/run_hw5_explore.py \ python cs285/scripts/run_hw5_explore.py \ The Random Network Distillation algorithm encourages exploration by training another neural network to approximate the output

Nov 24, 2023
521 words
Q Learning and SAC

Compute Action and use epsilon greedy action = torch.tensor(random.randint(0, self.num_actions - 1)) action = self.critic(observation).argmax(dim=1) Step environment Add data to replay buffer replay_buffer.insert(...) Sample from replay buffer batch = replay_buffer.sample(config["batch_size"]) Train agent, we update the

Nov 20, 2023
872 words
Policy Gradients

There are 2 kinds of estimator for Policy Gradients, full trajectory and and "reward-to-go" We run the two configs on Cartpole with different parameters, specifically, rtg means reward to go, na means normalizing the advantages.

Nov 18, 2023
371 words
Imitation Learning with DAgger

We run imitation learning and Dagger based on expert policies. In this experiment the expert policy is directly sampled out from a trained Neural Network, so Dagger differs from real world applications in that it

Visiting-Ocean-BeachVisiting-Ocean-Beach
Oct 27, 2023
679 words
Visiting Ocean Beach

Today I visited Ocean Beach. I was in a very bad mood and distorted these days. I couldn't get any work done and think about living in remote, isolated regions. I hopped on a Bart