source page: https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-22-04 We can see if the system has any configured swap by typing: If you don’t get back any output, this means your system does not […]
Step by Step实现RAG
RAG(Retrieval and generation)技术可以扩展大模型的知识库,用来回答我们特定问题,这里我们Step by Step 实现RAG技术。
timeScale vs fixedDeltaTime
‘Time.timeScale‘ is a property in Unity that affects the scale at which time passes in the game. This property can be used to create effects such as slow […]
Difference between Gradient and Derivative
The concepts of ‘gradient’ and ‘derivate’ are fundamental in mathematics, particularly in calculus. Both relate to how functions change, but they apply in different contexts and have distinct […]
Fixed update with Physics.Simulate in Unity
When we set ‘Physics.simulationMode’ to ‘Script’, we can manually control the fixed update using ‘Physics.Simulate’. Here, we observe the differences when ‘Physics.simulationMode’ is placed at the top or […]
OpenMP and MPI
OpenMP(Open Multi-Processing) is an application programming interface (library) that supports multi-platform shared-memory parallel programming in C, C++ and Fortran on all architectures, including Unix and Windows platform. It […]
mean rewrad in SubprocVecEnv
In Stable Baseline3, when using environments like ‘SubprocVecEnv’ for parallel environment management, the mean reward isn’t displayed by default during the training phase. This is because ‘SubprocVecEnv’ runs […]
The distinction between “terminated” and “truncated” in RL
In the updated Gymnasium environment interface, the distinction between “terminated” and “truncated” provides more clarity on why an episode ended, which is useful for more nuanced reinforcement learning […]
Max Heap Sort
A max-heap viewed as (a) a binary tree and (b) an arry. The root of the tree is A[1], and given the index i of a node, there’s […]
PRML Chapter 1
1.1 Example: Polynomial Curve Fitting Now suppose that we are given a training set comprising $N$ observations of $x$, written $\textbf{x} = (x_1, …, x_N)^{T}$ ,tother with corresponding […]