Solved by hughperkins in post #2 
              
              
                If this is exported from some other program, if you can export it in onnx or caffe format, my understanding is that pytorch has native importers for one or both of these types. 
otherwise, if it’s a proprietary format description, you can write code to convert your json format into a python object h…