Comments (4)
Please follow by this code:
import numpy as np
from RMDL import RMDL_Image as RMDL
if __name__ == "__main__":
''' load data here'''
X_train_D = X_train.reshape(X_train.shape[0], 21, 32, 1).astype('float32')
X_test_D = X_test.reshape(X_test.shape[0], 21, 32, 1).astype('float32')
X_train = X_train_D / 255.0
X_test = X_test_D / 255.0
number_of_classes = 10
shape = (21x32x1)
batch_size = 128
sparse_categorical = 0
n_epochs = [100, 100, 100] ## DNN--RNN-CNN
Random_Deep = [0, 0, 3] ## DNN--RNN-CNN
RMDL.Image_Classification(X_train, y_train, X_test, y_test,shape,
batch_size=batch_size,
sparse_categorical=True,
random_deep=Random_Deep,
epochs=n_epochs)
from rmdl.
Also look at : #8
from rmdl.
Hi,
Thank you for your methds and code.
I am also getting this error:
<keras.optimizers.Adagrad object at 0x7f374c4c0fd0> Error in model 0 try to re-generate another model
while simply running your example (on IMBD data) on a server with 128GB memory. So I guess the memory should not be the issue? Haven't changed anything in the code from your example but pointed to my GloVe folder.
What could be the reason?
from rmdl.
Hi,
Thank you for your methds and code.
I am also getting this error:
<keras.optimizers.Adagrad object at 0x7f374c4c0fd0> Error in model 0 try to re-generate another model
while simply running your example (on IMBD data) on a server with 128GB memory. So I guess the memory should not be the issue? Haven't changed anything in the code from your example but pointed to my GloVe folder.
What could be the reason?
Also look at : #8
from rmdl.
Related Issues (20)
- How to set the number of "n" in the experiment? HOT 3
- accuracy question
- accurcy problems HOT 11
- How to use saved model and weights for prediction? HOT 1
- Text classification task accuracy problem HOT 7
- Functional API HOT 1
- How to we make prediction on new data? HOT 1
- Error in model 0 try to re-generate an other model DNN 0 HOT 2
- Upload Trained Model HOT 1
- Unseen data... HOT 1
- random_optimier not use
- Could not find %s Set GloVe Directory in Global.py HOT 1
- Multi label classifier in RMDL. HOT 1
- The dataset is not divided into train data, validation data and test data?
- Using my own image dataset HOT 1
- Error when trying to run for my dataset HOT 2
- How to use a trained model for predictions? HOT 3
- ValueError HOT 18
- Prediction time HOT 4
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 rmdl.