Comments (4)
An equivalent PyTorch operation is called PixelShuffle. You may also want to take a look at this existing YOLOv2 PyTorch implementation.
I don't think there's a NumPy equivalent to this function, but this white paper by Shi et al. has some good diagrams for what this operation is doing and how it's motivated by the upscaling convolution operation (often erroneously called deconvolution).
from yad2k.
@allanzelener Thanks for your response!
Could you please tell me what is the range of your network output layers value? I mean do you have negative number as the result of forward path when you forward an input image? Another thing which is ambiguous for me is that, Is your input to the network normalized (I mean between -1 and 1) or not?
Another thing which I would like to know ,if it is okay for you, is that What is the order of concatenation in your implementation. I mean in concatenate_1 layer!
from yad2k.
Please see this link which i provide an example of usage this function in stackoverflow. In addition to reshaping, it also changes the value of the input tensors! Is it logical to change the value?
from yad2k.
Ah, I see. I didn't realize they only implemented it for scaling factors > 1. I answered your question on Stackoverflow and opened an issue on the PyTorch Github here.
None of these operations should change any values, only their position within the array.
Yes, negative outputs are theoretically possible for the width and height parameters. I haven't checked the possible ranges. It's also possible to have a bounding box with width and height such that it extends beyond the image boundary.
I'm going to close this issue now since this is more related to PyTorch than this project.
from yad2k.
Related Issues (20)
- weird error
- when trying'./yad2k.py yolo.cfg yolo.weights model_data/yolo.h5', has problem HOT 2
- retrain_yolo image size/shape (416,416 vs 416,416,3)
- Difference between yad2k.py and yad2k/models/keras_yolo.py?
- Replace session.run() with keras Model
- ValueError: Cannot feed value of shape (1, 416, 416) for Tensor 'input_1:0', which has shape '(?, 416, 416, 3)' HOT 2
- The bounding box shifts
- The bounding box shifts right or left from the target.
- I try to generate yolo.h5 and use this command: python yad2k.py yolo.cfg yolo.weights model_data/yolo.h5 HOT 4
- when I run the code "yolo_model = load_model("model_data/yolov2.h5")" always raise an error HOT 1
- Using darknet19 as a simple classifier
- AttributeError: Module 'tensorflow' has no attribute 'space_to_depth" HOT 4
- issue with model last layer
- Generate yolo.h5 file HOT 1
- detects only 10 objects on max
- wget yolo cfg doesn't work HOT 1
- ReLu Activation Function HOT 1
- convert yolo9000.weights error
- Attempting to use uninitialized value FeatureExtractor/MobilenetV2/expanded_conv_3/depthwise/BatchNorm/beta [[{{node _retval_FeatureExtractor/MobilenetV2/expanded_conv_3/depthwise/BatchNorm/beta_0_179}}]] HOT 1
- issues with config_path weights_path output_path
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 yad2k.