Giter Club home page Giter Club logo

Comments (15)

geyuying avatar geyuying commented on August 16, 2024

@seokhyeonSong Do you want to visualize annotations of DeepFashion2 or visualize predicted results from network?

from deepfashion2.

seokhyeonSong avatar seokhyeonSong commented on August 16, 2024

@geyuying I found how to train and I'm training it.

what I want to know is how to visualize with predicted result from network.

If I make a pre-trained model, then what should I have to do with which py file?

sorry for just my ignorance...

from deepfashion2.

geyuying avatar geyuying commented on August 16, 2024

Our framework is based on Detectron, and we use Detectron/tools/infer_simple.py for visualization. You can refer to https://github.com/facebookresearch/Detectron/blob/master/GETTING_STARTED.md for details.

from deepfashion2.

seokhyeonSong avatar seokhyeonSong commented on August 16, 2024

@geyuying

Thanks for your help

I'll try it!

from deepfashion2.

seokhyeonSong avatar seokhyeonSong commented on August 16, 2024

@geyuying

Sorry for asking again..

I've tried sample_infer.py as python infer_simple.py --cfg ../configs/12_2017_baselines/e2e_faster_rcnn_R-50-FPN_1x.yaml --output-dir ./ --image-ext jpg --wts ../../match_rcnn/logs/deepfashion220190808T0916/mask_rcnn_deepfashion2_0005.h5 ./

but Detectron it seems to be cannot load h5 weight file..

I've got new h5 file by running match_rcnn's main.py

Is h5 file have to be transformed?

from deepfashion2.

jia0511 avatar jia0511 commented on August 16, 2024

from deepfashion2.

seokhyeonSong avatar seokhyeonSong commented on August 16, 2024

@jia0511

run evaluation/deepfasion2_to_coco.py to get json file

you may run this code with validation dataset and train dataset

Then you may get 2 json files.

Then run match_rcnn's main.py

You have to change settings with your environment

Then training will be started

That's what I've got known...

It could be wrong

from deepfashion2.

jia0511 avatar jia0511 commented on August 16, 2024

from deepfashion2.

jia0511 avatar jia0511 commented on August 16, 2024

from deepfashion2.

seokhyeonSong avatar seokhyeonSong commented on August 16, 2024

@jia0511

cuz This git's owner shares datasets to only the people who send google form

and trained model can be obtained by dataset so it will be impossible sry

from deepfashion2.

seokhyeonSong avatar seokhyeonSong commented on August 16, 2024

@jia0511
you have to change

json_name ~~, image_name ~~ (row 108,109) <- the link to dataset's annos folder and image folder

json_name (row 234) <- the name of json file to create

from deepfashion2.

jia0511 avatar jia0511 commented on August 16, 2024

from deepfashion2.

seokhyeonSong avatar seokhyeonSong commented on August 16, 2024

@jia0511

You also change num_images to the number of images train & validation has

from deepfashion2.

jia0511 avatar jia0511 commented on August 16, 2024

from deepfashion2.

seokhyeonSong avatar seokhyeonSong commented on August 16, 2024

I found how to train with sample_infer.py

make json file with deepfashion dataset with mtcnn's main.py

and run with this code https://github.com/facebookresearch/Detectron/blob/master/GETTING_STARTED.md#training-a-model-with-detectron

but dataset have to be changed

change Detectron/detectron/datasets/dataset_catalog.py
-> add new available datasets with deepfashion train & test with image files and json files

change Detectron/configs/getting_started/config_which_you_want
-> change DATASETS with new available datasets' name which you made at dataset_catalog.py

and then run train code with https://github.com/facebookresearch/Detectron/blob/master/GETTING_STARTED.md#training-a-model-with-detectron then train will be started

I've just started train but it would be make it visualize with the weights file that made with this code and config files that provided with detectron

Thanks for great help @geyuying

from deepfashion2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.