inverted-pendulum icon indicating copy to clipboard operation
inverted-pendulum copied to clipboard

estimate_params.py

Open yunjs24 opened this issue 2 years ago • 0 comments

## inverted-pendulum/dc-motor/estimate_params.py ,  line 33

when map obj converted into numpy array, it cannot express column size in data.shape

so line 33

    with open(filename) as f:
        reader = csv.reader(f)
        for row in reader:
            data.append(map_to_float(row)) >> data.append(list(map(float, row)))

tested in OS : wsl2 ubuntu in windows10 pip 20.0.2 (python 3.8)

yunjs24 avatar May 28 '22 14:05 yunjs24