Open LeningWang opened 1 year ago
Hello, I also met the same problem. Have you solved it
下面split分割数组的时候,里面换成split('\t')
下面split分割数组的时候,里面换成split('\t')
Hello can you please more introduce me about this issue. Thanks
Hello, I also met the same problem. Have you solved it
Did you solve this? thanks
line = [float(i) for i in line]
ValueError: could not convert string to float: '780.0\t1.0\t8.46\t3.59'
thanks
Hi did you reached to solution about this?
下面split分割数组的时候,里面换成split('\t') when you use 'split' to split array, use 'split('\t')'. This means using tabs to divide a row into arrays. If you still don't understand, I can send you my code. Best wishes.
------------------ 原始邮件 ------------------ 发件人: "agrimgupta92/sgan" @.>; 发送时间: 2023年11月9日(星期四) 晚上8:14 @.>; @.**@.>; 主题: Re: [agrimgupta92/sgan] a porblem need to be solve (Issue #120)
下面split分割数组的时候,里面换成split('\t')
Hello can you please more introduce me about this issue. Thanks
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
下面split分割数组的时候,里面换成split('\t') when you use 'split' to split array, use 'split('\t')'. This means using tabs to divide a row into arrays. If you still don't understand, I can send you my code. Best wishes.
------------------ 原始邮件 ------------------ 发件人: "agrimgupta92/sgan" @.>; 发送时间: 2023年11月9日(星期四) 晚上8:14 @.>; @.**@.>; 主题: Re: [agrimgupta92/sgan] a porblem need to be solve (Issue #120)
下面split分割数组的时候,里面换成split('\t')
Hello can you please more introduce me about this issue. Thanks
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
Hi again Thanks for your answer. Yes please if I can see your code I will be better understanding about this issue. Regards
Hello, I also met the same problem. Have you solved it
Did you solve this? thanks line = line.strip().split(delim)---->line = line.strip().split('\t')
下面split分割数组的时候,里面换成split('\t') when you use 'split' to split array, use 'split('\t')'. This means using tabs to divide a row into arrays. If you still don't understand, I can send you my code. Best wishes.
------------------ 原始邮件 ------------------ 发件人: "agrimgupta92/sgan" @.>; 发送时间: 2023年11月9日(星期四) 晚上8:14 @.>; @.**@.>; 主题: Re: [agrimgupta92/sgan] a porblem need to be solve (Issue #120)
下面split分割数组的时候,里面换成split('\t')
Hello can you please more introduce me about this issue. Thanks
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
Hi sorry but I didn't understand your comment. Can I have this part of your code? Thanks
I met this problem, too. And I finally found the problem is the default parameter 'delim' was set to ' '(space)instead of '/t' in train.py, like:
parser.add_argument('--delim', default=' ')
Maybe you should set it to '/t'.
I met this problem, too. And I finally found the problem is the default parameter 'delim' was set to ' '(space)instead of '/t' in train.py, like:
parser.add_argument('--delim', default=' ')
Maybe you should set it to '/t'.
It worked Thanks!!
ValueError: could not convert string to float: '780.0\t1.0\t8.46\t3.59'
thanks