Comments (4)
Hello,
I am very glad that my code and paper were helpful !!
As for your error regarding MCNN, I think the network is being fed a kernel_size equal to zero.
Can you make sure what values you are choosing for the kernel_size ?
kernel_size = int(ori_len * filter_size)
You should make sure that this equation is not zero.
In your case ori_len=14
(if I am not wrong).
Then you should change the values in filter_sizes
.
To sum up, try to remove the 0.05
in this line.
Let me know if this fixes the error.
Best regards,
from dl-4-tsc.
Thank you very much for your quick response. Indeed, your proposed solution fixed the error.
Best regards,
from dl-4-tsc.
Glad to help!
Do not hesitate if you have any other questions.
Best regards,
Hassan
from dl-4-tsc.
where is the answer ?
This is strange that 'tf' has an object 'assign' but that does not seem working !
import tensorflow.compat.v1 as tf
tf.disable_eager_execution()
theta=tf.constant(1)
gradiants=tf.constant(3)
learning_rate=tf.constant(2)
dir(tf.assign)
['annotations', 'call', 'class', 'closure', 'code', 'defaults', 'delattr', 'dict', 'dir', 'doc', 'eq', 'format', 'ge', 'get', 'getattribute', 'globals', 'gt', 'hash', 'init', 'init_subclass', 'kwdefaults', 'le', 'lt', 'module', 'name', 'ne', 'new', 'qualname', 'reduce', 'reduce_ex', 'repr', 'setattr', 'sizeof', 'str', 'subclasshook', '_tf_api_names', '_tf_api_names_v1']
training_op = tf.assign(theta, theta - learning_rate * gradiants)
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.7/site-packages/tensorflow_core/python/ops/state_ops.py", line 228, in assign
return ref.assign(value, name=name)
AttributeError: 'Tensor' object has no attribute 'assign'
from dl-4-tsc.
Related Issues (20)
- OSError: /b/home/uha/hfawaz-datas/dl-tsc//archives/TSC/Coffee/Coffee_TRAIN not found. HOT 2
- use for multiple id and static categorical feature
- How do you load the MTS archive for Multivariate HOT 4
- Is the data being pulled in N,T,F HOT 1
- How do I use GPU to run the code? HOT 2
- Inception Time Model Predicts all 1's
- Non-stationary timeseries
- y_true vs y_test HOT 2
- will it work for multivariate time series prediction both regression and classification HOT 1
- About MCNN
- about folder tree
- USE CUSTOM DATA HOT 1
- FileNotFoundError: [Errno 2] No such file or directory: '...............x_train.npy'
- classify new sample HOT 1
- The input size of the twiesn? HOT 1
- The link to Multivariate time series datasets is now missing HOT 2
- How do you deal with data of varying length? HOT 1
- How to improve validation score
- Question on validation dataset for TSC HOT 4
- Miss MTS dataset HOT 3
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 dl-4-tsc.