Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dcuai
dlexamples
Commits
9846958a
Commit
9846958a
authored
Jan 10, 2023
by
zhanggzh
Browse files
增加keras-cv模型及训练代码
parent
17bc28d5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
0 deletions
+61
-0
Keras/keras-cv/.devcontainer/Dockerfile
Keras/keras-cv/.devcontainer/Dockerfile
+15
-0
Keras/keras-cv/.devcontainer/devcontainer.json
Keras/keras-cv/.devcontainer/devcontainer.json
+46
-0
No files found.
Keras/keras-cv/.devcontainer/Dockerfile
0 → 100644
View file @
9846958a
ARG
VERSION
FROM
tensorflow/tensorflow:${VERSION}
RUN
apt-get update
&&
apt-get
install
-y
\
locales
\
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
pip
install
\
black
\
flake8
\
isort
\
pytest
\
regex
\
tensorflow_datasets
Keras/keras-cv/.devcontainer/devcontainer.json
0 → 100644
View file @
9846958a
{
"name"
:
"Keras-cv"
,
"build"
:
{
"dockerfile"
:
"Dockerfile"
,
"args"
:
{
"VERSION"
:
"2.10.0"
//
Uncomment
this
if
GPU
support
is
required
//
"VERSION"
:
"2.10.0-gpu"
,
}
},
"settings"
:
{
"python.pythonPath"
:
"/usr/bin/python3"
,
"python.linting.enabled"
:
true
,
"python.linting.flake8Enabled"
:
true
,
"python.testing.pytestEnabled"
:
true
,
"python.editor.defaultFormatter"
:
"ms-python.black-formatter"
,
"python.editor.formatOnSave"
:
true
,
"python.editor.codeActionsOnSave"
:
{
"source.organizeImports"
:
true
}
},
"extensions"
:
[
"ms-python.python"
,
"ms-python.isort"
,
"ms-python.black-formatter"
],
"features"
:
{
"git"
:
{
"version"
:
"os-provided"
}
},
//
TODO:
Improve
to
allow
dynamic
runArgs
,
see
microsoft/vscode-remote-release#
3972
//
Uncomment
this
if
GPU
support
is
required
//
"runArgs"
:
[
//
"--gpus=all"
//
],
"onCreateCommand"
:
"locale-gen
\"
en_US.UTF-8
\"
"
//
Optional:
install
pre-commit
hooks
//
"postCreateCommand"
:
"git config core.hooksPath .github/.githooks"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment