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

no module named clip #2

Open
DeXtmL opened this issue Sep 25, 2021 · 2 comments
Open

no module named clip #2

DeXtmL opened this issue Sep 25, 2021 · 2 comments

Comments

@DeXtmL
Copy link

DeXtmL commented Sep 25, 2021

Trying to experiment with perceptual model, upon training it says:

Traceback (most recent call last):
  File "train.py", line 490, in <module>
    main_function(config)
  File "train.py", line 224, in main_function
    perceptual_net = CLIP_for_Perceptual()
  File "/content/improved-nerfmm/models/perceptual_model.py", line 65, in __init__
    import clip
ModuleNotFoundError: No module named 'clip'
@DeXtmL
Copy link
Author

DeXtmL commented Sep 25, 2021

installation is done with:
pip install numpy pyyaml addict imageio imageio-ffmpeg scikit-image tqdm tensorboardX "pytorch3d>=0.3.0" opencv-python transformers

@ventusff
Copy link
Owner

Hi @DeXtmL,
The clip model is in the implementation of OPENAI-CLIP, which is located at https://github.com/openai/CLIP
You can install it via their intructions.
Sorry that I haven't got time to work on this repo recently, and the part of perceptual model is still a WIP for now, which I'm not sure if it's fully functional or not. It will be updated later this year, though :)

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