17000cyh / IMDiffusion

61 stars 7 forks source link

file exist error #5

Open shaieesss opened 2 months ago

shaieesss commented 2 months ago

作者您好,有个小问题,SMD数据集在训练时定义了data_set_number,代码如下: data_set_number = ["3-4",'3-5',"3-10","3-11","1-5","1-8","2-4"] data_set_number += ["1-1","1-2","1-3","1-4","1-5","1-6","1-7","1-8"] data_set_number += ["2-1","2-2","2-3","2-4","2-5","2-6","2-7","2-8","2-9"] data_set_number += ["3-1","3-2","3-3","3-4","3-5","3-6","3-7","3-8","3-9","3-10","3-11"] 请问,第一行代码中由1-5,而第二行代码又加入了一遍1-5,这样是否会导致后续mkdir(name, mode)时显示错误File exists。(因为我运行时出现了这个错误,说train_result/save0/...1-5..文件已经存在)

17000cyh commented 2 months ago

哈喽您好,这里应该确实是有问题的。感谢指出,我后续修改,谢谢。

2024-08-05 20:51:45 "sdaioje" @.***> 写道:

作者您好,有个小问题,SMD数据集在训练时定义了data_set_number,代码如下: data_set_number = ["3-4",'3-5',"3-10","3-11","1-5","1-8","2-4"] data_set_number += ["1-1","1-2","1-3","1-4","1-5","1-6","1-7","1-8"] data_set_number += ["2-1","2-2","2-3","2-4","2-5","2-6","2-7","2-8","2-9"] data_set_number += ["3-1","3-2","3-3","3-4","3-5","3-6","3-7","3-8","3-9","3-10","3-11"] 请问,第一行代码中由1-5,而第二行代码又加入了一遍1-5,这样是否会导致后续mkdir(name, mode)时显示错误File exists。(因为我运行时出现了这个错误,说train_result/save0/...1-5..文件已经存在)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

huqiulan commented 1 month ago

