Skip to content

Training of MAGIK #202

Open
Open
@po60nani

Description

@po60nani

Hi,

Thank you for your valuable network. I am currently trying to train MAGIK on my dataset, which has a structure similar to the ones in your tutorials. I encountered two issues during this process:

  1. Extra Columns in EdgeExtractor Output:
    The EdgeExtractor function returns a DataFrame with extra columns containing NaN values. I noticed this discrepancy between my data and the provided tutorial data, and I'm not sure why these extra columns are present. As a workaround, I manually remove these extra columns before returning the data in the function.

Input_df:

input_df

Output_df:

output_df

  1. ValueError in SelfDuplicateEdgeAugmentation:
    When attempting to train with my dataset, I encountered the following error:
    File "mtrand.pyx", line 909, in numpy.random.mtrand.RandomState.choice
    ValueError: a must be greater than 0 unless no samples are taken.
    
    I traced this error back to the SelfDuplicateEdgeAugmentation function, specifically in the inner function where offset = maxnofedges - nofedges results in an offset of 0. I'm unsure how to handle this situation and would appreciate guidance on resolving this issue.

Any assistance or clarification on these matters would be greatly appreciated.

Best regards,

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions