isi-vista / adam

Abduction to Demonstrate an Articulate Machine
MIT License
11 stars 3 forks source link

The 0th prediction is used for all objects if `--dir-num` is specified #1182

Closed boyleconnor closed 1 year ago

boyleconnor commented 1 year ago

The else 0 in the line below seems to make it so the prediction for the 0th object of the curriculum will be used for every object in the whole curriculum if --dir-num is specified. Why?

https://github.com/isi-vista/adam/blob/a43a362565c8bd30b9622f2662840145b97ef53b/adam_preprocessing/shape_stroke_graph_inference.py#L179

spigo900 commented 1 year ago

--dir-num makes it run on just a single curriculum situation directory, so we only have one prediction.