紀錄解決「Argument list too long」錯誤的完整方法 — xargs 分批、find 限制。
紀錄用 ffmpeg 調整影片濾鏡 — eq filter、contrast/brightness/saturation、-pix_fmt。
紀錄 PyTorch 測運算時間的正確做法 — 底層是非同步的,單用 time.time() 測不準,需先 torch.cuda.synchronize() 等 GPU 跑完再計時。
紀錄 YouTube 4K 影片上傳失敗的排查 — 手機預設 1080p、套用濾鏡會自動降質,以及「完整畫質」設定的重要性。
紀錄 PyTorch 跑出「condition, x, y 不在同一 device」錯誤的解法 — 用 .to(DEVICE) 把資料搬到同一張 GPU 即可。
整理 apt、apt-get、dpkg 工具的差異比較 — apt 現代化介面、apt-get 傳統指令、dpkg 處理 .deb 套件的各自應用場景。
紀錄 PyTorch 出現 No module named 'ranger' 的解法 — Ranger Optimizer 還沒上 PyPI,只能從官方 GitHub clone 後 pip install 手動安裝。
紀錄 PyTorch 跑出 'int' object has no attribute 'float' 的解法 — 底層原因其實是資料沒 load 進來,導致 tensor 變成 int 純量。
紀錄 Linux 關機與重啟指令的使用方法及參數 — shutdown -h/-r、now 立刻、延遲。
紀錄排除「Assertion 'isObject' failed」錯誤的步驟 — 原因診斷、型別檢查。