Module Import alias Import alias Import alias Import alias Import alias identifier Import alias identifier Assign NameStore Call AttributeLoad NameLoad attr keyword BinOpAdd Str Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Print BinOpAdd Str AttributeLoad NameLoad attr Assign NameStore ListLoad With Call NameLoad AttributeLoad NameLoad attr NameStore body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Print BinOpAdd Str AttributeLoad NameLoad attr With Call NameLoad AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Print BinOpAdd Str NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call Call NameLoad NameLoad NameLoad Print BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad Delete NameDel Print Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Delete NameDel If AttributeLoad NameLoad attr body Print Str Assign NameStore BinOpSub NameLoad BinOpMult CompareLt NameLoad Num NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body Print BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Delete NameDel Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Print BinOpAdd Str NameLoad Assign NameStore Call NameLoad BinOpAdd BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp Call NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad Assert CompareEq Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Str Assign NameStore Num For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body If CompareIn SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num NameLoad body Print Str NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Call NameLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str NameLoad BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr orelse Print Str NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Call NameLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str NameLoad BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr AugAssignAdd NameStore Call NameLoad NameLoad Assert CompareEq NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Str Print Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Print Str
N/A N/A argparse N/A cPickle N/A glob N/A os N/A numpy np N/A pynet.datasets.preprocessor procs N/A parser N/A N/A argparse ArgumentParser description N/A pass numpy data file through an AutoEncoder,  and generate spec files from the AE outputs. N/A N/A N/A parser add_argument --model metavar PATH help path for the model N/A N/A N/A parser add_argument --preprocessor metavar NAME nargs + help name of the preprocessor N/A N/A N/A parser add_argument --dataset metavar PATH help path to the numpy data file N/A N/A N/A parser add_argument --output_dir metavar DIR help directory to which to save the generated spec files N/A N/A N/A parser add_argument --output_dtype metavar f4|f8 default f8 help output datatype of spec file, f4|f8, default=f8 N/A N/A N/A parser add_argument --rectified action store_true help rectified the negative reconstructed output to zero N/A N/A N/A parser add_argument --txt_file help path to the txt file that contains list files for saving N/A args N/A N/A parser parse_args N/A N/A args txt_file N/A N/A N/A opening txt_file..  N/A args txt_file N/A txt_file N/A N/A N/A open N/A args txt_file txt_fin N/A N/A row txt_fin N/A N/A N/A N/A txt_file append N/A N/A row strip N/A N/A opening model..  N/A args model N/A N/A open N/A args model m N/A N/A model N/A N/A cPickle load m N/A dataset_files N/A N/A glob glob N/A args dataset N/A N/A N/A dataset_files sort N/A N/A N/A N/A N/A os path exists N/A args output_dir N/A N/A N/A N/A os mkdir N/A args output_dir N/A f_path dataset_files N/A N/A N/A opening..  f_path N/A f N/A open f_path N/A dataset_raw N/A N/A np load f N/A N/A args preprocessor N/A N/A processor N/A args preprocessor N/A N/A proc N/A N/A getattr procs processor N/A N/A applying preprocessing:  processor N/A dataset_proc N/A N/A proc apply dataset_raw N/A N/A dataset_proc dataset_raw N/A dataset_raw N/A forward propagation.. N/A dataset_out N/A N/A model fprop dataset_proc N/A dataset_proc N/A N/A args rectified N/A N/A rectifying negatives outputs to zero N/A dataset_out N/A dataset_out N/A N/A dataset_out 0 dataset_out N/A N/A args preprocessor N/A N/A N/A N/A N/A args preprocessor reverse N/A processor N/A args preprocessor N/A N/A N/A invert dataset:  processor N/A dataset N/A N/A proc invert dataset_out N/A N/A dataset dataset_out N/A dataset N/A N/A dataset astype N/A args output_dtype N/A dataset_out N/A name N/A N/A N/A os path basename f_path N/A name N/A N/A name replace data specnames N/A N/A opening..  name N/A g N/A open N/A N/A N/A N/A N/A os path dirname f_path / name N/A names_arr N/A N/A np load g N/A num_exp N/A N/A int num N/A N/A f_name num names_arr N/A N/A N/A sum num_exp N/A N/A dataset shape N/A 0 number of examples in data array is different from the spec files N/A pointer 0 N/A N/A f_name num names_arr N/A N/A f_name N/A N/A f_name rstrip .f4 N/A f_name N/A N/A f_name rstrip .f8 N/A N/A args txt_file N/A N/A N/A N/A N/A N/A f_name split . N/A 0 txt_file N/A N/A saving.. f_name num N/A N/A N/A N/A dataset N/A pointer N/A pointer N/A int num tofile N/A N/A N/A N/A args output_dir / f_name N/A .%s N/A args output_dtype format N/A args output_dtype N/A N/A saving.. f_name num N/A N/A N/A N/A dataset N/A pointer N/A pointer N/A int num tofile N/A N/A N/A N/A args output_dir / f_name N/A .%s N/A args output_dtype format N/A args output_dtype N/A pointer N/A int num N/A N/A pointer N/A N/A dataset shape N/A 0 did not recur until the end of array N/A closing files.. N/A N/A N/A f close N/A N/A N/A g close N/A Done!