GithubHelp home page GithubHelp logo

pdp-solver's People

Contributors

amizadeh avatar microsoft-github-policy-service[bot] avatar microsoftopensource avatar motus avatar msftgits 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pdp-solver's Issues

[Issue with validation set][provide dataset]

Thank you very much for your work and this repo.

I face an issue because I do not have the validation set, despite the parameter -g is True

Traceback (most recent call last):
File "src/satyr-train-test.py", line 148, in
args.cpu_mode, args.reset, args.use_generator, args.batch_replication)
File "src/satyr-train-test.py", line 103, in run
train_epoch_size=config['train_epoch_size'])
File "./src/pdp/factorgraph/base.py", line 326, in train
num_workers=self._num_cores, max_cache_size=self._config['max_cache_size'])
File "./src/pdp/factorgraph/dataset.py", line 201, in get_loader
batch_replication=batch_replication)
File "./src/pdp/factorgraph/dataset.py", line 92, in init
with open(self._input_file, 'r') as fh_input:

FileNotFoundError: [Errno 2] No such file or directory: '../../datasets/SAT/M-4SAT-validation-2/M-4SAT-validation-2_0_7.0_10.0.json'

Could you provide the validation and the test set please ?

Thnak you in advance

Multi-GPU and DataParallel

I have a trouble with multi-GPU training:

graph_map.shape in fn _train_batch file base: torch.Size([2, 5479]) cuda:0
graph_map.shape: in fn forward file solver torch.Size([1, 5479]) cuda:0
graph_map.shape: in fn forward file solver torch.Size([1, 5479]) cuda:1

It seems that the dataparallel divided the graph_map by a wrong way. But it does not work if you simply set dim = 1 for dataparallel obviously.
How can I train the model by multi-GPU?

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.