Comments (4)
Hello, sorry for the slow reply.
Q1: Yes. com_finetune_weights
should be the path to the folder containing the pretrained weights.
Q2: demo/markerless_mouse_1/COM/weights/
contains the pretrained rat weights, which is a reasonable starting point for mice (and what we use a starting point for training our mouse COM net). However, if you want to try some mouse weights, you can use the weights from the mouse demo, demo/markerless_mouse_1/COM/train_results/
.
Q3: see Q2.
Q4: com-predict will use a weights file generated by com-train (i.e., after finetuning the pre-trained COM finetune weights using your labeled data). By default, it will automatically use the weights from the best epoch (defined as the lowest validation loss) without having to change any config options (these weights will be saved in COM/train_results/
). If you want to use a different set of weights for COM prediction (e.g., the weights from the final epoch, which are placed in COM/train_results/fullmodel_weights/fullmodel_end.hdf5
), you can add the path to the weights file in com_predict_weights
.
Q5: No, dannce is finetuned from pretrained dannce weights. Try demo/markerless_mouse_1/DANNCE/weight/weights.rat.MAX/
.
Q6: You will need to set dannce_predict_model
as the path to one of the weights files generated by dannce-train, analogous to the com-predict advice in Q4. dannce-predict should normally automatically use the best epoch weights generated by dannce-train, but there is a small bug that was introduced when we added checkpoint weights callbacks, such that you will currently need to point dannce_predict_model
directly to your target weights file. I will push the fix as soon as I am done running tests.
As for your (5), which didn't have a question. That command is used to generate a dannce prediction file that is formatted to work with https://github.com/jessedmarshall/CAPTURE_demo.
from dannce.
Thank you so much!!! for making such helpful suggestions. Now i could set the appropriate parameters for our lab data analysis.
from dannce.
In cefd782, predict-dannce will now properly use the best epoch weights in train_results
without having to set dannce_predict_model
manually.
from dannce.
Thank you so much!!! for making such helpful suggestions. Now i could set the appropriate parameters for our lab data analysis.
You're welcome!
from dannce.
Related Issues (20)
- Zero training/validation errors but completely wrong in labeled images. HOT 2
- How to train DANNCE with more than 6 cameras? HOT 1
- COM deviate a lot from animal HOT 2
- When running dannce-predict demo script, GPU usage is at 0% HOT 1
- Integration of DANNCE and CAPTURE HOT 1
- Could not find enough inliers in imagePoints and worldPoints HOT 2
- n_views error HOT 1
- dannce-predict loss very small, but result same like normal but shift HOT 6
- Re-train network with new labeled frames HOT 1
- Multi animal COM HOT 2
- how to use rats16.mat skeleton for CAPTURE_demo analysis HOT 1
- calibration HOT 1
- OOM error HOT 2
- File "E:\anaconda\envs\tfnew_25\lib\site-packages\tensorflow\python\framework\ops.py", line 6649, in __init__ raise ValueError("name for name_scope must be a string.") HOT 1
- ValueError: name for name_scope must be a string when doing dannce-predict. HOT 1
- ValueError: bad marshal data (unknown type code) when dannce-predict HOT 1
- frames_with_good_tracking
- Fintune with more than 6 cams HOT 2
- Bad predict result after finetune
- Use dannce_predict on own data
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 dannce.