Code Monkey home page Code Monkey logo

fvd-comparison's People

Contributors

universome avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fvd-comparison's Issues

How to use your code on my video?

Thanks for your great work!
I try to use your code on my videos. I'm not sure if the way it is used is correct. I am using your code as follows:

  1. Read all frames using opencv from real and fake videos. And reshape them to (num_videos, video_len, 224, 224, 3)
  2. run compare_metrics.py (without any data pre-processing, such as transforms.Normalize() in pytorch )

Is this correct? @universome

Zap spider scan throwing connection refused error

requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=8080): Max retries exceeded with url: http://zap/JSON/spider/action/scan/?apikey=&url=https%3A%2F%2Fdlq7l0b00rmgi.cloudfront.net (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f10a3706e80>: Failed to establish a new connection: [Errno 111] Connection refused')))
90
Error: Process completed with exit code 1.

requests.exceptions.ProxyError: HTTPSConnectionPool(host='www.dropbox.com', port=443)

hi, when i use your code, i found this problem:
requests.exceptions.ProxyError: HTTPSConnectionPool(host='www.dropbox.com', port=443): Max retries exceeded with url: /s/ge9e5ujwgetktms/i3d_torchscript.pt?dl=1 (Caused by ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection without response')))
what should i do?
And i have a another question,the videos resolution must be 224x224?If my video resolution is 128x128,how can i do?
Thanks!

Input value scale and resolution

Hi. Thanks for sharing works!

Input value scale

  • Is it right input values for torch i3d model would be range in [0,1]?

  • Meanwhile, It seems input range [-1, 1] used in tensorflow i3d

  • If I use FVD with torch, which one is right between [0,1] and [-1,1] ?

Input resolution

  • If I set input resolution above 224, this code returns [batch size, 400, feat_h, feat_w]. If I want to use resolution 256, is it right average [batch size, 400, feat_h, feat_w] to have shape of [batch size, 400] (average across spatial dim) ?
    detector_kwargs = dict(rescale=False, resize=False, return_features=True) # Return raw features before the softmax layer.

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.