Skip to content
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
12 changes: 12 additions & 0 deletions dcgan_torch_gpu.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,18 @@
"Tensor = torch.cuda.FloatTensor if cuda else torch.FloatTensor"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"#创建文件夹\n",
"if not os.path.exists('./data_new'):\n",
" os.mkdir('./data_new')\n"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down