Giter Site home page Giter Site logo

Comments (7)

gengshan-y avatar gengshan-y commented on July 29, 2024

Hi, could you try this file? (need to save it as opts.log in the same directory as pre-trained models). I realized the one provided in the pre-trained model link is for quadruped animals.

This runs without problem for me.

from banmo.

starcxl avatar starcxl commented on July 29, 2024

Many thanks for your reply! I try the opts-human.log you provided, but the result is the same as the above.

Ah, I know what causes the difference, it's due to missing the 'init-cam' folder. If 'init-cam' is absence, the inference results are like above.
2023-04-20 18-28-03 的屏幕截图

So could you please provide the 'init-cam' files matching the pre-trained models?

from banmo.

gengshan-y avatar gengshan-y commented on July 29, 2024

It should work without the init-cam folder. That not being used at inference time.

Was there a warning when executing the code with the following message?
!!!deleting video specific dicts due to size mismatch!!!

It would be best if you attach the a log from the console. Here's mine:
log.txt

Were you able to run the cat example without a problem?

from banmo.

starcxl avatar starcxl commented on July 29, 2024

Many thanks for your reply! Yes, there is a warning as you mentioned. "!!!deleting video specific dicts due to size mismatch!!!" And I got the same warning and the same strange results when running the cat example. I attach my log here: log.txt

I check the warning code here. For my situation, the states['near_far'].shape[0] is 583, while the self.model.near_far.shape[0] is 582.

I don't know what causes this mismatch. Could you please tell me the potential reasons?

from banmo.

gengshan-y avatar gengshan-y commented on July 29, 2024

image

This suggests you are missing an image in database/DAVIS/JPEGImages/Full-Resolution/human-cap006/, and below is my folder (adult-500 is the old name of human-cap006)

image

from banmo.

starcxl avatar starcxl commented on July 29, 2024

Oh! It works now if I replace human-cap006 datasets with the corresponding datasets you provided.

For the absent image issue, I retried preprocessed command below, but still, it extracts 00000-00037.jpg from human-cap_6.MOV, with 00038.jpg missing. (using ffmeng 3.4.8, pytorch 1.7.1, cuda 11.0)
bash preprocess/preprocess.sh human-cap_6 .MOV y 10

I am confused about what causes this difference. Could you please retry the command above to see if 00038.jpg could be extracted normally?

from banmo.

gengshan-y avatar gengshan-y commented on July 29, 2024

Can confirm it works for me.

In the preprocessing script, we first use ffmpeg to extract frames, and then the frames are moved to tmp/$seqname/images.
image
Then preprocess/mask.py reads images and runs segmentation. The frames with good detections are saved to database/DAVIS/JPEGImages/...

Attaching the log of running mask.py below:
log.txt

Can you confirm ffmpeg or mask.py are producing expected outputs?

from banmo.

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.