forked from jaywalnut310/vits
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update dev and vscode files
- Loading branch information
liunaiyuan
committed
Aug 2, 2023
1 parent
454e725
commit 3c81f54
Showing
4 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "vits", | ||
"build": { | ||
// Sets the run context to one level up instead of the .devcontainer folder. | ||
"context": "..", | ||
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. | ||
"dockerfile": "../Docker/dockerfile", | ||
"target": "development" | ||
}, | ||
"runArgs": [ | ||
"--gpus", | ||
"all", | ||
"--shm-size=16g" | ||
], | ||
"mounts": [ | ||
"source=${localEnv:HOME}/gddi-nas,target=/gddi-nas,type=bind,consistency=cached", | ||
"source=${localEnv:HOME}/ml-data,target=/ml-data,type=bind,consistency=cached", | ||
"source=${localEnv:HOME}/.ssh,target=/home/myuser/.ssh,type=bind,consistency=cached", | ||
"source=${localEnv:HOME}/.vscode-server,target=/home/myuser/.vscode-server,type=bind,consistency=cached", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This file copied into the container along with environment.yml* from the parent | ||
folder. This file is included to prevents the Dockerfile COPY instruction from | ||
failing if no environment.yml is found. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Current File", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${file}", | ||
"console": "integratedTerminal", | ||
"justMyCode": true | ||
}, | ||
{ | ||
"name": "train", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "tools/train_plateform.py", | ||
"console": "integratedTerminal", | ||
"args": [ | ||
"configs/textrecog/plate/plateform_training_testing.py","--seed", "0", | ||
"--work-dir=output/plateform_training_testing", | ||
"--load-from=pretrained_weight/general_ocr.pth", | ||
], | ||
"justMyCode": true, | ||
"sudo": true | ||
}, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters