Skip to content

Commit

Permalink
update args
Browse files Browse the repository at this point in the history
  • Loading branch information
JunnYu committed Nov 18, 2022
1 parent a781506 commit cdfc64e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions ppdiffusers/examples/text_to_image_laion400m/ldm/ldm_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,15 @@ class DataArguments:
"""
Arguments pertaining to what data we are going to input our model for training.
"""
file_list: Optional[str] = field(
default="./data/filelist/train.filelist.list",
metadata={"help": "The name of the file_list."})
resolution: Optional[str] = field(
file_list: str = field(default="./data/filelist/train.filelist.list",
metadata={"help": "The name of the file_list."})
resolution: int = field(
default=256,
metadata={
"help":
"The resolution for input images, all the images in the train/validation dataset will be resized to this resolution."
})
num_records: Optional[str] = field(default=10000000,
metadata={"help": "num_records"})
num_records: int = field(default=10000000, metadata={"help": "num_records"})
buffer_size: int = field(
default=100,
metadata={"help": "Buffer size"},
Expand Down

0 comments on commit cdfc64e

Please sign in to comment.