Hello I am looking to get a string that looks like this :
string: "[[[[1.0], 1.0], [[1.0], 1.0]], [[[1.0, 1.0], 1.0], [[1.0, 1.0], 1.0]]]"
To an actual list:
list: [[[[1.0], 1.0], [[1.0], 1.0]], [[[1.0, 1.0], 1.0], [[1.0, 1.0], 1.0]]
My code reads from an file which stores a flat out str(list) and I want to retrieve it from the file as a list not a str. If you have a better way of storing and retrieving it would help a lot.