Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.admin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.admin
Commits
b2fc33b0
Commit
b2fc33b0
authored
8 years ago
by
Amir Mohammadi
Browse files
Options
Downloads
Patches
Plain Diff
update create_new_env script
parent
d1a9265b
No related branches found
No related tags found
1 merge request
!34
Adapt our scripts to use our channel
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
conda/create_new_env.sh
+20
-6
20 additions, 6 deletions
conda/create_new_env.sh
with
20 additions
and
6 deletions
conda/create_new_env.sh
100644 → 100755
+
20
−
6
View file @
b2fc33b0
...
...
@@ -4,13 +4,27 @@ set -xe
# usage create_new_env.sh (-n env_name|-p env_folder) pyver [bobver]
# This is intented to be used only with our conda installation at idiap/group/torch5spro
# example create_new_env.sh -n bob-2.3.4-py27_0 2.7
# example create_new_env.sh -n bob-2.3.4-py27_0 2.7 =2.3.4
# example create_new_env.sh -n bob-2.3.4-py27_0 2.7 =2.3.4=py27_0
# example create_new_env.sh -n bob-2.3.4-py27_0 2.7 =4.2.0
# example create_new_env.sh -n bob-2.3.4-py27_0 2.7 =4.2.0 =2.3.4
# example create_new_env.sh -n bob-2.3.4-py27_0 2.7 =4.2.0 =2.3.4=py27_0
# example create_new_env.sh -p /path/to/bob-2.2.0-py27_0 2.7
conda create
--yes
$1
$2
--channel
defaults
--override-channels
python
=
$3
anaconda
conda create
--yes
$1
$2
\
--channel
defaults
\
--channel
https://www.idiap.ch/software/bob/conda
\
--override-channels
\
python
=
$3
\
anaconda
$4
\
bob
$5
\
caffe
\
tensorflow
\
docopt
\
sphinx_rtd_theme
\
gcc
\
coverage
source
activate
$2
conda
install
--yes
--no-update-deps
bob
$4
caffe tensorflow ipdb docopt sphinx_rtd_theme gcc
pip
install
bob.db.arface
\
bob.db.atvskeystroke
\
bob.db.avspoof
\
...
...
@@ -29,7 +43,6 @@ pip install bob.db.arface \
bob.db.replay
\
bob.db.scface
\
bob.db.utfvp
\
bob.db.voxforge
\
bob.db.xm2vts
\
bob.db.youtube
\
bob.bio.base
\
...
...
@@ -37,8 +50,9 @@ pip install bob.db.arface \
bob.bio.spear
\
bob.bio.face
\
bob.bio.video
\
bob.db.voxforge
\
gridtk
\
coveralls
ipdb
echo
"You can now activate your environment like this:"
echo
"source activate
$2
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment