Skip to content

Commit 24c0b25

Browse files
committed
update comments
1 parent 6693a59 commit 24c0b25

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

models/base_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def __init__(self, opt):
2222
opt (Option class)-- stores all the experiment flags; needs to be a subclass of BaseOptions
2323
2424
When creating your custom class, you need to implement your own initialization.
25-
In this fucntion, you should first call `BaseModel.__init__(self, opt)`
25+
In this fucntion, you should first call <BaseModel.__init__(self, opt)>
2626
Then, you need to define four lists:
2727
-- self.loss_names (str list): specify the training losses that you want to plot and save.
2828
-- self.model_names (str list): specify the images that you want to display and save.

models/pix2pix_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def modify_commandline_options(parser, is_train=True):
2424
Returns:
2525
the modified parser.
2626
27-
For pix2pix, we do not use image buffer (pool_size=0),
27+
For pix2pix, we do not use image buffer
2828
The training objective is: GAN Loss + lambda_L1 * ||G(A)-B||_1
2929
By default, we use vanilla GAN loss, UNet with batchnorm, and aligned datasets.
3030
"""

train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""General-purpose training script for image-to-image translation.
22
33
This script works for various models (with option '--model': e.g., pix2pix, cyclegan, colorization) and
4-
different datasets (with option '--dataset_mode': e.g., aligned, unaligned, `single, colorization).
4+
different datasets (with option '--dataset_mode': e.g., aligned, unaligned, single, colorization).
55
You need to specify the dataset ('--dataroot'), experiment name ('--name'), and model ('--model').
66
77
It first creates model, dataset, and visualizer given the option.

0 commit comments

Comments
 (0)