yeates / PromptFix

[NeurIPS 24] PromptFix: You Prompt and We Fix the Photo
Apache License 2.0
618 stars 36 forks source link

bash scripts/inference.sh ModuleNotFoundError: No module named 'einops #12

Open percinor opened 1 week ago

percinor commented 1 week ago

promptfix.ckpt 100%[===================>] 4.14G 40.0MB/s in 1m 45s
2024-11-20 12:20:14 (40.2 MB/s) - ‘/content/PromptFix/scripts/../checkpoints/promptfix.ckpt’ saved [4442108228/4442108228] Pre-trained model downloaded to checkpoints/promptfix.ckpt Begin inference... Traceback (most recent call last): File "/content/PromptFix/scripts/../process_images_json.py", line 6, in import einops ModuleNotFoundError: No module named 'einops'

// another question: !conda create -n promptfix python=3.10 -y is ok , !conda activate promptfix , alway get error .

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To initialize your shell, run

$ conda init <SHELL_NAME>

Currently supported shells are: