Comments (2)
Hi @wsyzzz , thanks!
As the name says the file is binary, which means that it contains only zeros and ones. It is basically a list of float32 numbers saved in binary format, which after the conversion one after the other define the single parameters of the network. So there is nothing human-readable to see into that file :) The only thing you can do is importing it with:
loaded_weights = np.fromfile(weights_path, dtype='f')
which will convert the binary numbers to float32 numbers readable in numpy. Now you have a list of numbers that you can see, but nothing more. By knowing the order in which they have been saved by the author of the file we can then assign their value into the right parameter of our network.
from tinyyolov2.
@simo23 Thanks for your response! I get it!
from tinyyolov2.
Related Issues (14)
- Purpose of load_conv_layer_bn
- test.py crashes HOT 1
- Outdated weights file name
- Offset and loaded weights differ by one HOT 1
- Incorrect predictions from pretrained voc weights yolo
- How's the mAP and accuracy of your net(tinyYOLOv2) after training?
- Any update on training part HOT 2
- class prediction in test.py HOT 3
- Broken Link to Weights HOT 1
- Tiny Yolo is very slow on Jetson TX1 HOT 1
- Hello,thank you for your code. HOT 2
- How to use a model already trained on custom dataset HOT 22
- Support YOLOv2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyyolov2.