Git Product home page Git Product logo

2021-grandchallenge-cheapfakes-cosmosonsteroids's People

Contributors

akgult avatar cise-midoglu avatar denizugur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

2021-grandchallenge-cheapfakes-cosmosonsteroids's Issues

Problems with `model_archs/image/image_models.py`

Hi guys,
It has been so long since your work, I have tried

python trainer_script.py -m train

but I got some errors :(
First, if I keep the code

bbox_feats = torch.stack(
            [self.maskrcnn_predictor(img.cpu().numpy(), target) for img, target in zip(imgs, targets)])

I got (see the below images):

TypeError: __call__() takes 2 positional arguments but 3 were given

image
Second, I tried removing target, now the code became

bbox_feats = torch.stack(
            [self.maskrcnn_predictor(img.cpu().numpy()) for img, target in zip(imgs, targets)])

I did not get the above error anymore, but I got:

TypeError: expected Tensor as element 0 in argument 0, but got dict

image
Now, I guessed the problem with .numpy() function call, so I tried removing it, the code became:

bbox_feats = torch.stack(
            [self.maskrcnn_predictor(img.cpu()) for img, target in zip(imgs, targets)])

At here I got

AttributeError: 'Tensor' object has no attribute 'strides'

image
Could you please take a look? I don't know where the cause is from :(

Please share the dataset

I am a graduate student from Chengdu University of Information Technolgy in China. I am currently learning NLP and have finished reading your paper "COSMOS: Catching Out-of-Context Misinformation with Self-Supervised Learning", however, I am unable to download the dataset. Could you be so kind as to share it with me? It would greatly appreciate it. My google account is [email protected]. Thank you for youor consideration!

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.