Comments (5)
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! 👍
from models.
Can you paste what the actual error is? I am not very familiar with this code, but I'm happy to try and take a look to see what is wrong and if there is an easy fix.
from models.
Can you paste what the actual error is? I am not very familiar with this code, but I'm happy to try and take a look to see what is wrong and if there is an easy fix.
Augmentation::ResizeTransform use mlpack::BilinearInterpolation to process image data, but mlpack::BilinearInterpolation has not been modified and adapted, so some project cannot be compiled and the function of "dataloader" also can not been used to process image directly. I have changed the code with a simple comment as shown in the pasted below, and have not completely implemented BilinearInterpolationType.
template
void Augmentation::ResizeTransform(
DatasetType& dataset,
const size_t datapointWidth,
const size_t datapointHeight,
const size_t datapointDepth,
const std::string& augmentation)
{
size_t outputWidth = 0, outputHeight = 0;
// Get output width and output height.
GetResizeParam(outputWidth, outputHeight, augmentation);
// We will use mlpack's bilinear interpolation layer to
// resize the input.
// mlpack::BilinearInterpolation<DatasetType, DatasetType> resizeLayer(
// datapointWidth, datapointHeight, outputWidth, outputHeight,
// datapointDepth);
// mlpack::BilinearInterpolation<DatasetType, DatasetType> resizeLayer(
// datapointWidth, datapointHeight, outputWidth, outputHeight,
// datapointDepth);
mlpack::BilinearInterpolation resizeLayer(
outputWidth, outputHeight);
DatasetType output;
resizeLayer.Forward(dataset, output);
dataset = std::move(output);
}
from models.
Right, that layer has not been adapted yet. If you are interested in doing the work of adapting the layer and opening a PR on the mlpack repository, it would be greatly appreciated! I don't currently have time for it (but will get around to it eventually).
from models.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! 👍
from models.
Related Issues (20)
- Where to put convert class HOT 6
- make showing error HOT 3
- Implementing YOLOv4 HOT 3
- input for add<Convolution> mlpack HOT 3
- input for RNN (LSTM) when using MEL-coefficients for speech recognition HOT 3
- Alpha matting model HOT 4
- Documentation error in augmentation.hpp HOT 2
- Fix build.
- Error while building on M1 macbook HOT 24
- Question about the response array for a LSTM (many-to-one) model HOT 13
- Namespace and Include guards HOT 3
- Improve description for the repository HOT 7
- Add crons to update dependencies. HOT 2
- Restructure of the model files HOT 6
- Distribution of preTrained models HOT 10
- Addition of MobileNet V1 HOT 6
- Tracker for improvements in models doc. HOT 4
- mlpack version specific HOT 3
- The YOLO architecture does not match what is mentioned in the YOLOv1 official paper. 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 models.