Do you have these problems when you run it and how do you solve them, kindly help me! run: python compute_score.py --dataset_name SMD issue1: Traceback (most recent call last): File "compute_score.py", line 281, in best_f, best_proper, best_infor, threshold_infor_dict = compute_one_subset_one_strategy( File "compute_score.py", line 215, in compute_one_subset_one_strategy residual_list, labels UnboundLocalError: local variable 'labels' referenced before assignment

run: python ensemble_proper.py --dataset_name SMD issue2: ensemble for SMD in 30-3-skip-strategy ... length of pkl path list is 0 Traceback (most recent call last): File "ensemble_proper.py", line 461, in compute_one_data(args.dataset_name) File "ensemble_proper.py", line 446, in compute_one_data compute_one_strategy(data_id,strategy_name, File "ensemble_proper.py", line 320, in compute_one_strategy last_step_threshold = threshold_dict[machine_number]

shaieesss commented 1 month ago

Do you have these problems when you run it and how do you solve them, kindly help me! run: python compute_score.py --dataset_name SMD issue1: Traceback (most recent call last): File "compute_score.py", line 281, in best_f, best_proper, best_infor, threshold_infor_dict = compute_one_subset_one_strategy( File "compute_score.py", line 215, in compute_one_subset_one_strategy residual_list, labels UnboundLocalError: local variable 'labels' referenced before assignment

run: python ensemble_proper.py --dataset_name SMD issue2: ensemble for SMD in 30-3-skip-strategy ... length of pkl path list is 0 Traceback (most recent call last): File "ensemble_proper.py", line 461, in compute_one_data(args.dataset_name) File "ensemble_proper.py", line 446, in compute_one_data compute_one_strategy(data_id,strategy_name, File "ensemble_proper.py", line 320, in compute_one_strategy last_step_threshold = threshold_dict[machine_number]

actually I find the code have many errors, I didn't even run compute_score because I was struggled in running exe_machine.py. So I give up this.

huqiulan commented 1 month ago

May I ask if you are researching diffusion models? Do you have any ideas now? If you are interested in diffusion models, I would like to discuss and exchange ideas with you. I feel it is too difficult and there are not many codes that can run smoothly. Looking forward to your reply.

---Original--- From: @.> Date: Thu, Sep 5, 2024 16:23 PM To: @.>; Cc: @.**@.>; Subject: Re: [17000cyh/IMDiffusion] file exist error (Issue #5)

Do you have these problems when you run it and how do you solve them, kindly help me! run: python compute_score.py --dataset_name SMD issue1: Traceback (most recent call last): File "compute_score.py", line 281, in best_f, best_proper, best_infor, threshold_infor_dict = compute_one_subset_one_strategy( File "compute_score.py", line 215, in compute_one_subset_one_strategy residual_list, labels UnboundLocalError: local variable 'labels' referenced before assignment

run: python ensemble_proper.py --dataset_name SMD issue2: ensemble for SMD in 30-3-skip-strategy ... length of pkl path list is 0 Traceback (most recent call last): File "ensemble_proper.py", line 461, in compute_one_data(args.dataset_name) File "ensemble_proper.py", line 446, in compute_one_data compute_one_strategy(data_id,strategy_name, File "ensemble_proper.py", line 320, in compute_one_strategy last_step_threshold = threshold_dict[machine_number]

actually I find the code have many errors, I didn't even run compute_score because I was struggled in running exe_machine.py. So I give up this.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

shaieesss commented 1 month ago

in the past few weeks i want to study diffusion model and i also find it is not many available code so i change the direction but i welcome any communication and collaberation. you can send me your wechat through @.***

msezwx

@. | ---- Replied Message ---- | From | @.> | | Date | 09/05/2024 16:30 | | To | 17000cyh/IMDiffusion @.> | | Cc | sdaioje @.>, Author @.***> | | Subject | Re: [17000cyh/IMDiffusion] file exist error (Issue #5) |

May I ask if you are researching diffusion models? Do you have any ideas now? If you are interested in diffusion models, I would like to discuss and exchange ideas with you. I feel it is too difficult and there are not many codes that can run smoothly. Looking forward to your reply.

---Original--- From: @.> Date: Thu, Sep 5, 2024 16:23 PM To: @.>; Cc: @.**@.>; Subject: Re: [17000cyh/IMDiffusion] file exist error (Issue #5)

Do you have these problems when you run it and how do you solve them, kindly help me! run: python compute_score.py --dataset_name SMD issue1: Traceback (most recent call last): File "compute_score.py", line 281, in best_f, best_proper, best_infor, threshold_infor_dict = compute_one_subset_one_strategy( File "compute_score.py", line 215, in compute_one_subset_one_strategy residual_list, labels UnboundLocalError: local variable 'labels' referenced before assignment

run: python ensemble_proper.py --dataset_name SMD issue2: ensemble for SMD in 30-3-skip-strategy ... length of pkl path list is 0 Traceback (most recent call last): File "ensemble_proper.py", line 461, in compute_one_data(args.dataset_name) File "ensemble_proper.py", line 446, in compute_one_data compute_one_strategy(data_id,strategy_name, File "ensemble_proper.py", line 320, in compute_one_strategy last_step_threshold = threshold_dict[machine_number]

actually I find the code have many errors, I didn't even run compute_score because I was struggled in running exe_machine.py. So I give up this.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

starry-ZRY commented 2 weeks ago

I am also researching diffusion models and would like to connect with you both to exchange ideas. Can we connect on WeChat?

shaieesss commented 2 weeks ago

shebro1

msezwx

@. | ---- Replied Message ---- | From | @.> | | Date | 09/18/2024 10:36 | | To | 17000cyh/IMDiffusion @.> | | Cc | sdaioje @.>, Author @.***> | | Subject | Re: [17000cyh/IMDiffusion] file exist error (Issue #5) |

I am also researching diffusion models and would like to connect with you both to exchange ideas. Can we connect on WeChat?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

huqiulan commented 2 weeks ago

Sure, you can tell me your WeChat and I'll add you.

---Original--- From: @.> Date: Wed, Sep 18, 2024 10:36 AM To: @.>; Cc: @.**@.>; Subject: Re: [17000cyh/IMDiffusion] file exist error (Issue #5)

I am also researching diffusion models and would like to connect with you both to exchange ideas. Can we connect on WeChat?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

shaieesss commented 2 weeks ago

I am also researching diffusion models and would like to connect with you both to exchange ideas. Can we connect on WeChat?

shebro1

starry-ZRY commented 2 weeks ago

zrry1129

Sure, you can tell me your WeChat and I'll add you. 当然,你可以告诉我你的微信,我会添加你。  ... ---Original--- From: @.> Date: Wed, Sep 18, 2024 10:36 AM To: @.>; Cc: @.**@.>; Subject: Re: [17000cyh/IMDiffusion] file exist error (Issue #5) I am also researching diffusion models and would like to connect with you both to exchange ideas. Can we connect on WeChat? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>