AIA技術班校友共筆
      • 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
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • 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
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Help
Menu
Options
Versions and GitHub Sync 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
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
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
1
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# Data Preparation Using Roboflow ###### tags: `Object Detection` ## Register Roboflow 1. Roboflow[官網](https://roboflow.com/)>Signup ![](https://i.imgur.com/kPGZ2ZB.png) 2. [登入頁面](https://app.roboflow.com/login)>Sign in with Github (用Email也行) ![](https://i.imgur.com/dDeudXm.png =300x) 3. 登入Gitlab帳號後,記得給予roboflow讀取email的權限 ![](https://i.imgur.com/3AiBT8D.png =300x) 4. 依需求選取目的:e.g. School Projects,並且同意所有使用條款 ## Create Project 1. 點選Create a Public Workspace ![](https://i.imgur.com/2TklIB3.png =200x) 2. 進入到Workspace中,左側可以看到已有的workspace列表,數字代表該space中有多少Project ![](https://i.imgur.com/CNAFtP2.png =200x) 3. 在一個space中點選Create New Project ![](https://i.imgur.com/6czuAEp.png =300x) 4. 要你選data來源,這邊可以自己做也可以跑右邊Tutorial試試 ![](https://i.imgur.com/VvGroQq.png =300x) 5. 根據需求填寫Project Name, Type, Output ![](https://i.imgur.com/B5pRnSc.png =300x) 6. 如果要找dataset可以去它公開的[網頁](https://public.roboflow.com/) ![](https://i.imgur.com/hbpGHQG.png =400x) 7. 我用的是這個[水族館資料集](https://public.roboflow.com/object-detection/aquarium) 8. 其中右上角有一個fork dataset可以直接inport這些資料到自己的project中 ![](https://i.imgur.com/LQlu9er.png) 9. 按下去Fork Dataset,自動跳轉到project頁面 ![](https://i.imgur.com/IADdOaq.png =300x) 10. 若不是這樣也可以先download下來再上傳上去(不過有點多此一舉) ## New Version of Dataset 上傳完資料(image+label)就開始創資料集,創完才能下載,其中頁面上會顯示基本資料: train/ test split中 image, class ,label的數量等等 ![](https://i.imgur.com/r6UM5TH.png) ### 1. Source Image * 預覽部分圖片,Add More Images點下去可以多加圖片 ![](https://i.imgur.com/Aooh1FM.png =500x) ### 2. Train/Test Split * 很重要,可以重新分配train/test/val ![](https://i.imgur.com/qhLwXjQ.png =500x) * 拉下面的圓圈可以調整train/test/val圖片量 ![](https://i.imgur.com/j8c3pqp.png =300x) ### 3. Pre-Processing * 做一些前處理,有一大堆東西可以做,點右邊的X可以刪除process ![](https://i.imgur.com/enLCBrl.png =300x) * 點Add Preprocessing Step可以看到有很多前處理可以做,這邊就不贅述,點進去有圖可以看 ![](https://i.imgur.com/CCivQ4I.png =300x) ![](https://i.imgur.com/R93QoWK.png =300x) * 其中Isolate Objects可幫助我們裁切資料下來,以便用來當support data ![](https://i.imgur.com/mLNL8LA.png =300x) ### 4. Augmentation * 資料擴充,可以對每張圖片做指定事情 ![](https://i.imgur.com/jrl2eyb.png =300x) * 點Add Augmentation Step也有一堆選項 ![](https://i.imgur.com/UWu13hy.png =300x) ### 5. Generate * 若前面有做Augmentation就可以選倍數,數量會增加 ![](https://i.imgur.com/yzkHitz.png =300x) * 按下continue就開始跑處理了,這時也可以修改資料集名稱 ![](https://i.imgur.com/SkkzYMX.png =300x) ## Download Dataset 1. 到自己的dataset頁面>Export ![](https://i.imgur.com/lCEa3z8.png) 2. 這邊可以直接輸出一堆種類的annotation style,這邊我們選coco ![](https://i.imgur.com/PjfXJLn.png =300x) 3. 下面兩個選項:下載zip、show download code(直接在server上下載用) ![](https://i.imgur.com/3hHQIiY.png =300x) 4. 如果是download code的話可以不要自找麻煩用Jupyter格式,因為還要API key,直接選terminal並且copy那串文字 ![](https://i.imgur.com/iAjjmlZ.png =300x) e.g. ``` # Terminal curl -L "https://universe.roboflow.com/ds/0DY7KpffKr?key=Oafpowa4Jc" > roboflow.zip; unzip roboflow.zip; rm roboflow.zip # Colab !curl -L "https://universe.roboflow.com/ds/0DY7KpffKr?key=Oafpowa4Jc" > roboflow.zip; unzip roboflow.zip; rm roboflow.zip ``` 5. 這串code可以用在Colab或者自己server上,只要有terminal就可以直接使用來下載dataset

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