Skip to content

chaddy1004/ARL_AFF_POSE

Repository files navigation

AffPose: Leveraging Real and Synthetic RGB-D Datasets for Affordance Detection and 6-DoF Pose Estimation

This work is largely based on:

  1. Labelusion for generating Real Images
  2. NDDS for generating Synthetic Images
  3. Mask R-CNN in Tensorflow 1.14.0
  4. DenseFusion in Torch 1.0.1
  5. Object-RPE previous work that integrated Mask R-CNN with DenseFusion
  6. DenseFusionROSNode custom rospy node for running AffPose in near real time

Alt text

Real UMD Dataset

The RGB-D Part Affordance Dataset dataset is avaliable here.

Synthetic UMD Dataset

The Synthetic dataset is avaliable here.

Real & Synthetic ARL Dataset

The Real dataset is avaliable here. The Synthetic dataset is avaliable here.

Pre-Trained Weights

Pre-trained Mask R-CNN are avaliable here. Pre-trained DenseFusion are avaliable here.

Requirements

  1. Mask R-CNN
    conda env create -f environment_tensorflow114.yml --name MaskRCNN
    
  2. DenseFusion
    conda env create -f environment_pytorch101.yml --name DenseFusion
    

Mask R-CNN

  1. To inspect dataset statistics run:
    python inspect_dataset_stats.py --dataset='(file path to dataset)' --dataset_type='(real or syn)' --dataset_split='val'
    
  2. To inspect trained model run:
    python inspect_trained_model.py --dataset_type='(real or syn)' --detect=rgbd+ --weights='(file path to weights)'
    
  3. To get predicted Affordance-semantic Masks run:
    python test.py --dataset_type='(real or syn)' --detect=rgbd+  --weights='(file path to weights)'
    
  4. To test preformance with the weighted F-b measure run the following in MATLAB:
    cd '(path to project)/Mask_RCNN/matlab/'
    evaluate_UMD('file path to test folder')
    

DenseFusion

  1. To inspect dataset run:
    python project_points.py
    
  2. To get predicted pose run:
    python inference_arl.py
    
  3. To get evaluation metrics run:
    python YCB_toolbox_plot.py
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published