Making GLAMR actually work and solving all errors! #41
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thanks for such an awesome work. There were errors in the code and dependencies related to Hybrik and GLAMR. There were also missing files. I have tried to resolve all the problems and tried to document all the known errors here. Hope it helps.
The below steps works on Nvidia RTX 2080Ti, Driver Version: 530.30.02, CentOS Linux 7 (Core)
Complete conda and pip dependency can be found at environment.yml
Installing Hybrik environment
Errors related to
opendr
You are likely to encounter missing
_constants.py
error. You can resolve this here.OSMesa.Linux.x86_64.zip
from link http://files.is.tue.mpg.de/mloper/opendr/osmesa/OSMesa.Linux.x86_64.zip and put this file inopendr/contexts directory
.import _constants.py
to absolute path (from opendr.contexts._constants import *
) inopendr/contexts/ctx_base.pyx
python setup.py build
andpython setup.py install
Missing downloads
pretrained_w_cam.pth
: https://drive.google.com/uc?id=16Y_MGUynFeEzV8GVtKTE5AtkHSi3xsF9 pre trained Hybrik weightsCredits