-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from mlberkeley/sep-classification
Adding separate classification network to the model
- Loading branch information
Showing
102 changed files
with
93,839 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# trains gan with an outside can network instead of having the discriminator learn style classification | ||
export PYTHONPATH="slim/:$PYTHONPATH" | ||
export CUDA_VISIBLE_DEVICES=0 | ||
BATCH_SIZE=16 | ||
python3 main.py \ | ||
--epoch 25 \ | ||
--learning_rate .0001 \ | ||
--beta 0.5 \ | ||
--batch_size $BATCH_SIZE \ | ||
--sample_size $BATCH_SIZE \ | ||
--input_height 256 \ | ||
--output_height 256 \ | ||
--lambda_val 1.0 \ | ||
--smoothing 1.0 \ | ||
--use_resize True \ | ||
--dataset wikiart \ | ||
--input_fname_pattern */*.jpg \ | ||
--crop False \ | ||
--visualize False \ | ||
--use_s3 False \ | ||
--can True \ | ||
--train \ | ||
--style_net_checkpoint "slim/logs/wikiart/inception_resnet_v2/all/bs=16,lr=0.0001,epochs=100/smol_adam_fixedLR" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# trains gan with an outside can network instead of having the discriminator learn style classification | ||
export PYTHONPATH="slim/:$PYTHONPATH" | ||
export CUDA_VISIBLE_DEVICES=1 | ||
python3 main.py \ | ||
--epoch 25 \ | ||
--learning_rate .0001 \ | ||
--beta 0.5 \ | ||
--batch_size 16 \ | ||
--sample_size 72 \ | ||
--input_height 128 \ | ||
--output_height 128 \ | ||
--lambda_val 1.0 \ | ||
--smoothing 1.0 \ | ||
--use_resize True \ | ||
--dataset wikiart \ | ||
--input_fname_pattern */*.jpg \ | ||
--crop False \ | ||
--visualize False \ | ||
--use_s3 False \ | ||
--can True \ | ||
--train \ | ||
--style_net_checkpoint "slim/logs/wikiart/inception_resnet_v2/all/bs=16,lr=0.0001,epochs=100/smol_adam_fixedLR" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.