Hi,
I am super new to all this. I used this project steerable-nafx/steerable-nafx.ipynb at main · csteinmetz1/steerable-nafx · GitHub 1 to copy the effects of one of my guiar pedals and as a result I got a .pt file.
Now I am trying to to use this other repo to play my model in real time. But the input is a json file
  

      github.com
  

  
    jatinchowdhury18/RTNeural/blob/main/python/model_utils.py 2


      import numpy as np
import tensorflow as tf
from tensorflow import keras
import json
from json import JSONEncoder

class NumpyArrayEncoder(JSONEncoder):
    def default(self, obj):
        if isinstance(obj, np.ndarray):
            return obj.tolist()
        return JSONEncoder.default(self, obj)

def save_model_json(model):
    def get_layer_type(layer):
        if isinstance(layer, keras.layers.TimeDistributed):
            return 'time-distributed-dense'

        if isinstance(layer, keras.layers.GRU):
            return 'gru'





  This file has been truncated. show original

  

  
    
    
  

  


Any help pointing in the right direction will be appreciate it.