Comments (5)
you will have to change the inputsize in the first line of cnn-tf.js. And then you have to make sure the image size in folder *\cnn-explainer-master\public\assets\img is the same as the value you type in cnn-tf.js. If the size of these images is different, you must transfer them to the size you want. After that you may run the programm as expected.
In cnn-tf.js the developer was going to give a way that can automatically adapt the input image size to the value which is customized by users, but the code is not yet completed, so we have to change the size of the images to the value we customize in cnn-tf.js manually.
from cnn-explainer.
When I edit the first line of cnn-tf.js, the web browser only show me the blank page..
I am not familiar with node js, so I do not know what can i do for correct view of the web browser..
plz tell me What can i do this error??
Best regards.
from cnn-explainer.
I guess you want to change the input size to a larger one, right? Well as I wrote above, except the code modification of the first line in cnn-tf.js, you will also have to resize the images in folder *\cnn-explainer-master\public\assets\img to the same value in the first line of cnn-tf.js.
The reason why only blank page displayed may be that you didnt transfer the images' size in the folder I mentioned and the program found that the input image size is not conformed with the value you set in cnn-tf.js, so it rejected the next move but gave a blank page.
Pls remember that the Programm is only to show your CNN but with the images in the folder I mentioned as its input. Which means, that you must keep the sizes of those images, the input size you set in cnn-tf.js and of course the input size you set in your CNN exactly the SAME.
A way to change the size of image is using PowerToys. It is a powerful image editor that is developed by Microsoft, you can easily resize the images you selected with this tool.
CNN-Explainer have the ablity to crop a bigger image to a smaller input size (the size that be set in the first line of cnn-tf.js). But when the size of input image is smaller than the input size in cnn-tf.js, the program will reject the next move. Because there are no codes for resizing the input image. So in this situation we must resize the images manually.
The picture shows the folder in which the input images are located.
from cnn-explainer.
Okay. I will try to resize those images. Thank you!!
from cnn-explainer.
You are welcom. Have fun with modifying CNN Explainer.
from cnn-explainer.
Related Issues (20)
- run with static ip HOT 1
- about retraining cnn explainer HOT 2
- run error HOT 2
- ReLu function max(0,a) gives 0 HOT 3
- detail view problem HOT 1
- detail view not work with new added convolution nodes HOT 6
- Update the number of layer HOT 1
- question about changing parameter 'height' HOT 1
- error in npm run dev HOT 1
- vue中无法运行 HOT 2
- 更换图片重新训练后却没有变化 HOT 3
- Why is the page empty HOT 2
- How we can explain neuron if we do use cnn? HOT 1
- Would be cool to have an explainer for an object detection pipeline as well HOT 1
- The explainer won't show up in the browser HOT 4
- HTTP ERROR 403 HOT 5
- [Feature] Shipping in a docker container HOT 1
- my interface is also blank HOT 4
- a suggestion for Deployment on server 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 cnn-explainer.