Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Issue running #3

Open
Brandoncheaa opened this issue May 22, 2024 · 7 comments
Open

Issue running #3

Brandoncheaa opened this issue May 22, 2024 · 7 comments

Comments

@Brandoncheaa
Copy link

Hello I am trying to run your code for sample_trials.py however I am getting an error where there is no module named generative.

@Brandoncheaa
Copy link
Author

Seems to be referring to this line:
"from generative.inferers import DiffusionInferer
from generative.networks.schedulers import DDIMScheduler"

@Brandoncheaa
Copy link
Author

or could you possibly provide the specific script to generate the samples, the files are pretty dense are somewhat hard to navigate around. Thank you

@bruAristimunha
Copy link
Owner

Hi @Brandoncheaa,

Could you let me know if you installed the requirements.txt?

pip install -r requirements.txt

This is related to issue #2. The generative dependencies are from monai-generative.

@bruAristimunha
Copy link
Owner

Can you clarify what is confusing to you in the code?

@Brandoncheaa
Copy link
Author

I've installed all necessary requirements from the requirements.txt as well as manually installing lpips.

@Brandoncheaa
Copy link
Author

Could you provide the direct script that you used to run sample_trials.py?

@Brandoncheaa
Copy link
Author

I believe the issues are with the default paths set in the parser arguments within sample_trials.py, would appreciate any feedback

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants