Environment:
Operating System: macOS
Steps to Reproduce:
Clone the GESCO-main repository.
Navigate to the repository directory.
Run the command python image_train.py --data_dir ./data --dataset_mode cityscapes... (other flags)
Expected Behavior:
The script should run without any issues.
Actual Behavior:
Received a ModuleNotFoundError for guided_diffusion.unet_edited.
Traceback (most recent call last):
File "/Users/wweng/Desktop/GESCO-main/image_train.py", line 11, in
from guided_diffusion.script_util import (
File "/Users/wweng/Desktop/GESCO-main/guided_diffusion/script_util.py", line 7, in
from .unet_edited import UNetModelSPADE, UNetModelEncOnly
ModuleNotFoundError: No module named 'guided_diffusion.unet_edited'
Additional Information:
Upon inspecting the guided_diffusion directory, the following modules were found:
init.py
fp16_util.py
gaussian_diffusion.py
image_datasets.py
losses.py
nn.py
resample.py
respace.py
script_util.py
train_util.py
unet.py
The module unet_edited is not present, causing the ModuleNotFoundError.
Environment:
Operating System: macOS
Steps to Reproduce:
Clone the GESCO-main repository.
Navigate to the repository directory.
Run the command python image_train.py --data_dir ./data --dataset_mode cityscapes... (other flags)
Expected Behavior:
The script should run without any issues.
Actual Behavior:
Received a ModuleNotFoundError for guided_diffusion.unet_edited.
Traceback (most recent call last):
File "/Users/wweng/Desktop/GESCO-main/image_train.py", line 11, in
from guided_diffusion.script_util import (
File "/Users/wweng/Desktop/GESCO-main/guided_diffusion/script_util.py", line 7, in
from .unet_edited import UNetModelSPADE, UNetModelEncOnly
ModuleNotFoundError: No module named 'guided_diffusion.unet_edited'
Additional Information:
Upon inspecting the guided_diffusion directory, the following modules were found:
init.py
fp16_util.py
gaussian_diffusion.py
image_datasets.py
losses.py
nn.py
resample.py
respace.py
script_util.py
train_util.py
unet.py
The module unet_edited is not present, causing the ModuleNotFoundError.