This file contains hidden or 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 LoopsClient from "loops"; | |
function getLoopsClient(): LoopsClient { | |
if (!process.env.LOOPS_APIKEY) { | |
throw new Error("Missing LOOPS_APIKEY environment variable"); | |
} | |
return new LoopsClient(process.env.LOOPS_APIKEY); | |
} | |
interface DataVariables { |
This file contains hidden or 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
######################################################### | |
# It needs python3.x, scipy 1.2.3 and medpy to work # | |
# pip install scipy==1.2.3 # | |
# pip install MEDPY # | |
######################################################### | |
import argparse | |
import json | |
from pathlib import Path |
This file contains hidden or 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
############################################################# | |
# Script is using input resources from redisai-example repo # | |
# https://github.com/RedisAI/redisai-examples # | |
# # | |
############################################################# | |
from pathlib import Path | |
import multiprocessing | |
import redisai | |
import ml2rt |