Git Product home page Git Product logo

Comments (4)

spoonsso avatar spoonsso commented on August 16, 2024 1

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.

yuan0821 avatar yuan0821 commented on August 16, 2024

Thank you so much!!! for making such helpful suggestions. Now i could set the appropriate parameters for our lab data analysis.

from dannce.

spoonsso avatar spoonsso commented on August 16, 2024

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.

spoonsso avatar spoonsso commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.