Giter VIP home page Giter VIP logo

Comments (6)

MengzhangLI avatar MengzhangLI commented on August 30, 2024

Hi, sorry for late reply.

If I remember well, I also met this problem (about 1 year ago). Do you still often encounter this problem?

I ignored this question because in next version of my code, I never met this question again. Maybe it is MXNet problem I guess.

Looking forward to your reply.

Best,

from stfgnn.

kevin-xuan avatar kevin-xuan commented on August 30, 2024

是的,我在PEMS03数据集上跑了2次还是这个结果,是mxnet版本问题吗?我的是python3.6 mxnet 1.5.0 cuda version 11.2 。
我mxnet-cu100 mxnet-cu101 mxnet-cu102都试过了,在101版本运行成功,其他2个版本运行报错了,报错的问题也是与mxnet版本有关

from stfgnn.

MengzhangLI avatar MengzhangLI commented on August 30, 2024

是的,我在PEMS03数据集上跑了2次还是这个结果,是mxnet版本问题吗?我的是python3.6 mxnet 1.5.0 cuda version 11.2 。
我mxnet-cu100 mxnet-cu101 mxnet-cu102都试过了,在101版本运行成功,其他2个版本运行报错了,报错的问题也是与mxnet版本有关

不大像,mxnet安装错误会直接跑不起来,而你说的跟我之前遇到的都是模型不收敛 (虽然我大多时候是收敛的,就没在意这个问题). 您可以跑5-10次,看下不收敛的次数? 我印象中基本都能收敛.

from stfgnn.

kevin-xuan avatar kevin-xuan commented on August 30, 2024

这代码我有时候能运行,有时候报mxnet版本错误...
val_loader.reset()
prediction = mod.predict(val_loader)[1].asnumpy()
loss = masked_mae_np(val_y, prediction, 0)
想问个问题,之前在处理数据时是把训练集,测试集,验证集的输入X归一化处理,而标签Y没有归一化处理,
prediction = mod.predict(val_loader)[1].asnumpy()这部分预测出来的值应该要逆归一化,也就是重新变成流量值才能和Y计算MAE吧?请问这个逆归一化处理在哪里呢?

from stfgnn.

kevin-xuan avatar kevin-xuan commented on August 30, 2024

我在debug的时候经常遇到[01:04:15] c:\jenkins\workspace\mxnet-tag\mxnet\src\operator\linalg_impl.h:213: Check failed: e == CUBLAS_STATUS_SUCCESS (13 vs. 0) : cuBLAS: CUBLAS_STATUS_EXECUTION_FAILED错误。
for idx, databatch in enumerate(train_loader):
mod.forward_backward(databatch)
mod.update_metric(metric, databatch.label)
mod.update()
是因为这个错误导致 mod.update_metric(metric, databatch.label)这一行的mxnet内部所预测出的preds结果全是0吗?

from stfgnn.

MengzhangLI avatar MengzhangLI commented on August 30, 2024

抱歉,才看到。我认为是MXNet版本的问题。

from stfgnn.

Related Issues (20)

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.