Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(critical): misc bugfixes to make ROMP usable again #155

Merged
merged 6 commits into from
Feb 11, 2022

Conversation

vivi90
Copy link
Contributor

@vivi90 vivi90 commented Feb 11, 2022

This merge contains different critical bugfixes to make ROMP usable again.

Some of it are general.
Others are Windows OS related.

Tests

  • Windows 10 with Python 3.9.7
  • Ubuntu Linux
  • Mac OS

Fixed issues

Install

choco install visualstudio2019buildtools visualstudio2019-workload-vctools
conda create -n ROMP python=3.9
conda activate ROMP
conda install -n ROMP pytorch=1.10 torchvision=0.11 cudatoolkit=11.3 -c pytorch
pip install -r requirements.txt

Run

python -u -m romp.predict.image --configs_yml=configs/image.yml

Configuration

My configs/image.yml:

ARGS:
 tab: 'process_images'
 GPUS: 0

 backbone: 'hrnet' #'resnet' #
 model_precision: 'fp32' # 'fp16'
 val_batch_size: 4
 nw: 4
 model_path: trained_models/ROMP_HRNet32_V1.pkl #  'trained_models/ROMP_ResNet50_V1.pkl'
 save_visualization_on_img: True
 smpl_mesh_root_align: False
 show_mesh_stand_on_image: False
 soi_camera: 'far' # 'close'
 interactive_vis: False
 renderer: 'pyrender' # 'pyrender' 'pytorch3d' 

 # default: run on demo/images and the results would be saved at demo/images_results
 # for video demo/videos/Messi_1
 inputs: 'E:\Projekte\py\ROMP\demo\images' #'demo/videos/Messi_1'
 collect_subdirs: False # whether to collect images from the sub-folder of the input path.
 output_dir: 'E:\Projekte\py\ROMP\demo\image_results'
 save_mesh: True
 save_centermap: False
 save_dict_results: True
 mesh_cloth: 'ghostwhite'  #'LightCyan'

@Arthur151
Copy link
Owner

Thanks for your contribution

@Arthur151 Arthur151 merged commit f1d0d22 into Arthur151:master Feb 11, 2022
@Arthur151
Copy link
Owner

Arthur151 commented Feb 11, 2022

Thanks for your work! I have tested it on Windows. It does fix the bugs of pip whl installation.
I have claimed your contribution at contributor. Is this OK?

@vivi90
Copy link
Contributor Author

vivi90 commented Feb 11, 2022

Yes, thank you 🙂

@vivi90 vivi90 deleted the fixes branch November 26, 2023 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants