File size: 374 Bytes
758ad23
 
 
 
 
 
 
e986ee1
758ad23
38f87b5
758ad23
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import tensorflow as tf
tf.experimental.numpy.experimental_enable_numpy_behavior(prefer_float32=True)

from huggingface_hub import from_pretrained_keras
from datasets import load_dataset

repo = "jkwiatkowski/raven"

data = load_dataset(repo, split="val")
properties = load_dataset(repo + "_properties", split="val")
model = from_pretrained_keras(repo)

START_IMAGE = 12000