楊尚峰
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    --- title: '研究生日記-5' disqus: hackmd --- 研究生日記-5 === ![grade](https://img.shields.io/badge/Grade-新手-brightgreen) --- ## 2021/10/27 ## 起 過了20天,終於又想到要來寫日記了。 這段期間發生好多事。有好有壞,心情跌宕起伏。 主要就三件事: 研究 / 實習 / SG39研討會 ## 承 實習終於開始實體上課了,可是台北這個該死的雨天讓實習不好帶 我跟大一一樣希望課越少越好,想放假,因此我希望他們趕快測完 可惜,功敗垂成,一組成功測完,一組快測完時發現有一段算錯... 原本測完的話,我禮拜五就可以去SG39了... ---- ## 轉 SG39真的是一個issue,雖然這樣講不是很有道德 但是我覺得這跟TGIS一樣,學生是可以溜進去的 這次辦在北大,離台大有點距離,但是也算近 因為韓老師要去演講,所以禮拜四下午是沒課的 ---> 大家都有空可以去 我看過細部議程後發現有一個人的報告主題跟我的研究方向有相關 ---> 主因 但是也想到可以跟成大的同學敘敘舊 ---> 次因 :::warning 蔡老師也會去SG39,但是當他聽說我跟品和也想去的時候 竟然來勸退我們@@ ::: 我個人的感覺是入場費太貴了,如果被抓到要繳錢的話... 原本想請老師幫我看一下我有興趣的那場報告,但後來還是算了,請成大有去的同學幫忙。 :::info 我自己覺得研究主題已經蠻明確的,目前也已經弄了一個新的dataset來跑模型,算有點東西出來。花一個下午去研討會看一下應該沒什麼太大的問題。 ::: ## 合 研究真的是一個坑,個人也覺得缺乏運氣 這20天我先從dataset開始搞 ---> pycocotools把mask畫在data上 然後是找object detection的框架來train 一開始我參照dataset論文使用的mmdetection,進行訓練(colab) ---> 訓練走走停停,還被鎖了幾次 ==>萌生想買一台實驗室電腦的想法 ==>目前沒有經費 ==>組一台好一點的要35000up 幾經波折,終於搞到一個AI中心的帳號,但也就意味著要重新地去學習一套系統 為此我快速複習了一下鳥哥的linux私房菜(要幫lab編使用手冊) 花了兩天假日研究,終於在上面成功training了 :::success 用一些很潮的layer(ranger&group normalization)的model ---> MINST 手寫辨識分類 ::: ![](https://i.imgur.com/bUs1Yvy.jpg) 由於已經有用mmdetection在colab上面train 20 epoch 並成功預測結果 此時覺得差不多都搞定了....才沒有...惡夢才剛開始 ---- mmdetection的folder我直接從drive下載後upload到系統 --> ok 安裝backend mmcv時 --> fail again and again 失敗原因: 1. pip install 的 runtime error 2. CUDA version not compatible 奇怪的是,兩個失敗原因竟然輪流出現... mmcv的github提供的cuda + torch version就是這麼剛好,他媽的跟系統提供的差一個版本 (系統 11.2 mmcv 11.1) & (系統 10.0 mmcv 10.1) 有一個light version, 但是不提供CUDA...這就直接死亡 因此我又想故技重施---> COLAB下載後把folder upload到環境中 ---> 載上去成功 跑一個測試看看 ---> error又是跟CUDA有關(網路上說有些版本會向下相容一個版本,很顯然10.1並不相融10.0) ---- 為什麼想要用這個架構 == 原因就是支援的MODEL很多,可以快速替換,連一些2021的新MODEL都有 inference speed 也是屌打許多原生的package solution == 偶然發現AI中心為自動載入detectron2,由於架構跟mmdetection還算是比較相近(pytorch backend) 因此決定用它,不過缺點也是明顯 ---> 支援的model zoo很少 ex. backbone只有resnet系列 不過潦勝於無,花了一個晚上學習,終於弄好一個模型訓練的檔案(還不確定有沒有error) ---> 讓人生氣的事情發生了 再度跌入谷底 == 排隊....這個系統需要排隊 但是這個系統主要是給博士搞大研究(有看過v100 32G一次搞4張---> train 4 天) 我很識相的去排2080ti,但是就是這麼雖的遇到一半的卡輪休,另一半都被別人佔據 於是我嘗試test mode(其實沒甚麼屁用,就算語法沒錯cuda分配仍然有可能有問題,這個不執行檢查不出來) 所以我就只好Pending,Pending了一天半,真的不知道在Pend三小 ## 後記 目前已經有成功train了一個小的,AP約62,AP50大概82(segmentation) 84(bbox) 也有在colab上做inference,之後打算train resNeXt-fpn-3x架構的。 ==魚油== 每天我也是在研究室搞很久,眼睛有時會痠痛,因此都會拿思涵的魚油來吃 這是一個像藥丸的東西,去咬它的話就鹹鹹的,因此我都一口吞家喝水(有沒有效呢???) 之前有用過日本的馬油,不過那個是用來取代==面蘇莉打母(這樣拚嗎?)== 雖然聽說大學之後眼睛發育定型 ---> 近視度數不會再大幅上升了 但是會痠 ---> 哭阿 ==推甄面試== 這禮拜一是碩士甄試,有學弟跟同屆的來推台大。 同屆的說上禮拜才考完高考普考,我就問她上了還會來讀研究所? 她說可以公職可以保留兩年 ---> This is a news for me --- ## More tutorial / note 1. [my coding-blog](fatcatcat-lab.blogspot.com) 2. [my movie-blog](fatcatcat-movie.blogspot.com) 3. [my website](http://homepage.ntu.edu.tw/~r10521801/) ###### tags: `Graduate Life`

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully