Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrecognized function or variable 'mynorm' #4

Open
RuifengZheng opened this issue Oct 16, 2023 · 10 comments
Open

Unrecognized function or variable 'mynorm' #4

RuifengZheng opened this issue Oct 16, 2023 · 10 comments

Comments

@RuifengZheng
Copy link

RuifengZheng commented Oct 16, 2023

Error happened when trying to run generate_sythetic_source.m

Unrecognized function or variable 'mynorm'.
Error in generate_sythetic_source>get_direction (line 218)
v = v./mynorm(v,2);

@wangfeihhhhh
Copy link

image
您好,这是我遇到的问题,由于重新编辑太过麻烦所以我截图了,请谅解,对于您的问题我有解决方案,我猜想可能是matlab版本不够?我解决的方式是直接定义了mynorm这个函数,类似于这样
image

@wangfeihhhhh
Copy link

如果您有办法解决我的问题,那实在太棒了,请迅速联系我,十分感谢。

@RuifengZheng
Copy link
Author

RuifengZheng commented Nov 16, 2023

如果您有办法解决我的问题,那实在太棒了,请迅速联系我,十分感谢。

这个开源的代码里面有很多问题,缺文件,readme没包含任何细节;我的至今也还没跑起来。

你这个问题,是第一步里要generate_tvb_data生成相应的文件。
还有generate_synthetic是要在process_raw运行完成后的结果上跑的。

@wangfeihhhhh
Copy link

如果您有办法解决我的问题,那实在太棒了,请迅速联系我,十分感谢。

这个开源的代码里面有很多问题,缺文件,readme没包含任何细节;我的至今也还没跑起来。

你这个问题,是第一步里要generate_tvb_data生成相应的文件。 还有generate_synthetic是要在process_raw运行完成后的结果上跑的。
非常感谢您能回复我,不过没关系,请有新的进展,请您能与我保持联系,我也发现该代码存在一些问题,我猜想可能是两部分代码不是一个作者写的,我现在的进展以及可以运行process_raw,如果有新的进展请您一定要联系我,再次表示感谢!
对了,将mynorm改成norm也可以解决问题。

@wangfeihhhhh
Copy link

请问您有无遇到这类问题
image

@RuifengZheng
Copy link
Author

请问您有无遇到这类问题 image

这是出现了time_spike长度为零的情况

@RuifengZheng
Copy link
Author

请问您有无遇到这类问题 image

You can add my Wechat pkw2009 so that we can share our progress.

@RuifengZheng
Copy link
Author

请问您有无遇到这类问题 image

Have you encountered similar warnings during data generation? #2 (comment)

@wangfeihhhhh
Copy link

pkw2009

that‘s amazing,My WeChat application has been sent,plz go though my application,thank you !!!!

@RuifengZheng
Copy link
Author

@wangfeihhhhh You can reference my version of DeepSIF: https://github.com/RuifengZheng/DeepSIF, which has been edited by me according to my understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants