3it-inpaqt / line-classification-slope

Classification task from experimental charge stability diagrams to recognize angles of lines.
0 stars 0 forks source link

Weird behavior of list of coordinates in iteration #3

Closed ChrisZeThird closed 1 year ago

ChrisZeThird commented 1 year ago

While rotating random images to test the model with a wider range of angles, the program gets an error while unpacking coordinates. Here is an example

line coords: [([-31.0, 135.0, 229.0, 323.0, 468.0], [9.999999046325684, 41.00000762939453, 61.0000114440918, 79.00001525878906, 110.0000228881836])]

This makes no sense at all.

ChrisZeThird commented 1 year ago

Fixed issue in last push. rotated_line_coords = (rotated_line_coords_tensor[0].tolist(), rotated_line_coords_tensor[1].tolist()) without [ and ] around.