StableCascade icon indicating copy to clipboard operation
StableCascade copied to clipboard

ModuleNotFoundError: No module named 'gdf'

Open vardhanam opened this issue 1 year ago • 3 comments

python3 train/train_c_lora.py configs/training/finetune_c_3b_lora.yaml

running the above is giving me an error

  File "/home/vardh/fine_tune_stable_cascade/StableCascade/train/train_c_lora.py", line 12, in <module>
    from gdf import GDF, EpsilonTarget, CosineSchedule
ModuleNotFoundError: No module named 'gdf'

I can't find this module anywhere on the web. Please help

vardhanam avatar Mar 14 '24 10:03 vardhanam

pip install git+https://github.com/WARP-AI/gdf -U

SirTrippsalot avatar Apr 08 '24 16:04 SirTrippsalot

see here https://github.com/Stability-AI/StableCascade/issues/10

geroldmeisinger avatar Jun 03 '24 15:06 geroldmeisinger

Adding sys.path.append(os.getcwd()) seems work to me.

So the module import should looks like

sys.path.append(os.getcwd())
from gdf import GDF, EpsilonTarget, CosineSchedule

tikhonlavrev avatar Jun 04 '24 16:06 tikhonlavrev