Doarchive

Creating an Image Classifier Model in Swift playground 본문

Computer Vision/Deep learning

Creating an Image Classifier Model in Swift playground

오순발닦개 2020. 1. 22. 11:25

1 Get started with playground

2.select mac os  - Blank 

3. typing this code and start

3.  Drag  image folder that you want to train

folder structure have to be like that 

Test  - object folders - images in to the folder 

this is the example, when i make model , I put more than 500 images each object folder

3, After dragging folder training is success

4. Let's evaluation , drag test images and another object images which not used in training  

you can check the result   like below images   // prediction - result

5. save model

6. It can be used in Xcode

728x90