Neural Updates: PolicyDataLoader replaced with the old dataloading scheme and Quad terms added#780
Neural Updates: PolicyDataLoader replaced with the old dataloading scheme and Quad terms added#780selmanozleyen wants to merge 5 commits intomainfrom
Conversation
|
The assumption |
|
Regarding the number of adatas, I think it's fine if we only allow for at most two adatas, but we must allow them to be different, espeically in the case of modality translation. |
But it should hold when we have only one adata and quadratic terms right? Because if we have two quadratic term attr's of one side that means we have it also on the other side. If we have the same quadratic attributes on both sides then it's reasonable to assume this should've been the linear term right since its in comparable space? In fact some rules like these might help us out for structuring: Adata assumption: Every given adata will have attributes for all the cells. Ie it can't have empty entries for quadratic terms on some cells, if there is a term it should be present on all cells for that adata
Recognizing these as rules would clarify the implementation a lot. From what I see so far we already don't violate these assumptions explicitly. Wdyt @MUCDK am I missing something? |
|
Yes, all these points make sense! |
hi @MUCDK,
I have added support for quad terms while replacing the old dataloader with something more efficient and more extendable. Currently quad terms will work in a meaningful way if in the policy this is satisfied for the policy graph
for all a,b,c,d in nodes, for every (a,b) in edges there is no (c,a) or no (b,d) present. I.e., a src node should stay a source node and tgt node should stay a tgt node throughout the plan. Currently I handled it like thisAnother problem is that I could've assume an adata has both src_quad and tgt_quad. For this we'd also need to assume there is no second adata. These assumptions can make it a bit easier but it depends on our main goal with adding quad support. For now it makes sense to me that all adata will have the
augandflow. This quad problem actually exists in non-Neural version right? How do we solve that?How reasonable are these?