mirror of
https://github.com/lucidrains/DALLE2-pytorch.git
synced 2025-12-19 01:34:19 +01:00
fix another pydantic 2 migration error
This commit is contained in:
@@ -636,7 +636,7 @@ def initialize_training(config: TrainDecoderConfig, config_path):
|
||||
inference_device=accelerator.device,
|
||||
evaluate_config=config.evaluate,
|
||||
condition_on_text_encodings=conditioning_on_text,
|
||||
**config.train.dict(),
|
||||
**config.train.model_dump(),
|
||||
)
|
||||
|
||||
# Create a simple click command line interface to load the config and start the training
|
||||
|
||||
Reference in New Issue
Block a user