-
Manacher’s Algorithm for Longest Palindromic Substring
Manacher’s Algorithm for Longest Palindromic Substring Longest Palindromic Substring has a straight-forward description [1]: Given a string s, return the longest palindromic substring in s. The goal of this article is to understand how to solve it using the tricky Manacher’s algorithm. A naive method iterates all the element and then expands from the center…
-
Running EchoMimicV2 on Windows 11
EchoMimicV2 is an opensource framework for audio driven human portrait animation. Compared to many other solutions (talking head) which only focusing on facial animation and head movement, this framework includes upper-body movement. The official repository tested the system on the Linux environment. However, this article records the process of running this framework on Windows 11…
-
Vision Transformers (ViT) Experiments Using PyTorch and PyTorch Lightning
Also can be seen at: https://medium.com/@heyulong3d/vision-transformers-vit-experiments-using-pytorch-and-pytorch-lightning-61e26738d9dd?sk=8326d1c2706380c7599c67e53d2e2b5c Overview This article will implement Vision Transformer (ViT) from scratch using PyTorch and PyTorch Lightning. It also covers insightful experiments with different patch size, model size, attention heads, and other improvements like overlapping patch embedding on CIFAR-10 dataset. This article will focus more on practice and experiments rather than…
-
Grafana Usage
Grafana is an open-source analytics and interactive visualization web application. Grafana is designed to be a universal dashboard solution. Key aspects of Grafana include: Installation Download page: https://grafana.com/grafana/download?edition=oss Your Grafana server will be hosted at http://[your Grafana server ip]:3000 The default Grafana login is If you reboot your server, the Grafana Service may not restart…
-
Prometheus Usage
Installation Download page: https://prometheus.io/download/ Access: reverse proxy with nginx: Add HTTPS: Add basic authentication: open /etc/nginx/sites-enabled/prometheus: update: Drop external port: iptables settings will be lost in case of system reboot. You will need to reapply them manually, or install iptables-persistent This will save your settings into two files called, /etc/iptables/rules.v4 /etc/iptables/rules.v6 Any changes you make to the iptables configuration…
-
GitHub Actions
Understanding the workflow file sample 1: official one sample 2: UE package Self-hosted runners follow this: Adding self-hosted runners Note: On Windows, if you want to install the self-hosted runner application as a service, you must open a shell with administrator privileges. We also recommend that you use C:\actions-runner as the directory for the self-hosted…
-
Showcase | More Old Demos
Automatic Animation Production In the Unreal Editor Skinning For Human Faces Deep Learning For IK One is from motion caption data and the another is from deep learning models for IK(Input is 3D joint positions). Deep Learning For In-betweening Real-time Face Swap Customed LiveLink Cinematics | Assets Editing Chat Bot Pixel Streaming MoCap Error happened.
-
[UE5]Clarification of Different Dependency Lists in a Build.cs File
I have the same question with darkgaze‘s question in the Unreal forums. It is kind of annoying to decide which dependency lists property should I use. PublicIncludePathModuleNames (List<String>) List of modules names (no path needed) with header files that our module’s public headers needs access to, but we don’t need to “import” or link against.…
-
Algorithms | Cheat Sheet
1 Sort use case Merge sort Quick sort Heap sort Heap structure In many computer science applications, we only need to access the largest or smallest element in the dataset. A priority queue is an abstract data type, while a Heap is a data structure. Therefore, a Heap is not a Priority Queue, but a…
-
[LeetCode] Graphs
Types of graphs: Terminologies: 1 Disjoint Set 1.1 Overview of Disjoint Set Q: Given the vertices and edges between them, how could we quickly check whether two vertices are connected? The disjoint set is a data structure(others might refer to it as an algorithm), also known as union-find data structure. The primary use of disjoint…