Closed vmarkovtsev closed 5 years ago
Just a personal preference but please switch to pytest instead of unittest.
Asto why they fail to build, I have no clue. They surely build under normal conditions.
@titu1994 can you provide a working snippet for, say, loading and running B1? As you see in the code, there is nothing extraordinary inside.
The error faced by this code was due to earlier versions overriding the shared DEFAULT_BLOCKS_LIST
, so now it instead generates a new list for each model and then builds it, thereby removing the issue.
As to the tests, thank you for your contribution. B0-B5 are now being tested (with slight modifications) from your codebase.
Edit: To elaborate, it was possible to build a single model without issue. The subsequent models would however not be built correctly. This is now fixed via e2b1654a677b3a629c0c2df3ee895a45116fe817
@titu1994 Please note that rewriting external contributions discourages people from contributing again. Open source relations 101. Thanks for fixing!
You're right that it discourages contributions, but there were significant alterations required compared to your code, and given my somewhat hectic weekend schedule, I acted hastily.
Some points would be that -
Still, you are indeed correct that I should have waited for your corrections.
Signed-off-by: Vadim Markovtsev vadim@sourced.tech
B1-B6 cannot be constructed. I guess that different hyperparameters should be used.