Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Migrating TF1 code to TF2 in the notebook file[branch V2] #56

Open
wants to merge 1 commit into
base: v2_multigan
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions compare_gan/src/tfhub_models.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,10 @@
"import numpy as np\n",
"import pandas as pd\n",
"\n",
"import tensorflow as tf\n",
"import tensorflow.compat.v1 as tf\n",
"import tensorflow_hub as hub\n",
"\n",
"tf.disable_v2_behavior()\n",
"\n",
"tf.logging.set_verbosity(tf.logging.ERROR)\n",
"\n",
Expand Down Expand Up @@ -339,4 +340,4 @@
"outputs": []
}
]
}
}