For stakeholders to comment on the draft metadata specification in this wiki page. (I don't think there's a way to comment directly on a wiki page.)
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
from os import environ | |
from flask import Flask | |
from flask_sqlalchemy import SQLAlchemy | |
from flask_admin import Admin | |
from geoalchemy2 import Geometry | |
from flask_admin.contrib.geoa import ModelView | |
app = Flask(__name__) |
How to make custom Elastic Beanstalk AMI
- Start environment with your desired configuration (e.g. Python 3.4)
- Find generated instance in EC2 console. The AMI ID is your base image.
- Launch an instance from the base AMI (It will be in the list of community AMISs)
- Provision that instance.
- Make an AMI from it. Use the AMI ID in your beanstalk environment configuration.
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
# FROM continuumio/miniconda3:22.11.1 | |
FROM docker.io/bengal1/funcx_bc7c6ce2-cc71-4c53-ad0c-fa0b3ad65854:latest | |
# Make bash our default shell | |
# SHELL ["/bin/bash", "-c"] | |
USER root | |
# Install necessary packages to run Conda | |
RUN apt-get update && \ | |
apt-get install -y build-essential && \ |
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
import docker | |
import json | |
import tarfile | |
import io | |
client = docker.from_env() | |
# PUT YOUR IMAGE HERE | |
my_image_id = "" | |
# Trying to do this without going through stdout |
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
from garden_ai.mlmodel import ModelMetadata, DatasetConnection | |
from garden_ai import local_data | |
dc1 = DatasetConnection( | |
title="Benchmark Dataset for Locating Atoms in STEM images", | |
doi="10.18126/e73h-3w6n", | |
url="https://foundry-ml.org/#/datasets/10.18126%2Fe73h-3w6n", | |
repository="Foundry", | |
) |
OlderNewer