You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AttributeError: numpy.ndarray object has no attribute properties #223
I tried to run your code in the codelab, but I always got an error like "AttributeError: numpy.ndarray object has no attribute properties
". I tried other methods but none of them worked. I admire your work very much and hope you can help me solve this problem. xiaoxxtt@mails.cqjtu.edu.cn
In the newly released version of deeptrack, pipeline no longer returns image object but ndarray. If you need Image objects, you can enable them by using pipeline.store_properties(), restoring the behavior from previous releases.
Hi! As @shuyiloe rightly pointed out, the latest version of DeepTrack no longer returns Image objects (by default) which store the properties of feature's used to create the image. However, it can be enabled by using .store_properties() on the pipeline object before .update() step.
For this example, you could just do dataset.store_properties() before dataset.update() and that should solve the issue!
Activity
shuyiloe commentedon Nov 28, 2024
In the newly released version of deeptrack, pipeline no longer returns image object but ndarray. If you need Image objects, you can enable them by using
pipeline.store_properties(), restoring the behavior from previous releases.indirabarros commentedon Dec 3, 2024
How do you use it? It didn't work for me.
harshithbachimanchi commentedon Dec 4, 2024
Hi! As @shuyiloe rightly pointed out, the latest version of DeepTrack no longer returns
Imageobjects (by default) which store the properties of feature's used to create the image. However, it can be enabled by using.store_properties()on the pipeline object before.update()step.For this example, you could just do
dataset.store_properties()beforedataset.update()and that should solve the issue!