Some notes for Casual Inference

Ref: https://www.stat.cmu.edu/~larry/=stat700/Lecture22.pdf Counterfactual and . is the potential outcome if an individual were treated. is the potential outcome if an individual were not treated. is the observed outcome:     which means: From , we have . Therefore in general. Note that is an unobserved counterfactual. For example, if represents whether an individual receives a…

YOLOV5 with Realsense on Jetson

As titled. Tried to follow the guide from here. Have some problems running realsense camera. The guide from jetsonhack is okay. But cannot find pyrealsense2 in python. Adding pythonpath solved the import problem but the imported package contained no method. Copying all so files (pybackend2.cpyton-*) to the working folder seems to resolve the problem. The…

Denoised diffusion probabilistic model

DDPM claims to perform better than GANs in a very recent article. The idea of DDPM is that an image can progressively be added with noise resulting in a white noise image. And the neural networks can be trained to perform the reverse process, converting a white noise image to something looks natural.

Hindsight experience replay

A motivating example of hindsight experience replay is a bit flipping problem. Say start with a binary number as an initial state, an action can be flipping any arbitrary bit, and the goal is to reach a particular state. It is, of course, a toy problem that can be solved easily. However, say if we…

Experience on Mynt Eye

Tested Mynt Eye on my Thinkpad because it seems that it only supported up to 18.04. The sample example can run off the box as described here. However, it seems to need quite some work to get it run with OpenCV. Moreover, the depth estimation is not accurate at all. Not sure if further calibration…

Robust PCA

Came across of this video explaining robust PCA. It came with a book and it looks okay. As PCA can be considered as decomposition of data matrix with the highest singular value. So what PCA is doing is simply low-rank matrix approximation of the data matrix. So robust PCA is a simple idea that tries…

dm_control

Try to play with dm_control and request a trial license for mujoco. Since the trial license is for local machine, I have to set colab to run locally. Things mostly work okay. I still have some problems here and there (like ffmpeg can’t generate video). I have to install pyopengl and add the following to…