Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Binary conv layer #3

Open
AnouarITI opened this issue Sep 26, 2023 · 0 comments
Open

Error in Binary conv layer #3

AnouarITI opened this issue Sep 26, 2023 · 0 comments

Comments

@AnouarITI
Copy link

I am trying to refactor the results with the CIFAR-10 dataset with same model and configuration. I am now trying to train from scratch with the same nvidia docker version stated in the repo 21.06-tf1-py3, However, now I am getting this error:

/workspace/LUTNet_experiment/binarization_utils.py in build(self, input_shape)
    197                 #random.seed(self.rand_seed)
    198 
--> 199                 if self.k_lut > 1:
    200 			self.rand_map_0 = self.add_weight(name='rand_map_0', 
    201                                 shape=(self.window_size, 1),

TypeError: '>' not supported between instances of 'TFModuleWrapper' and 'int'

What did I do wrong, and how should I fix it?
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant