Giter Site home page Giter Site logo

denseflow about anomly_feature.pytorch HOT 3 CLOSED

wanboyang avatar wanboyang commented on July 26, 2024
denseflow

from anomly_feature.pytorch.

Comments (3)

wanboyang avatar wanboyang commented on July 26, 2024
    parser = argparse.ArgumentParser(description="extract optical flows")
    parser.add_argument("--src_dir", default='./dataset/shanghaitech/videos/training')
    parser.add_argument("--out_dir", default='./dataset/shanghaitech/dense_flow/training')
    parser.add_argument("--num_worker", type=int, default=32)
    parser.add_argument("--flow_type", type=str, default='tvl1', choices=['tvl1', 'warp_tvl1'])
    parser.add_argument("--df_path", type=str, default='./dense_flow/', help='path to the dense_flow toolbox')
    parser.add_argument("--out_format", type=str, default='zip', choices=['dir','zip'],
                        help='path to the dense_flow toolbox')
    parser.add_argument("--ext", type=str, default='avi', choices=['avi','mp4'], help='video file extensions')
    parser.add_argument("--new_width", type=int, default=320, help='resize image width')
    parser.add_argument("--new_height", type=int, default=240, help='resize image height')
    parser.add_argument("--num_gpu", type=int, default=2, help='number of GPU')
    parser.add_argument("--resume", type=str, default='yes', choices=['yes','no'], help='resume optical flow extraction instead of overwriting')

我们的设置,全部采用默认

from anomly_feature.pytorch.

wanboyang avatar wanboyang commented on July 26, 2024
cmd = os.path.join(df_path + 'build/extract_warp_gpu')+' -f={} -x={} -y={} -b=20 -t=1 -d={} -s=1 -o={}'.format(
        vid_path, flow_x_path, flow_y_path, dev_id, out_format)

from anomly_feature.pytorch.

chiao666 avatar chiao666 commented on July 26, 2024

你好,我也遇见了光流比RGB多一帧的情况,会影响到后续的工作,请问你解决这个问题了吗

from anomly_feature.pytorch.

Related Issues (10)

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.