-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs
- Loading branch information
Showing
7 changed files
with
220 additions
and
112 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
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,13 @@ | ||
s3: | ||
buckets: | ||
inputs: '' | ||
inputs_dest: '' | ||
objectives: '' | ||
objectives_dest: '' | ||
data: '' | ||
data_dest: '' | ||
solutions: '' | ||
aws_secret_access_key: '' | ||
aws_access_key_id: '' | ||
region: '' | ||
cloud_service_provider: 'aws' |
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 |
---|---|---|
|
@@ -6,5 +6,4 @@ local: | |
objectives_dest: '' | ||
data: '' | ||
data_dest: '' | ||
solutions: '' | ||
solutions_dest: '' | ||
solutions: '' |
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,14 @@ | ||
s3: | ||
buckets: | ||
inputs: '' | ||
inputs_dest: '' | ||
objectives: '' | ||
objectives_dest: '' | ||
data: '' | ||
data_dest: '' | ||
solutions: '' | ||
aws_secret_access_key: '' | ||
aws_access_key_id: '' | ||
endpoint_url: '' | ||
region: '' | ||
cloud_service_provider: 'ibm' |
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,60 @@ | ||
<!-- | ||
# Copyright IBM Corporation 2022 | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
--> | ||
|
||
# AAAI 2023 OCL Lab Instructions | ||
|
||
Here are the installation instructions for participants of the OCL Lab. | ||
|
||
## `doframework` Installation | ||
|
||
We recommend installing `doframework` on a designated Python 3.8.0 environment. `doframework` has many dependancies that may override package versions in your current Python environment. | ||
|
||
For example, if you're using `pyenv` in combination with `virtualenv` as your Python environment manager, you can type the following in your terminal | ||
``` | ||
$ pyenv virtualenv 3.8.0 dof | ||
$ pyenv local dof | ||
``` | ||
[Here](https://realpython.com/intro-to-pyenv/#virtual-environments-and-pyenv "pyenv and virtualenv") is a good source on `pyenv` and `virtualenv` by Logan Jones. | ||
|
||
Now that you've set up a dedicated Python environment, simply install | ||
``` | ||
$ pip install doframework | ||
``` | ||
Run a simple sanity check with | ||
``` | ||
$ python | ||
>>> import doframework | ||
>>> exit() | ||
``` | ||
The import command may take a while. Once it's finished (successfully, hopefully) you can exit. | ||
|
||
## `doframework` Clonning | ||
|
||
We will be running `doframework` Jupyter Notebooks as well as using other `doframework` material. Therefore, we'll clone a local copy of `doframework`. From your terminal, run | ||
|
||
``` | ||
$ git clone https://github.com/IBM/doframework.git | ||
``` | ||
To launch the OCL lab Jupyter Notebooks, we'll need to add `jupyter` to our new Python environment | ||
``` | ||
$ pip install jupyter | ||
``` | ||
Note that `jupyter` does not come with `doframework`. We want to keep `doframework` light for cloud distribution. Once we're done installing `jupyter`, let's launch the OCL Lab notebooks | ||
``` | ||
$ cd doframework/notebooks | ||
$ jupyter notebook | ||
``` | ||
Now we can begin ... |
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import os | ||
import yaml | ||
import json | ||
from io import StringIO | ||
from collections import namedtuple | ||
|
Oops, something went wrong.