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

Colab main cell doing nothing #100

Closed
smithee77 opened this issue Aug 7, 2022 · 9 comments
Closed

Colab main cell doing nothing #100

smithee77 opened this issue Aug 7, 2022 · 9 comments

Comments

@smithee77
Copy link

Hi, first thanks for your code
In colab version, when running the cell that starts with

run the test on examples

the execution is very fast, no errors, but do nothing. Next cell show errors:
FileNotFoundError: [Errno 2] No such file or directory: '/content/ICON/results/icon-filter/vid/22097467bffc92d4a5c4246f7d4edb75_display.mp4'

many thanks

@YuliangXiu
Copy link
Owner

Have u already run all blocks? Just start from the git clone block and the following setup takes 10 min around.

Also, you can use

@smithee77
Copy link
Author

Hi @YuliangXiu thanks for fast response.
Yes, all the blocks were run. Also tried restarting running environment, but same result, no error but "no actions" either.

Regards

@smithee77
Copy link
Author

Hi back @YuliangXiu
if I uncomment "clear_output()" in the cell that runs it all, I'm getting this error:

ModuleNotFoundError: No module named 'pytorch3d'
I've tried to !pip install pytorch3d in colab environment but it's not working. Also, in "requirements_colab.txt" that package is present, but somehow it's not being installed in the conda environment???

many thanks again

@YuliangXiu
Copy link
Owner

YuliangXiu commented Aug 7, 2022

Thanks for your feedback, I just updated the requirement files, see commit, I guess it is rembg which breaks the whole installation.

@smithee77
Copy link
Author

Hi @YuliangXiu ...closer but we're not still there ;)
With new changes, I'm getting this error:
ImportError: Numba needs NumPy 1.22 or less

Thanks again

@YuliangXiu
Copy link
Owner

Hi @YuliangXiu ...closer but we're not still there ;) With new changes, I'm getting this error: ImportError: Numba needs NumPy 1.22 or less

Thanks again

!source activate icon && pip install numpy==1.22.4

@smithee77
Copy link
Author

AssertionError: Path /content/ICON/lib/dataset/../../data/smpl_related/models/smpl does not exist!

(I've downloaded ALL optional models)

@YuliangXiu
Copy link
Owner

You don't need to download any optional models, I think you should run fetch_data.sh again.

@smithee77
Copy link
Author

@YuliangXiu I had to manually create some folders to make it work...but running now! ;)

%mkdir /content/ICON/data
%mkdir /content/ICON/data/smpl_related
%mkdir /content/ICON/data/smpl_related/models
%mkdir /content/ICON/data/smpl_related/models/smpl

many thanks for your support

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

No branches or pull requests

2 participants