Code Monkey home page Code Monkey logo

bongard-logo's Issues

CUDA out of memory

Hi,

I want to run through the baselines using two v100-GPUs with 32GB CUDA memory of each but it still calls the error ''CUDA out of memory'', I wonder how it happened since there are total 64GB CUDA memory? (I've changed the gpu number in run_[model_name]_model.sh to fit the situation.)

Thank you !

Best,
Yi Xu

run_moco_model.sh results in "KeyError: 'moco'"

When I run the "run_moco_model.sh" script. It results in the following error. It seems like "moco" model does not exist in the models directory. How can we fix this?

Traceback (most recent call last):
File "train_moco.py", line 300, in
main(config)
File "train_moco.py", line 120, in main
model = models.make(config['model'], **config['model_args'])
File "/content/Bongard-LOGO/Bongard-LOGO_Baselines/models/models.py", line 20, in make
model = modelsname
KeyError: 'moco'

MAML Model Support

Hi,

Thank you for your excellent work! In the formal print, I found that MAML results were not reported. But did exist MAML code and related scripts under the Bongard-LOGO_Baselines/.

I tried to run those scripts but got an error shown as below.

File "*/Bongard-LOGO_Baselines/models/maml.py", line 145, in forward
    return F.linear(input, params['weight'], bias)
KeyError: 'weight'

The params is an empty orderedDict as I print it out. I used both run_maml_model.sh and run_maml_v2_model.sh to train the model, but got the same error. Is there anything I can do to fix it?

Thank you for any help.

Creating Bongard Logo dataset

python run.py throws an error when trying to run from Bongard-LOGO/examples/02-bongard_logo/

This happens 'cuz the bongard module is not accessible from this folder.
I fixed it by moving the 'bongard' folder to Bongard-LOGO/examples/02-bongard_logo/ but this might not be the best solution.
There might be a need to arrange the directories.

bd, ff, hd?

Thank you for your work. The data Bongard-LOGO zip file (ShapeBongard_V2.zip) has the folders bb, ff, hd, and I don't know what they correspond to in the paper. I suppose ff is freeform, but for the others I am lost.

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.