rgmyr / keras-texture Goto Github PK
View Code? Open in Web Editor NEWtf.keras implementations of deep texture recognition & fine-grained image classification models
License: Other
tf.keras implementations of deep texture recognition & fine-grained image classification models
License: Other
File "C:\Users\chouchou\Documents\Python Scripts\BilinearCNN\networks\dep_net.py", line 63, in dep_net
output_head = BilinearModel()([encode_head]) # flat, l2_normalized output by default
File "C:\Users\chouchou\Anaconda3\lib\site-packages\keras\engine\base_layer.py", line 431, in call
self.build(unpack_singleton(input_shapes))
File "C:\Users\chouchou\Documents\Python Scripts\BilinearCNN\layers\bilinearmodel.py", line 31, in build
self._shapecheck(input_shape)
TypeError: _shapecheck() takes 1 positional argument but 2 were given
I am sure some mistakes are committed.
Since the last push I've worked on this codebase inside of a different private project. I've corrected a couple of mistakes and fixed a few bugs there, which I should pull back into this package.
Just making a public note here as motivation to actually get around to doing that.
Another question is as follows, when I was trying deepten network. I met a question when creating an residual encoding layer with learnable codebooks.
The error is as follows:
/layers/encoding.py,line 69 in build
self.D = input_shape.as_list()[-1]
AttributeError:'tuple' object has no attribute 'as_list'
swig/python detected a memory leak of type 'int64_t *'
Hello,
I'm trying to use the encoding layer from DeepTEN example.Even with the simple network architecture my model(network+encoding layer) starts overfitting. When I run my model without encoding it doesn't overfit then.Any help is appreciated.
Thanks!!
Great job!
But I have a question about the codebook .In my understanding, dictionary learning is equal to sparse encoding, but why is the size of the codebook is (32,128)?thank you very much!
When I was trying to use the deepten network, and I find out that there is no model named TextureModel in the model module. Maybe it's because the name for the model is wrong.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.