Coder Social home page Coder Social logo

vlpart's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vlpart's Issues

how to visualize the results of paco dataset

thanks for your excellent work,i'm new to deep learning,
how to visualize the results of paco dataset, i used the swinbase_cascade_paco.yaml model and the checkpoints to train,but how to visualize the obtained json file? thanks a lot

Dynamically changing vocabulary

Hello!

Thank you for this great work! I was wondering if there's an easy way that I'm missing to dynamically change the custom vocabulary per sample? Or is this a limitation of detectron2 (i.e., not being able to change Metadata)?

Unstable training when saving zero-shot weights

Hello!

I am trying to reproduce the pascal part results when going from base to novel categories and am experiencing different results from saving my own weights vs. using the ones you have provided in datasets/metadata.

For example, when using the saved weights you provide these are my results after 2000 iterations (1 gpu).
image

And these are my results after saving new weights using tools/pascal_part_base_clip_name.py.
image

The only difference seems to be in the precision between these weights (in the 1e-4 place). Do you know why there would be such a discrepancy?

Thank you!
Josh

Need some explanation on a data preparation code.

Hi, I found this part of the code confusing. Could you give some explanations? I put some comments that I didn't understand. Thanks.

    for ann in data['annotations']:
        segs = ann['segmentation']
        new_segs = []
        for seg in segs:
            assert len(seg) > 0 and len(seg) % 2 == 0
            if len(seg) < 4:
                new_segs.append(seg + [0, 0, seg[0], seg[1]]) # why do you add these?
            if len(seg) == 4:
                new_segs.append(seg + [seg[0], seg[1]])
            else:
                new_segs.append(seg)
            new_segs.append(seg) # Why do we need this line?
        ann['segmentation'] = new_segs

Export alpha mask

Hi! Thank you very much for your excellent work!

How can I export the alpha mask of the segmented area? That is, a black and white image that only leaves the segmented area white?

Thank you very much in advance!

Pascal Part Clarification

Thank you for this great work! When I run your scripts to generate the annotations for pascal part I only get 8831 total samples as opposed to the expected ~10,000. Do you know why this would be?

Higher Evaluation Result on PACO

Hi, I appreciate your great work, however, when I run evaluation on PACO dataset follow your instructions, I found out that both r_50 and swinbase model reach a higher AP than your paper on open-vocabulary task, the details are as follows:

r_50:

AP AP50 AP75 APs APm APl APr APc APf post-processed
18.477 34.633 17.761 16.062 29.749 32.301 8.750 15.564 19.478 {'obj-AP': 31.371, 'obj-AP50': 53.012, 'obj-part-AP-heirarchical': 14.587, 'obj-part-AP50-heirarchical': 29.521}
AP AP50 AP75 APs APm APl APr APc APf post-processed
13.323 25.231 12.589 10.641 22.601 26.665 7.500 12.214 13.716 {'obj-AP': 27.955, 'obj-AP50': 46.029, 'obj-part-AP-heirarchical': 10.762, 'obj-part-AP50-heirarchical': 21.421}

Swinbase:

AP AP50 AP75 APs APm APl APr APc APf post-processed
27.089 44.215 27.583 23.176 43.016 50.203 7.500 22.097 28.820 {'obj-AP': 45.284, 'obj-AP50': 62.063, 'obj-part-AP-heirarchical': 21.636, 'obj-part-AP50-heirarchical': 38.498}
AP AP50 AP75 APs APm APl APr APc APf post-processed
19.103 34.669 18.116 15.740 30.578 37.538 2.500 16.957 19.892 {'obj-AP': 37.66, 'obj-AP50': 56.677, 'obj-part-AP-heirarchical': 15.208, 'obj-part-AP50-heirarchical': 29.44}

and my evaluation command is:
python train_net.py --config-file configs/paco/r50_paco.yaml --eval-only --num-gpus 8
and:
python train_net.py --config-file configs/paco/swinbase_cascade_paco.yaml --eval-only --num-gpus 8

Could you please check your result or inform me that how should I reproduce your result, thanks!

How to parse image level data into part level data

Hi, I very appreciate your work and I would like to follow your work and apply it to recent tasks, but I wonder how could I visualize these image-level data that were parsed into part-level data, I found out that in configs folder there is another folder named ann_parser which contains the config file to parse data. However, when I use the config file "find_ins_mixer.yaml" it went wrong with "FileNotFoundError: [Errno 2] No such file or directory: 'output_basedata_pascalpart' ", I would like to know that what command should I run and how should I prepare datasets for visualizing those images that were parsed into part-level data, thanks.

question about free input image

First thank you for your great work!!

The model outputs several overlapped regions with a same label when a picture which doesn't belong to any dataset was input. I wonder why this happend and how to fix it?

Thank you in advance!

A Failure of Easy Human Part Segmentation

Hi @PeizeSun @ShoufaChen et al.,

Thx for ur great contribution. When I tried the demo on the image below, with the cmd:

python demo/demo.py --config-file configs/partimagenet_ablation/r50_lvis_paco_pascalpart_ins11_ins11parsed.yaml \
  --input input1.jpg \
  --output output_image \
  --vocabulary pascal_part \
  --confidence-threshold 0.7 \
  --opts MODEL.WEIGHTS models/r50_lvis_paco_pascalpart_ins11_ins11parsed.pth VIS.BOX False

I cannot get satisfactory generalization results: e.g., misclassify the leg as the arm. Could you provide some guidance on this issue? Many thx & rgds,

image

Refs:
https://github.com/facebookresearch/VLPart/blob/main/MODEL_ZOO.md#cross-dataset-part-segmentation-on-partimagenet

object detection on aerial image

Thanks for the great work! I'm hoping to test VLPart for detecting objects from aerial images. However, The results are not as expected. Could you please help me? I wasn't sure if I was using the repo incorrectly or if this was the limitation of the released model on the aerial image. Thank you in advance for your help!

Here is a result I got by running :

python demo/demo.py --config-file configs/joint_in/swinbase_cascade_lvis_paco_pascalpart_partimagenet_inparsed.yaml --input 2.jpg --output output_image --vocabulary custom --custom_vocabulary "road,building,window,tree,car,light pole" --confidence-threshold 0.7 --opts MODEL.WEIGHTS models/swinbase_cascade_lvis_paco_pascalpart_partimagenet_inparsed.pth VIS.BOX False

2

I also tried to lower the confidence-threshold, but other than the cars, nothing was detected.

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.