This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / Please help me! About the .dat file.Thank you! Hey, scorpio, please come in...现在程序已经可以执行了。需要从一个.dat文件里读取数据(里面的数据很简单,不是1就是0)。以前是用36个16*16的矩阵,一次通过。现在要升级到62个30*30的矩阵。可是当读到大约是第33,34个的时候,就出错了,数据大得惊人,起码7,8位数。我调整了.dat文件,还是这样。请问到底是怎么回事呢?谢谢!
另:我就是在NOTEPAD里直接生成.dat文件的。在VC++里也打开看过了,一切正常。
-lynx(jane);
2001-7-24
{351}
(#143456@0)
-
补充:最令人不解的是,前面的三十来个矩阵都读得好好的,是不是.dat文件写的时候需要注意什么,还是有什么限制?请专家们帮帮忙!谢谢!scorpio,你还在吗?
-lynx(jane);
2001-7-24
(#143476@0)
-
是不是NOTEPAD的问题。它好象对编辑的文件有限制。
你用ultredit或hexedit 编辑一下试试
-lmjut(落山鸡);
2001-7-24
(#143502@0)
-
Thanks! I will have a try and let you know the result.
-lynx(jane);
2001-7-24
(#143536@0)
-
BTW,where can I download the ultredit or hexedit?Thank you!
-lynx(jane);
2001-7-24
(#143540@0)
-
try this www.download.com
-happy_4_7(开心果);
2001-7-24
(#143604@0)
-
No, I have tried it. But I have solved the problem. I just open the VC++ and creat the .dat file in VC editor. It works!! Thank you for your all!!
-lynx(jane);
2001-7-24
(#143670@0)
-
什么叫。DAT的矩阵啊
-beware(断线风筝);
2001-7-24
(#143750@0)
-
1 notepad的上限是64K。2 如果data只有01的话建议用binary写。 3 为什么不用方程代替这些数据?
-scorpio(scorpio);
2001-7-25
(#143913@0)
-
I think she doesn't know the difference of ASCII code and binary code.
-guest:;
2001-7-26
(#145868@0)
-
Thanks. I have solved the problem. I don't know what is your meaning by using the function instead of data. I need to read the pixels(30*30) of the character,from a-z,A-Z and 0-9.And use them to train the FNN.Can I use some functions to do this? And which functions?Thank you!
-lynx(jane);
2001-7-26
{67}
(#145878@0)
-
Sounds like a overflow or out of bound problem. Is your LG a IT guy? Maybe he can help you.
-guest:;
2001-7-26
(#145871@0)
-
Thank you! I have solved it.
-lynx(jane);
2001-7-26
(#145879@0)