Code Monkey home page Code Monkey logo

Comments (7)

JialeTao avatar JialeTao commented on June 17, 2024

Could you share taichi512.yaml and taichi512-metadata.csv if available?

Hi, I'm also intersted about this. Have you got the taichi512.yaml? And how did you prepare the TaiChi dataset with 512*512 resolution?

from articulated-animation.

eastchun avatar eastchun commented on June 17, 2024

No, I didn't get the taichi512 dataset. The reason why I closed this issue was I was no longer interested in Taichi dataset.
BTW, in order to prepare taichi 512 dataset, please try the followings:

  1. Refer to https://github.com/AliaksandrSiarohin/video-preprocessing

  2. In load_videos.py,:

    Comment out the following line:

     `save(os.path.join(args.out_folder, partition, path), entry['frames'], args.format)`
    

    And, add the following:

        if len(entry['frames'])==0:  print('\nLength mismatch - video_id:', video_id)
        else: 
            # Save cropped video to out_folder
            save(os.path.join(args.out_folder, partition, path), entry['frames'], args.format)

Otherwise, it will raise error (and program exit) due to length mismatch for some videos.

  1. Run load_videos.py by specifying

     --image_shape (512,512)        
    

Then, it will download all youtube taichi videos (as specified in taichi-metadata) and crop/store .mp4 videos (or .png images) (according to your specification) in 512x512 image size.

from articulated-animation.

JialeTao avatar JialeTao commented on June 17, 2024

No, I didn't get the taichi512 dataset. The reason why I closed this issue was I was no longer interested in Taichi dataset.
BTW, in order to prepare taichi 512 dataset, please try the followings:

  1. Refer to https://github.com/AliaksandrSiarohin/video-preprocessing

  2. In load_videos.py,:
    Comment out the following line:

     `save(os.path.join(args.out_folder, partition, path), entry['frames'], args.format)`
    

    And, add the following:

        if len(entry['frames'])==0:  print('\nLength mismatch - video_id:', video_id)
        else: 
            # Save cropped video to out_folder
            save(os.path.join(args.out_folder, partition, path), entry['frames'], args.format)

Otherwise, it will raise error (and program exit) due to length mismatch for some videos.

  1. Run load_videos.py by specifying
     --image_shape (512,512)        
    

Then, it will download all youtube taichi videos (as specified in taichi-metadata) and crop/store .mp4 videos (or .png images) (according to your specification) in 512x512 image size.

Thanks, I have noticed this. And the main concern of mine is that, the raw taichi videos are cropped by the bbox parameters first to get human centered videos, and then resized to the given image shape. As seen In following figure. I found that some videos are of small sizes such as 300x300 after center cropping, and directly resize them to 512x512 may cause losses. The author said they remove some videos that lacks sufficient resolution to support this size. And I don't know the rules they filter videos.

image

Another question is that, almost all youtube links for downloading the dataset are broken, can you get the dataset?

from articulated-animation.

eastchun avatar eastchun commented on June 17, 2024

from articulated-animation.

JialeTao avatar JialeTao commented on June 17, 2024

If the bbox is smaller than 512x512, black color is painted for those missing areas ... It will hurt the quality anyway. In the worst case, you just identify those cropped videos with black boundaries in the train/test folders and delete them. BTW, I personally extracted and deleted those videos with broken links (as well as length mismatched) listed in taichi-metadata.csv. The new one is in the attachment.

On Sat, Jun 12, 2021 at 9:51 PM JialeTao @.*> wrote: No, I didn't get the taichi512 dataset. The reason why I closed this issue was I was no longer interested in Taichi dataset. BTW, in order to prepare taichi 512 dataset, please try the followings: 1. Refer to https://github.com/AliaksandrSiarohin/video-preprocessing 2. In load_videos.py,: Comment out the following line: save(os.path.join(args.out_folder, partition, path), entry['frames'], args.format) And, add the following: if len(entry['frames'])==0: print('\nLength mismatch - video_id:', video_id) else: # Save cropped video to out_folder save(os.path.join(args.out_folder, partition, path), entry['frames'], args.format) Otherwise, it will raise error (and program exit) due to length mismatch for some videos. 1. Run load_videos.py by specifying --image_shape (512,512) Then, it will download all youtube taichi videos (as specified in taichi-metadata) and crop/store .mp4 videos (or .png images) (according to your specification) in 512x512 image size. Thanks, I have noticed this. And the main concern of mine is that, the raw taichi videos are cropped by the bbox parameters first to get human centered videos, and then resized to the given image shape. As seen In following figure. I found that some videos are of small sizes such as 300300 after center cropping, and directly resize them to 512512 may cause losses. The author said they remove some videos that lacks sufficient resolution to support this size. And I don't know the rules they filter videos. [image: image] https://user-images.githubusercontent.com/38600167/121776484-b58c6080-cbbf-11eb-88a7-505bce006ddb.png Another question is that, almost all youtube links for downloading the dataset are broken, can you get the dataset? — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#19 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHACPT7I2AOUN5RSF3XIO4DTSNJ3JANCNFSM45KYVSVQ .

Thanks, have you tested that how many tranining and testing videos are preserved after removing? And is it convenient for you to share me a copy of this dataset with 512 resolution?

from articulated-animation.

eastchun avatar eastchun commented on June 17, 2024

from articulated-animation.

JialeTao avatar JialeTao commented on June 17, 2024

Thanks a lot. I'll have a try.

from articulated-animation.

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.