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…

# Category: Machine learning

## YOLOV5 on Jetson AGX Xavier

Officially YOLOV5 only works on Python 3.8 and above. But Jetson only came with 3.6.9. But following this tutorial seems to work fine (as of April 2022).

## ARIMA

It is ARMA after applying lap-1 and lap-M difference to data.

## Bundle adjustment

A very good chinese post on bundle adjustment and source code is available as well.

## 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…

## Machine teaching and inverse reinforcement learning

The two concepts machine teaching and inverse RL are closely related. But one is not a special case of another. For machine teaching, the goal is to decide the optimum data set for an algorithm to learn. In other words, given a constraint of teaching cost (that can be proportional to the size of training…