I just installed this library, but it wasn't as simple as I would have hoped. Here is my process it might help someone else in the future:
At first you download the github repo:
git clone https://github.com/xheon/panoptic-reconstruction.git
cd panoptic-reconstruction
Depending now on the graphics card you use you have to adapt a few things, I used a 3070 for testing this code, so I needed to use at least CUDA 11. That means I changed the following lines in the environment.yaml. I also used a more recent python version:
Hey guys,
I just installed this library, but it wasn't as simple as I would have hoped. Here is my process it might help someone else in the future:
At first you download the github repo:
Depending now on the graphics card you use you have to adapt a few things, I used a 3070 for testing this code, so I needed to use at least CUDA 11. That means I changed the following lines in the
environment.yaml
. I also used a more recent python version:Before now installing the environment you might need to make sure that you have support for OpenEXR, on Ubuntu 20.4 this can be installed via:
After that we can just go forward and create the environment:
Now, you need to install some 3rdparty libs, we start with cocodataset API:
Afterwards, you need to install
cityscapescripts
:Now, it is time to install
apex
, which is the most difficult to install from this group, if it fails there is a suggested fix for Ubuntu 20.4 below:This might fail, because your conda environment does not provide nvidias compiler
nvcc
, on ubuntu 20.4 you can change this via:After this cuda install, you need to reboot and afterwards set the
CUDA_HOME
and add the nvcc to your path:Now you can run the command again, make sure that you first go to your
3rd_party
folder:After installing all these packages, you can now install the
maskrcnn-benchmark
:Finally, you need to add the
MinkowskiEngine
:After you installed that package you only need to install the panoptic packge itself:
I hope this helps someone.
PS: I am not the maintainer of this package and I can not help you if this doesn't work for you.
Best, Max