Skip to content

Commit

Permalink
🪲 import order for Mac bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cemachelen committed Dec 21, 2022
1 parent bbcd3ba commit b9d9e51
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 11 deletions.
30 changes: 20 additions & 10 deletions GANS.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,24 @@
"</div>"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"id": "wNoYx4yaCeGM"
},
"outputs": [],
"source": [
"# Machine Learning Library PyTorch and specific tools\n",
"import torch\n",
"from torch import nn\n",
"from torch.optim import Adam\n",
"from torch.utils.data import DataLoader\n",
"from torchvision import datasets\n",
"from torchvision.transforms import transforms\n",
"from torchvision.utils import make_grid, save_image"
]
},
{
"cell_type": "code",
"execution_count": 4,
Expand Down Expand Up @@ -212,23 +230,15 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"metadata": {
"id": "wNoYx4yaCeGM"
},
"outputs": [],
"source": [
"# Plotting and standard numpy\n",
"import numpy as np\n",
"from matplotlib import pyplot as plt\n",
"# Machine Learning Library PyTorch and specific tools\n",
"import torch\n",
"from torch import nn\n",
"from torch.optim import Adam\n",
"from torch.utils.data import DataLoader\n",
"from torchvision import datasets\n",
"from torchvision.transforms import transforms\n",
"from torchvision.utils import make_grid, save_image"
"from matplotlib import pyplot as plt"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion GANS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ channels:
- pytorch
dependencies:
- python=3.8
- PyTorch==1.11
- PyTorch
- matplotlib
- notebook
- torchvision

0 comments on commit b9d9e51

Please sign in to comment.