BMSG-GAN
BMSG-GAN copied to clipboard
A runtime error occurred while running 'train.py'...
I encountered this error when I was training in the following configuration:
python train.py --images_dir='data/bird' --folder_distributed=True --sample_dir='samples/exp_1' --model_dir='models/exp_1'
I changed default options in train.py where "default='os.environ['SM_MODEL_DIR']," to “samples/exp_1',” "default=os.environ['SM_CHANNEL_TRAINING'],“ to "default='data/bird',", "default='os.environ['SM_MODEL_DIR']," to “samples/exp_1',”
The dataset is loaded correctly. but it failed in training with this error :
Traceback (most recent call last):
File "train.py", line 267, in
I think this error has nothing to do with my modification. Could you please tell me what caused this error?
Broadcast shape (3, 128, 128) is (rgb, height, width) of image. output shape (1, 128, 128) means it's outputting one color channel, instead of 3/RGB. I think , I don't know that much about coding. Hopefully this helps.
I have the same problem, no idea why