Skip to content

Commit

Permalink
add json file for debuging
Browse files Browse the repository at this point in the history
  • Loading branch information
Xzzit committed Jun 7, 2023
1 parent 50488fd commit 00e8714
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Train",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/train_arg.py",
"console": "integratedTerminal",
"justMyCode": true,
"args": ["--dataset", "/home/xzzit/Data/ImageData/CoCo/train2017",
"--style-image", "pretrained_models/Fauvism_André-Derain_Pier.jpg",
"--batch-size", "4",
"--style-weight", "2.5e4"]
},
{
"name": "Python: Stylize",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/stylize_arg.py",
"console": "integratedTerminal",
"justMyCode": true,
"args": ["--content-image", "./pretrained_models/bear.jpg",
"--model", "Name_cont1E00_sty5E03_cons1E03tv1E03_.pth"]
}
]
}

0 comments on commit 00e8714

Please sign in to comment.