Giter Site home page Giter Site logo

Comments (19)

InwoongLee avatar InwoongLee commented on September 2, 2024

You need to make a folder named by sklt_data_all, and move the input csv files to the sklt_data_all folder.
Or Set DATA_PATH to the folder consisting of your input csv files.
Also, you need to make the folder named by sklt_npy_view for saving npy files.

from ts-lstm.

JiajiaStrive avatar JiajiaStrive commented on September 2, 2024

Thank you very much! I have excute it, but now , I have another question.
image
How can I use the code bellow?
image
image
I just run the code CS_Ensemble TS-LSTM v1_new.py, but I think maybe I was wrong.

Looking forward to your reply!

from ts-lstm.

InwoongLee avatar InwoongLee commented on September 2, 2024

Now, I cannot know the error.
I think you need debug according to the error message.

from ts-lstm.

JiajiaStrive avatar JiajiaStrive commented on September 2, 2024

I just run the code CS_Ensemble TS-LSTM v1_new.py, is this right?

from ts-lstm.

InwoongLee avatar InwoongLee commented on September 2, 2024

I think there is config.feature_size error.
You need to modify 2*config.feature_size in feature_only_diff_2 into config.feature_size.
Please refer to 1257f42.
Ensemble v1, v2 were modifed.

from ts-lstm.

JiajiaStrive avatar JiajiaStrive commented on September 2, 2024

Can you excute this code in your computer?
And can you tell me the versions of your tensorflow and python?

I changed it, but now have the another preblem.
image

from ts-lstm.

InwoongLee avatar InwoongLee commented on September 2, 2024

I had no problem when executing the code just before.
You need to check the config.feature_size.
The config.feature_size and evalconfig.feature_size should be 150 not 75.
Please check it.

from ts-lstm.

InwoongLee avatar InwoongLee commented on September 2, 2024

in feature_only_diff_2,
for batch_step in range(len(data)):
# print len(data[batch_step])
use print len(data[batch_step][0])
If the value is 150, it's okay. But if the value is 75, data format has problem.

from ts-lstm.

JiajiaStrive avatar JiajiaStrive commented on September 2, 2024

image
I have print len(data[batch_step]) and print len(data[batch_step][0]), but I get this
image
I get the data through the files as fellow.
image
I didn't change anything.

I called the function throngh the fellow.

image

image
Looking forward to your answer.

from ts-lstm.

JiajiaStrive avatar JiajiaStrive commented on September 2, 2024

I am so sorry, I writed wrong sbout print len(data[batch_step][0]);
I excute the code again, and get this
image

from ts-lstm.

JiajiaStrive avatar JiajiaStrive commented on September 2, 2024

image
I changed the config.feature_size = 75, and get the above.

from ts-lstm.

InwoongLee avatar InwoongLee commented on September 2, 2024

config.feature_size is 150, which is right not 75.
I'm sorry for our error file.
make_csv_action_0149.m is 75 input size. So we need to add zero padding to match 150.
We modified the code. Please reuse the make_csv_action_0149.m in bf57d5d.
make_csv_action_5060.m doesn't have any problem.

from ts-lstm.

JiajiaStrive avatar JiajiaStrive commented on September 2, 2024

thank you very much!
I wish I run the code success.

from ts-lstm.

JiajiaStrive avatar JiajiaStrive commented on September 2, 2024

I need your help.
Can you help me change 4 GPUs to 3 GPUs about NTU_Code->CS_Ensembe_TS-LSTM_v1.py?
I realy need your help.
I don't have 4 GPUs for it, but I have 3 GPUs.

from ts-lstm.

JiajiaStrive avatar JiajiaStrive commented on September 2, 2024

Looking forward to your answer.

from ts-lstm.

InwoongLee avatar InwoongLee commented on September 2, 2024

If you see "with tf.device(sw_0):"

sw_0, sw_1, sw_2, and sw_3 are assigned by gpu0, gpu1, gpu2, and gpu3, respectively.

So, you can control the runner assign like this.

sw_0 = runner_assign[0]
sw_1 = runner_assign[1]
sw_2 = runner_assign[2]
sw_3 = runner_assign[3]

->

sw_0 = '/gpu:0'
sw_1 = '/gpu:1'
sw_2 = '/gpu:2'
sw_3 = '/gpu:2'

and another modification is needed like this.

gradient_device = ['/gpu:0','/gpu:1','/gpu:2','/gpu:3']

-> gradient_device = ['/gpu:0','/gpu:1','/gpu:2','/gpu:2']

This is an example.

You can handle it in the way you want.

from ts-lstm.

JiajiaStrive avatar JiajiaStrive commented on September 2, 2024

Thank you very much! I have changed it seccussfully! But I have another question, what is the version of cuda about tensorflow-0.11.0 when you run the code of NTUGRB-D?

from ts-lstm.

InwoongLee avatar InwoongLee commented on September 2, 2024

maybe it was 7.5.

If you have problem of version, you can upgrade tensorflow and cuda.

And then, edit some of codes like tf,initializer, tf.concat, etc according to new version of tensorflow.

UCLA and UWA is already modified. please refer to that codes on UCLA and UWA datasets.

from ts-lstm.

JiajiaStrive avatar JiajiaStrive commented on September 2, 2024

Thank you very much! I am very glad to have your help!

from ts-lstm.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.