i am the beginner with genie,
i use a Bayesian network for my thesis, after i completed the cpt's for my net..i saved and then i couldnt reload the xdsl
the message on the output window was ' can't load file..size of distinguished vector state is invalid...
can i retrieve this file? if anyone can shed some light, i would appreciate it ...
my email is thealpinebeast@yahoo.gr if somebody want to send an email
thanks in advance
can't load file size o vector distinguished state is invalid
-
- Posts: 5
- Joined: Sat Sep 11, 2010 4:28 pm
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: can't load file size o vector distinguished state is inv
This looks like a bug in noisy-adder code. Did you use noisy-adder nodes in your network?thealpinebeast wrote:can't load file..size of distinguished vector state is invalid
-
- Posts: 5
- Joined: Sat Sep 11, 2010 4:28 pm
Re: can't load file size o vector distinguished state is inv
yep, i did...most nodes are noisy adder....is there a way to fix it?
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: can't load file size o vector distinguished state is inv
If GeNIe doesn't load the file, the only option remaining is manual edit (use Notepad or any text/XML editor) - the error message should give you the exact location of a problem and the expected number of items in the distinguished state vector.thealpinebeast wrote:yep, i did...most nodes are noisy adder....is there a way to fix it?
-
- Posts: 5
- Joined: Sat Sep 11, 2010 4:28 pm
Re: can't load file size o vector distinguished state is inv
i tried to fix it via a txt file but i couldnt find what was wrong?
anyway i did the whole thing again from the beginning but i would to track down what went wrong in case it happened again
thanks anyway i ll upload the file for a more experienced user to see whats wrong
anyway i did the whole thing again from the beginning but i would to track down what went wrong in case it happened again
thanks anyway i ll upload the file for a more experienced user to see whats wrong
- Attachments
-
- network marl ii.xdsl
- (20.58 KiB) Downloaded 324 times
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: can't load file size o vector distinguished state is inv
Edit the line 93 in the file - remove the trailing zero in the <dstates> element. The file should load OK after this change.
-
- Posts: 5
- Joined: Sat Sep 11, 2010 4:28 pm
Re: can't load file size o vector distinguished state is inv
thanks a lot my friend, i really appreciate the time you spent for this..shooltz wrote:Edit the line 93 in the file - remove the trailing zero in the <dstates> element. The file should load OK after this change.
if something like this happen in the future i should now know how to fix it
thanks again
Re: can't load file size o vector distinguished state is inv
The bug still remains. There is an error in the xdsl saving routine associated with Noisy Adder nodes.
You can easily reproduce this. Just add two noisy-adder nodes (node 1 and node 2), connect node 1 -> node 2, remove the connection and save the network to a xdsl file. Genie won't be able to open the network because of a wrong <dstate> attribute of node 2 in the xdsl file. It still contains two entries instead of one.
Would be nice if this could be fixed in a further release of Genie.
Anyway, love the Genie and Smile project! I am using it heavily and haven't found any other bugs so far... Keep up the good work!
Steffen
You can easily reproduce this. Just add two noisy-adder nodes (node 1 and node 2), connect node 1 -> node 2, remove the connection and save the network to a xdsl file. Genie won't be able to open the network because of a wrong <dstate> attribute of node 2 in the xdsl file. It still contains two entries instead of one.
Would be nice if this could be fixed in a further release of Genie.
Anyway, love the Genie and Smile project! I am using it heavily and haven't found any other bugs so far... Keep up the good work!
Steffen