mirror of
https://github.com/augustin64/projet-tipe
synced 2025-01-23 15:16:26 +01:00
273 lines
7.0 KiB
JSON
273 lines
7.0 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "mnist/main",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/mnist-main",
|
|
"args": [
|
|
"train",
|
|
"--images",
|
|
"${workspaceFolder}/data/mnist/train-images-idx3-ubyte",
|
|
"--labels",
|
|
"${workspaceFolder}/data/mnist/train-labels-idx1-ubyte",
|
|
"--out",
|
|
"${workspaceFolder}/.test-cache/reseau.bin"
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "/usr/bin/gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": false
|
|
}
|
|
],
|
|
"preLaunchTask": "build-mnist"
|
|
},
|
|
{
|
|
"name": "mnist/preview",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/mnist-preview",
|
|
"args": [
|
|
"data/mnist/t10k-images-idx3-ubyte",
|
|
"data/mnist/t10k-labels-idx1-ubyte"
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "/usr/bin/gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": false
|
|
}
|
|
],
|
|
"preLaunchTask": "build-mnist"
|
|
},
|
|
{
|
|
"name": "cnn/main train mnist",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/cnn-main",
|
|
"args": [
|
|
"train",
|
|
"--dataset",
|
|
"mnist",
|
|
"--images",
|
|
"data/mnist/train-images-idx3-ubyte",
|
|
"--labels",
|
|
"data/mnist/train-labels-idx1-ubyte",
|
|
"--epochs",
|
|
"10"
|
|
],
|
|
"stopAtEntry": true,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "/usr/bin/gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": false
|
|
}
|
|
],
|
|
"preLaunchTask": "build-cnn"
|
|
},
|
|
{
|
|
"name": "cnn/main train-test mnist",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/cnn-main",
|
|
"args": [
|
|
"train",
|
|
"--dataset",
|
|
"mnist",
|
|
"--images",
|
|
"data/mnist/t10k-images-idx3-ubyte",
|
|
"--labels",
|
|
"data/mnist/t10k-labels-idx1-ubyte",
|
|
"--epochs",
|
|
"10"
|
|
],
|
|
"stopAtEntry": true,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "/usr/bin/gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": false
|
|
}
|
|
],
|
|
"preLaunchTask": "build-cnn"
|
|
},
|
|
{
|
|
"name": "cnn/main train jpg",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/cnn-main",
|
|
"args": [
|
|
"train",
|
|
"--dataset",
|
|
"jpg",
|
|
"--datadir",
|
|
"data/50States10K/train",
|
|
"--epochs",
|
|
"10"
|
|
],
|
|
"stopAtEntry": true,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "/usr/bin/gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": false
|
|
}
|
|
],
|
|
"preLaunchTask": "build-cnn"
|
|
},
|
|
{
|
|
"name": "cnn/main train-test jpg",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/cnn-main",
|
|
"args": [
|
|
"train",
|
|
"--dataset",
|
|
"jpg",
|
|
"--datadir",
|
|
"data/50States10K/test",
|
|
"--epochs",
|
|
"10"
|
|
],
|
|
"stopAtEntry": true,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "/usr/bin/gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": false
|
|
}
|
|
],
|
|
"preLaunchTask": "build-cnn"
|
|
},
|
|
{
|
|
"name": "cnn/main save-network",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/cnn-main",
|
|
"args": [
|
|
"train",
|
|
"--dataset",
|
|
"jpg",
|
|
"--datadir",
|
|
"data/50States10K/test",
|
|
"--epochs",
|
|
"0"
|
|
],
|
|
"stopAtEntry": true,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "/usr/bin/gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": false
|
|
}
|
|
],
|
|
"preLaunchTask": "build-cnn"
|
|
},
|
|
{
|
|
"name": "cnn/main dev-conv",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/cnn-main",
|
|
"args": [
|
|
"dev",
|
|
"--conv"
|
|
],
|
|
"stopAtEntry": true,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "/usr/bin/gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": false
|
|
}
|
|
],
|
|
"preLaunchTask": "build-cnn"
|
|
},
|
|
{
|
|
"name": "./a.out",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/a.out",
|
|
"stopAtEntry": true,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "/usr/bin/gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "C/C++ Runner: Debug Session",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"args": [
|
|
""
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "/home/augustin64/Documents/tipe/projet-tipe",
|
|
"environment": [],
|
|
"program": "/home/augustin64/Documents/tipe/projet-tipe/build/Debug/outDebug",
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "/usr/bin/gdb",
|
|
"externalConsole": false,
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |