Skip to content

Commit

Permalink
Add bonus task
Browse files Browse the repository at this point in the history
  • Loading branch information
adjavon committed Aug 21, 2024
1 parent dbd2051 commit ab191d6
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,17 @@ def visualize_color_attribution_and_counterfactual(
# If you have any questions, feel free to ask them in the chat!
# And check the Solutions exercise for a definite answer to how these classes are defined!

# %% [markdown] tags=["solution"]
# %% [markdown]
# # Bonus!
# If you have extra time, you can try to break the StarGAN!
# There are a lot of little things that we did to make sure that it runs correctly - but what if we didn't?
# Some things you might want to try:
# - What happens if you don't use the EMA model?
# - What happens if you change the learning rates?
# - What happens if you add a Sigmoid activation to the output of the style encoder?
# See what else you can think of, and see how finnicky training a GAN can be!

## %% [markdown] tags=["solution"]
# The colors for the classes are sampled from matplotlib colormaps! They are the four seasons: spring, summer, autumn, and winter.
# Check your style space again to see if you can see the patterns now!
# %% tags=["solution"]
Expand Down

0 comments on commit ab191d6

Please sign in to comment.