Open in app

Sign In

Write

Sign In

Yanwei Liu
Yanwei Liu

1.7K Followers

Home

About

Pinned

PyTorch深度學習工具箱

本文把文章標題取名成PyTorch深度學習工具箱的用意是在於: 日常在進行PyTorch模型訓練的時候,如果想知道模型的好壞,我們會用不少方式去評估。例如:train/val loss、train/val accuracy、Confusion Matrix、per class accuracy、F1 Score、t-SNE視覺化、GradCAM、觀看模型分類時,判斷錯誤的圖片,及其原始圖片路徑。 然而,目前大多數research公開的程式碼當中,幾乎找不太到有一個將前述評估方法整合在一起的程式。也因此,如果我們想要得到這些資訊,就必須到Google搜尋,找別人是怎麼完成這些功能的,往往花上不少時間。 在本文當中,我將彙整過去寫過關於這些主題的文章及程式碼,製作成一個目錄,供讀者及自己查詢使用: 1.使用TensorBoard視覺化train/val loss、train/val accuracy https://pytorch.org/docs/stable/tensorboard.html

Pytorch

4 min read

Pytorch

4 min read


3 days ago

Implement IQA metric with PyTorch

Image quality can refer to the level of accuracy with which different imaging systems capture, process, store, compress, transmit and…

Image Quality

1 min read

Image Quality

1 min read


4 days ago

Best Podcast Application for Ubuntu

For the 20 reviewed applications in the following article, I found gPodder to be the best fit for me. Best Podcast Apps for Linux: Top 20 Reviewed For Linux Podcatcher This article is for those users who want the best podcast app for their Linux system. I will share a generic list of…www.ubuntupit.com

Linux

1 min read

Linux

1 min read


4 days ago

How to know the uncompressed size of a zip file without decompressing it?

How do I determine the uncompressed size of a zip file without decompressing it? When you open a ZIP-file with the archive manager, it tells you the size of the contained files. If you want to know…askubuntu.com The following command will output the file size in GB(Gigabyte) bc<<<"$(unzip -l yourzipfile.zip | tail -1 | xargs | cut -d' ' -f1)/1024/1024/1024"

Linux

1 min read

Linux

1 min read


5 days ago

Becoming a Senior Software Engineer in 3 Years: Tips and Strategies from GPT-4

To improve your abilities and work towards a promotion to a senior software engineer within 3 years, you should focus on developing both your technical and soft skills. Here are some steps you can follow: 1. Master your programming language(s) and tools Become proficient in the programming languages and tools you use daily. This includes understanding language-specific…

Chatgpt

2 min read

Chatgpt

2 min read


Mar 17

Gdown下載檔案遇到24小時內太多人進行下載的限制

pip install gdown #安裝gdown套件 gdown 'https://drive.google.com/uc?id=FILE_ID' #下載檔案 下載檔案時,卻遇到以下的錯誤: Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can’t access a file after 24 hours, contact your domain administrator.

Google

1 min read

Google

1 min read


Mar 17

如何安裝mmcv?

最近因專案需求,要透過mmcv進行開發,但安裝上卻遇到error。 問題的原因是:透過pip直接安裝,可能無法安裝到對應於自己Server上的CUDA與PyTorch版本的mmcv。透過mim install則可以順利安裝 pip install -U openmim mim install mmcv-full # 最新版 mim install mmcv-full==1.4.0 # 指定版本

Mmcv

1 min read

Mmcv

1 min read


Mar 3

ChatGPT使用案例(一):Image Enhancement的入門教學文章

Prompt: 現在你是一個深度學習領域的電腦視覺專家,請撰寫一份關於Image Enhancement的入門教學文章,字數約5000字。 介紹 在電腦視覺領域中,圖像增強(Image Enhancement)是一個基礎且重要的技術。它可以改善圖像的質量,增加其對象的可見度、清晰度和對比度,從而使圖像更容易被人和機器理解和處理。圖像增強技術有很多 …

Image Enhancement

8 min read

Image Enhancement

8 min read


Feb 25

ChatGPT資源蒐集

本文整理ChatGPT的相關資源,分為三類:1.Chrome擴充套件、2.教學文章、3.資源整理 1.Chrome擴充套件 AIPRM for ChatGPT 一鍵使用他人預先定義好的Prompt(提示詞),進行問題詢問 ChatGPT for Google 在使用Google進行搜尋時,同時顯示ChatGPT的回答結果 ChatGPT for StackOverflow 顯示StackOverflow網站上的問題,透過ChatGPT回答的結果 ChatGPT for zhihu 顯示知乎網站上的問題,透過ChatGPT回答的結果 ChatGPT Writer — Write mail, messages with AI 使用ChatGPT快速撰寫Email YouTube Summary with ChatGPT 現在Youtube影片長度動輒10~20分鐘,使用ChatGPT快速進行影片內容總結

Chatgpt

1 min read

Chatgpt

1 min read


Feb 24

如何在iPhone/iPad上透過Siri使用ChatGPT?

20230304更新「真-ChatGPT」,因為OpenAI開放API的關係,可以實際使用最新版本的ChatGPT進行問答了,建議可參考該Github進行設定:https://github.com/Yue-Yang/ChatGPT-Siri 近期相當火紅的ChatGPT在各種問題回答上都有相當傑出的表現。多年以前Siri的出現,也是令人相當驚艷,但與ChatGPT相比,其回答問題的能力就顯得不足。 所幸,在網路上有人將ChatGPT透過iOS捷徑的方式,整合到iOS的作業系統當中。 其工作原理是透過Siri執行ChatGPT捷徑,並詢問其問題後,再經由Siri將ChatGPT回覆的內容唸出。 實際使用下來會發現雖然存在一些BUG,但瑕不掩瑜,仍舊有相當優異的回答。 期待未來Apple正式將類似ChatGPT的服務加入至Siri當中,藉此獲得更好的使用者體驗。

Chatgpt

1 min read

Chatgpt

1 min read

Yanwei Liu

Yanwei Liu

1.7K Followers

Machine Learning | Deep Learning | https://linktr.ee/yanwei

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech