The hardware requires the following libraries:
In addition to the Teensyduino add-on to program the Teensy 3.2 microcontroller in Arduino IDE. INSTALL ALL LIBRAIRIES when prompted.
Run the following command to install the package:
sh scripts/install.sh
To start the mlflow server run the following commands:
screen -S mlflow_server
orscreen -r mlflow_server
if the screen is already createdsh scripts/start_mlflow_server.sh
To train a model run the following commands:
module load gcc arrow python
source .env/bin/activate
python scripts/train.py
Models are available at: https://drive.google.com/drive/folders/1OjW0I-9Ht8ql98YiRBb4Tum0l_B3I67a?usp=sharing
import torch
from crocodile.loader import load_from_path
generator = load_from_path(path)
noise = generator.noise(num_samples)
img = generator.generate(noise)
import torch
from crocodile.encoder import Encoder
encoder = Encoder.load(path)
latent = encoder(biodata)
gcloud run deploy --project crocodile-333216 --add-cloudsql-instances=crocodile-mlflow --memory 1Gi
- Connect to : https://crocodile-gqhfy6c73a-uc.a.run.app/