Sudoku experiment
See original GitHub issueI tried running the sudoku example. My command line arguments are as follows:
python main.py --boardSz 2 --batchSz 100 --testBatchSz 100 --nEpoch 50 --testPct 0.1 --save SAVE --work 'work' optnet
I get errors arising from models.py
:
TypeError: super() takes at least 1 argument (0 given)
> /home/robotec/Documents/NNs/optnet/sudoku/models.py(80)__init__()
78 """ Solve a single SQP iteration of the scheduling problem"""
79 def __init__(self, n, Qpenalty):
---> 80 super().__init__()
81 nx = (n**2)**3
82 self.Q = Variable(Qpenalty*torch.eye(nx).double().cuda())
ipdb>
Did I miss something?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
An Experiment using Sudoku Puzzles - JSE
The experiment takes approximately 15-20 minutes to run and involves each student completing one of four types of Sudoku puzzles and recording the...
Read more >Sudoku experiment - notes for teachers
In this activity, students help design and then conduct an experiment to investigate the effect of puzzle type on time taken to complete...
Read more >Planet Sudoku by Ivan
Chrome Experiments. Planet Sudoku is a robust HTML5 Sudoku game with millions of Sudoku puzzles including Sudoku 9x9, Multi 2, Multi 4, and...
Read more >Study Says Sudoku and Crossword Puzzles Keep Your ...
People Who Regularly Play Sudoku and Crossword Puzzles Have Sharper Brains, New Study Finds ... Time to break out those pencils. ... Puzzles...
Read more >Role of prefrontal cortex during Sudoku task: fNIRS study - NCBI
Sudoku requires attention of the subject to analyze the grids and fill in the numbers; basically it requires no math but is based...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I know, haha! My problem size is a small adaptive control problem, not the gargantuan deep learning problems you guys solve 😃
Hi @lakehanne - oops, I accidentally made a typo in the CPU version of
btrisolve
that makes it throw this unimplemented error when it actually is implemented. I just fixed this in the pytorch source code and sent in a PR to their master branch: https://github.com/pytorch/pytorch/pull/1185.Can you try again after re-compiling pytorch with this change added?
-Brandon.