MGCNet icon indicating copy to clipboard operation
MGCNet copied to clipboard

MGCNet on Colab

Open lkh9908 opened this issue 3 years ago • 5 comments

I am currently trying to set up MGCNet on Colab, and when I am installing bazel, an error message pop up:

ERROR: bazel does not currently work properly from paths containing spaces (com.google.devtools.build.lib.runtime.BlazeWorkspace@38f2b815).

I do not think my path contains any spaces... Did anyone encounter the same problem. If so, how did you solve it? And did anyone successfully set up MGCNet on Colab?

lkh9908 avatar May 23 '21 04:05 lkh9908

I wrote a colab demo.@lkh9908 https://colab.research.google.com/drive/1G8aQFFXp5a3-9x4RbraOuEo7TaA6WPRh?usp=sharing

cuizhanyuan avatar May 25 '22 11:05 cuizhanyuan

@cuizhanyuan Hello, I hope this message gets to you well. I tried to run your collab and as well follow the installation prerequisites on my local machine but it seems that there will always be version conflicts between the python version, tensorflow-gpu, opencv-python, and numpy. Are there any updates to the collab?

Moreover, after cloning from the git repository, there is no such content/MGCNet directory avaiable. Thank you so much

BanjiBear avatar Jan 03 '24 07:01 BanjiBear

I'm very sorry. Now my job is not in that direction, I haven't run code in a long time. It should be a conflict caused by Colab updating the python version. When I configured it successfully, its python version was 3.7.The environment configuration of this project is quite complex and requires a little more patience. It took me several days to successfully configure it.@BanjiBear

cuizhanyuan avatar Jan 04 '24 04:01 cuizhanyuan

The current python version of colab is Python 3.10.12.

cuizhanyuan avatar Jan 04 '24 04:01 cuizhanyuan

@cuizhanyuan Thank you so much for your response and please do not be sorry. Thank you for your time. I tried to install all dependencies with newer versions and monitor their compatibility. Yet, there are some issues still with bazel and g++ in the collab. I have found other work regarding facial geometry modeling. Please don't worry. Thanks again

BanjiBear avatar Jan 04 '24 10:01 BanjiBear