Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto_categorize not working #203

Open
caberger1 opened this issue May 22, 2023 · 2 comments
Open

Auto_categorize not working #203

caberger1 opened this issue May 22, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@caberger1
Copy link

Hello,

I'm trying to load and apply pre-trained categories from a *_categories.npz file using auto_categorize=true. It loads the file okay, but then gets stuck during the application step with the following error:

Screenshot 2023-05-22 140553

Operating system: Windows 11
Terminal: Anaconda powershell

Minimum command:

trex -i F:/Acartia/Trex/test_crap/0512_TEST.pv -d F:/Acartia/Trex/test_crap -auto_categorize true

It will then just stay on the [Categorize] Applying X.xxxx%...... step forever

Oddly, it is ONLY the auto_categorize=true command that fails. If I load and apply categories using the GUI, it works fine. However, I'd really like do this using the command line because I will ultimately need to do it on a computing cluster. I run into the same error on both my local machine and the cluster (with -nowindow=true), and with both a CPU and GPU. I've also tried with and without auto_quit=true.

log file:
output.log

Any help would be greatly appreciated!

@caberger1 caberger1 added the bug Something isn't working label May 22, 2023
@caberger1 caberger1 reopened this May 26, 2023
@caberger1
Copy link
Author

Update: I tested on different versions and it works fine on Trex v1.1.6 and under, So the issue arose around 1.1.7/1.1.8.

@mooch443
Copy link
Owner

Hey, sorry for the very late reply. I must have missed it after it was closed / thought it was done :-S
Thanks for reporting this issue. Unfortunately the line in the python file does not seem to provide much of a context for dealing with this :-(

Would you be comfortable uploading the categories.npz file + video + settings?

Alternatively, or additionally, if you can, can you provide an output from v1.1.6? Also, with which version did you create the weights in the first place?

As for my own files, I am unable to reproduce this unfortunately. I can load + auto_categorize no problem with the example videos that I am using.

-Tristan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants