Comments (3)
Hello,
I understand that you are having trouble with TRex incorrectly detecting luminescence as a fish in your video and not being able to find the "delete" button mentioned in the TRex help page for manually overriding the automatic matches. Since you mentioned that you are using the correct version of TRex (from the provided screenshot), it seems the issue might be related to the fact that you haven't performed visual identification.
The "delete" button you are looking for appears when training has been performed and applied using the "auto correct" button, automatically after the training finishes, or through the application of the network. However, it seems like you are interested in overriding specific instances where tracking is incorrectly assigning individuals, without performing any kind of training. In this case, I recommend trying the following steps:
-
Start by adjusting relevant parameters, such as
enable_absolute_difference
andtrack_threshold
, which might help improve the tracking accuracy. You can find more information about these parameters in the TRex documentation: track_absolute_difference and track_threshold. -
If adjusting the parameters doesn't solve the issue, you can consider using the categorization feature in TRex. This feature allows you to differentiate between noise and objects of interest, such as fish, by iteratively selecting samples for two categories (e.g., noise and fish) and learning to distinguish between them. To use this feature, you can follow these steps:
- Retrack your video using the
track_only_categories
option to filter objects for only "fish" after applying the categorization to the current video. - Set
categories_min_sample_images
to 0 to label all objects, regardless of the length of their trajectories.
- Retrack your video using the
You can find more information about these parameters in the TRex documentation: track_only_categories and categories_min_sample_images.
By following these steps, you should be able to improve the tracking accuracy in your video and manually override specific instances where tracking is incorrectly assigning individuals, without performing any kind of training. If you still face issues or need further assistance, feel free to reach out or consult the TRex documentation.
from trex.
Thank you so much!
But I had no luck changing the enable_absolute_difference
and track_threshold
.
About the categorization, could you be more clear what I should do? From my understanding, I should do the categorization to make the falsely assigned object named "noise0" and then set track_only_categories
to fish
. But I didn't find a way to rename it. Also I tried track_only_categories
to 1,2,3,4,5
because fish0 is wrongly assigned but it didn't work either.
from trex.
Hey! Let me provide a clearer explanation of the categorization process in TRex:
- To access the categorization panel, click on the menu button in the top-right corner and select "categorize" from the list.
- When you open the categorization panel for the first time, you will be prompted with a text field where you can enter a comma-separated list of categories (e.g., 'noise,fish'). Click "OK" to create the categories.
- The principle of network training is to teach the model to recognize patterns in the data by providing it with examples of each category. In TRex, this is done by clicking on the small movie clips corresponding to your categories.
- If you see a movie of noise, click the "noise" button in the top-left corner of the movie. If you see a movie of fish, click the "fish" button in the top-left corner of the movie.
- You will know when the training good enough (typically) when the sample number listed below the movies is greater than 1000 per category, and the accuracy is stated as greater than 80%. Until then, keep clicking. Note that this requires pretty consistent tracking of things, even they are the wrong things - meaning, optimally, long consecutive trajectories. To improve tracking results, also have a look here. Once you're happy with the results, click Apply.
- The
track_only_categories
parameter takes an array of strings (e.g.,['fish']
). Set this property to track only the objects belonging to the specified categories. As a bonus, setcategories_min_sample_images = 0
, open the categorization menu again, and apply again (ensures that all instances of objects are considered, even for short consecutive segments, but slower - otherwise the default is 50). To apply changes of these parameters, retrack the video by scrolling to frame 0/the beginning of the video in the timeline and then clicking the "Re-analyze" button in the top-right menu.
Please note that it is recommended to have an NVIDIA GPU or an M1/M2 processor to use this machine learning feature efficiently.
If you still face issues or need further assistance, don't hesitate to reach out again!
from trex.
Related Issues (20)
- pvinfo not displaying information about blobs
- Visual identification fails HOT 3
- Auto_categorize not working HOT 2
- Regions of interest (ROIs) HOT 2
- Movement Initiations HOT 1
- Problem while installing TRex on MacOS HOT 1
- Trex freezes when opening video file (.mp4) HOT 8
- Endless "python not initialised" warning when entering training mode HOT 4
- [GLFW] Error 65540: 'Invalid window size 0x0' HOT 1
- Unable to convert video file with tgrabs HOT 3
- Errors during "Compile it yourself" installation at build_conda_package.bat HOT 3
- Allow TGrabs detections in a single direction (brighter or darker than background) HOT 2
- Windows installations fail HOT 20
- TRex fails to launch on MacOS after installation HOT 5
- Flipping body axis between head and taill while drosophila tracking HOT 1
- Beta: Dialogs for file and directory selection HOT 2
- Beta: Conda installation fails on Mac HOT 2
- Beta: Doesn't run on command `trex` HOT 2
- Issues Installing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trex.