repo
stringlengths
8
116
tasks
stringlengths
8
117
titles
stringlengths
17
302
dependencies
stringlengths
5
372k
readme
stringlengths
5
4.26k
__index_level_0__
int64
0
4.36k
zhaobomin/pytorch-ocr
['scene text detection']
['Detecting Text in Natural Image with Connectionist Text Proposal Network']
train_ctpn.py train_crnn.py predict_ocr_only.py model_ctpn/helper/image.py model_crnn/darknet_model.py predict_demo.py model_ctpn/helper/text_proposal_graph_builder.py ocr_main.py model_crnn/helper/dataset_crnn.py model_ctpn/darknet_model.py model_ctpn/text_model.py model_crnn/crnn_model.py model_ctpn/helper/dataset_ctpn.py model_ctpn/helper/text_proposal_connector.py model_ctpn/helper/detectors.py crnn_dataset/create_dataset.py config.py predict_text_only.py model_crnn/helper/__init__.py model_ctpn/helper/__init__.py predict_crnn_only.py get_characters OCR val init_dataloader init_model net_forward weights_init init_optimizer train init_dataloader init_model weights_init init_optimizer train createDataset writeCache checkImageIsValid CreateTrainDataset crnn_net _get_characters YOLOLayer parse_data_config parse_model_config Darknet create_modules softmax Upsample EmptyLayer lmdbDataset averager resizeNormalize strLabelConverter YOLOLayer parse_data_config parse_model_config Darknet create_modules softmax Upsample EmptyLayer RPN_REGR_Loss ctpn_net RPN_CLS_Loss draw_frame solve rotate_cut_img VOCDataset readxml decode_test normalize TextDetector nms resize_img get_boxes bbox_transfrom get_origin_box compute_iou reshape2 solve reshape_tensor cal_rpn rotate_nms gen_anchor TextProposalConnector Graph TextProposalGraphBuilder lmdbDataset DataLoader normal_ __name__ fill_ load print alphabet apply Darknet pretrained load_state_dict strLabelConverter device to CTCLoss Adadelta print Adam RMSprop parameters adam adadelta criterion to Variable size squeeze log_softmax eval permute IntTensor encode train net data decode view print net_forward averager add zip float max batchSize init_model zero_grad nepoch pretrained save_weights save add init_optimizer range state_dict val averager net_forward alphabet ocrCfgPath init_dataloader backward print reset step VOCDataset RPN_REGR_Loss RPN_CLS_Loss StepLR SGD model critetion_regr to critetion_cls format is_available enumerate time empty_cache len imdecode fromstring IMREAD_GRAYSCALE join str print len writeCache range open createDataset rstrip strip open startswith append split dict strip split reshape exp pop int YOLOLayer Sequential ZeroPad2d MaxPool2d add_module Conv2d ModuleList EmptyLayer Upsample ReLU append BatchNorm2d LeakyReLU sum enumerate split int list parse text iter append float round detect max TextDetector sqrt arcsin int max min solve rectangle array min solve crop pi max min max size contiguous view shape transpose reshape resize min astype float32 copy split max merge list arange reshape hstack dstack stack meshgrid array range append len minimum maximum tile zeros enumerate log argmax sum bbox_transfrom compute_iou fill empty gen_anchor exp gen_anchor NMSBoxes reshape NMSBoxesRotated reshape int fabs sqrt append zeros array
zhaobomin/pytorch-ocr
4,300
zhaojb17/Universal_Adversarial_Perturbations-Pytorch
['adversarial attack']
['Foolbox: A Python toolbox to benchmark the robustness of machine learning models']
Generation.py resnet.py train.py Generation_via_optimization.py project_perturbation test test ResNet ResNet18 ResNet34 Bottleneck ResNet101 test ResNet50 BasicBlock ResNet152 test minimum norm min sign flatten abs randn print ResNet18 size net eval
zhaojb17/Universal_Adversarial_Perturbations-Pytorch
4,301
zhaoweicai/EdMIPS
['combinatorial optimization']
['Rethinking Differentiable Search for Mixed-Precision Neural Networks']
models/quant_googlenet.py search.py models/quant_resnet.py models/mixgoogle.py models/__init__.py models/mixresnet.py main.py models/quant_inception.py models/mixinception.py models/quant_module.py validate AverageMeter accuracy save_checkpoint ProgressMeter adjust_learning_rate main_worker main train validate AverageMeter accuracy save_checkpoint ProgressMeter adjust_learning_rate main_worker main train Inception InceptionAux BasicConv2d BasicQuantConv2d mixgoogle_w1234a234 GoogLeNet InceptionB mixinception_w1234a234 InceptionC InceptionAux BasicConv2d BasicQuantConv2d InceptionD InceptionE InceptionA Inception3 mixres50_w1234a234 mixres18_w1234a234 ResNet Bottleneck conv3x3 BasicBlock quantgoogle_cfg _load_arch quantgoogle_2w2a Inception InceptionAux BasicConv2d BasicQuantConv2d QuantGoogLeNet quantgoogle_pretrained_cfg _load_arch InceptionB quantinception_2w2a InceptionC InceptionAux BasicConv2d BasicQuantConv2d InceptionD InceptionE quantinception_cfg InceptionA Inception3 quantinception_pretrained_cfg QuantActivLinear _hwgq MixActivConv2d MixQuantActiv SharedMixQuantConv2d MixActivLinear MixQuantConv2d QuantConv2d _gauss_quantize QuantActivConv2d SharedMixQuantLinear HWGQ QuantLinear _gauss_quantize_resclaed_step quantres18_2w2a _load_arch quantres50_cfg quantres50_2w2a quantres50_pretrained_cfg ResNet quantres18_cfg Bottleneck quantres18_pretrained_cfg BasicBlock seed int world_size spawn print multiprocessing_distributed warn device_count manual_seed main_worker parse_args gpu workers data validate batch_size multiprocessing_distributed SGD DataParallel DistributedDataParallel ImageFolder DataLoader adjust_learning_rate arch save_checkpoint features cuda max hasattr arch_cfg set_device DistributedSampler rank load_state_dict to range fetch_arch_info format init_process_group Compose start_epoch distributed lr resume Normalize load int join evaluate print set_epoch parameters isfile step_epoch train epochs gpu update time criterion model backward display size AverageMeter zero_grad accuracy ProgressMeter item step cuda gpu enumerate len len eval AverageMeter ProgressMeter copyfile format save step_epoch param_groups lr fetch_best_arch lra list items named_parameters complexity_decay complexity_loss hasattr lra load argmax list items argmin append numpy keys _load_arch _load_arch _load_arch _load_arch
zhaoweicai/EdMIPS
4,302
zhaoyi2/xvector-cnceleb
['speaker recognition']
['CN-CELEB: a challenging Chinese speaker recognition dataset']
steps/nnet3/chain/e2e/train_e2e.py utils/lang/internal/modify_unk_pron.py utils/lang/bpe/learn_bpe.py steps/chain/e2e/text_to_phones.py steps/nnet3/lstm/make_configs.py steps/dict/prons_to_lexicon.py steps/segmentation/internal/get_transform_probs_mat.py steps/nnet3/train_dnn.py utils/lang/compute_sentence_probs_arpa.py steps/segmentation/internal/merge_targets.py steps/segmentation/internal/get_default_targets_for_out_of_segments.py steps/libs/nnet3/xconfig/trivial_layers.py steps/cleanup/internal/align_ctm_ref.py utils/data/internal/perturb_volume.py steps/nnet3/chain/train.py steps/nnet3/chain/gen_topo.py utils/lang/grammar/augment_phones_txt.py steps/tfrnnlm/check_py.py steps/segmentation/internal/find_oov_phone.py utils/lang/bpe/reverse.py steps/cleanup/internal/get_pron_stats.py utils/lang/limit_arpa_unk_history.py utils/lang/bpe/bidi.py steps/chain/train.py steps/nnet3/chain/gen_topo3.py steps/tfrnnlm/vanilla_rnnlm.py steps/libs/nnet3/train/frame_level_objf/acoustic_model.py steps/libs/nnet3/xconfig/stats_layer.py steps/libs/nnet3/train/frame_level_objf/common.py steps/chain/gen_topo.py steps/cleanup/internal/compute_tf_idf.py steps/nnet3/dot/descriptor_parser.py steps/segmentation/internal/merge_segment_targets_to_recording.py local/make_musan.py utils/lang/internal/arpa2fst_constrained.py steps/dict/internal/prune_pron_candidates.py steps/conf/prepare_calibration_data.py steps/nnet3/chain/e2e/text_to_phones.py steps/libs/nnet3/train/dropout_schedule.py steps/dict/apply_lexicon_edits.py steps/nnet3/chain/gen_topo4.py utils/lang/grammar/augment_words_txt.py steps/nnet3/report/convert_model.py steps/libs/nnet3/train/chain_objf/acoustic_model.py steps/libs/nnet3/xconfig/gru.py utils/nnet/make_cnn2d_proto.py steps/cleanup/internal/resolve_ctm_edits_overlaps.py steps/libs/nnet3/xconfig/__init__.py steps/libs/nnet3/xconfig/basic_layers.py steps/libs/nnet3/xconfig/attention.py utils/data/seg/choose_utts_to_combine.py steps/libs/__init__.py steps/nnet2/make_multisplice_configs.py utils/data/internal/choose_utts_to_combine_new.py steps/cleanup/combine_short_segments.py steps/libs/nnet3/train/frame_level_objf/raw_model.py utils/nnet/gen_splice.py steps/libs/nnet3/__init__.py steps/libs/nnet3/train/frame_level_objf/__init__.py steps/nnet3/train_raw_dnn.py steps/tfrnnlm/reader.py steps/segmentation/internal/prepare_sad_graph.py steps/cleanup/internal/modify_ctm_edits.py utils/data/perturb_speed_to_allowed_lengths.py utils/nnet/gen_dct_mat.py steps/nnet3/make_tdnn_configs.py steps/diagnostic/analyze_phone_length_stats.py steps/segmentation/convert_utt2spk_and_segments_to_rttm.py steps/chain/gen_topo3.py sid/compute_min_dcf.py utils/lang/bpe/prepend_words.py steps/segmentation/internal/resample_targets.py utils/data/internal/modify_speaker_info.py steps/chain/e2e/train_e2e.py steps/segmentation/internal/verify_phones_list.py steps/cleanup/make_biased_lms.py steps/libs/nnet3/xconfig/composite_layers.py steps/chain/gen_topo4.py utils/nnet/make_lstm_proto.py steps/cleanup/internal/segment_ctm_edits_mild.py steps/libs/nnet3/train/common.py steps/libs/nnet3/report/log_parse.py steps/nnet3/train_raw_rnn.py steps/chain/gen_topo5.py steps/data/reverberate_data_dir.py utils/lang/make_lexicon_fst.py utils/lang/bpe/apply_bpe.py steps/cleanup/internal/get_ctm_edits.py steps/dict/select_prons_bayesian.py steps/cleanup/internal/retrieve_similar_docs.py steps/libs/nnet3/xconfig/convolution.py utils/lang/make_lexicon_fst_silprob.py steps/nnet3/components.py steps/data/augment_data_dir.py utils/filt.py steps/cleanup/internal/make_one_biased_lm.py steps/nnet3/train_rnn.py utils/nnet/make_cnn_proto.py steps/nnet3/chain/gen_topo5.py local/prepare_for_eer.py steps/libs/common.py steps/libs/nnet3/train/chain_objf/__init__.py steps/cleanup/internal/taint_ctm_edits.py steps/nnet3/dot/nnet3_to_dot.py steps/chain/gen_topo_orig.py steps/segmentation/internal/sad_to_segments.py steps/nnet3/chain/gen_topo2.py utils/ctm/resolve_ctm_overlaps.py steps/libs/nnet3/report/__init__.py steps/nnet3/convert_nnet2_to_nnet3.py sid/nnet3/xvector/allocate_egs.py utils/nnet/gen_hamm_mat.py steps/conf/prepare_word_categories.py utils/data/internal/combine_segments_to_recording.py steps/chain/gen_topo2.py steps/nnet3/chain/gen_topo_orig.py steps/libs/nnet3/train/__init__.py utils/data/extend_segment_times.py steps/conf/convert_ctm_to_tra.py steps/dict/prune_pron_candidates.py steps/nnet3/get_successful_models.py steps/nnet3/report/generate_plots.py steps/cleanup/internal/stitch_documents.py utils/nnet/make_nnet_proto.py steps/libs/nnet3/xconfig/lstm.py steps/segmentation/internal/arc_info_to_targets.py steps/libs/nnet3/xconfig/utils.py steps/tfrnnlm/lstm.py utils/lang/make_phone_lm.py steps/cleanup/internal/segment_ctm_edits.py steps/cleanup/internal/get_non_scored_words.py steps/conf/parse_arpa_unigrams.py steps/nnet3/multilingual/allocate_multilingual_examples.py utils/nnet/make_blstm_proto.py steps/dict/get_pron_stats.py steps/nnet3/report/summarize_compute_debug_timing.py steps/nnet3/xconfig_to_configs.py utils/data/internal/choose_utts_to_combine.py steps/tfrnnlm/lstm_fast.py steps/conf/append_eval_to_ctm.py steps/diagnostic/analyze_lattice_depth_stats.py utils/reverse_arpa.py steps/libs/nnet3/xconfig/layers.py utils/data/get_uniform_subsegments.py steps/cleanup/internal/tf_idf.py utils/lang/make_kn_lm.py steps/data/data_dir_manipulation_lib.py steps/nnet3/tdnn/make_configs.py steps/libs/nnet3/xconfig/parser.py steps/conf/append_prf_to_ctm.py prepare_noise prepare_speech prepare_music process_music_annotations main CheckArgs GetArgs ComputeErrorRates ComputeMinDcf main deterministic_chunk_length get_args get_labels get_random_utt process_args get_utt2len get_random_offset main random_chunk_length main train process_args get_args main train process_args get_args ParseFileToDict GetArgs MakeDir CheckFiles ParseDataDirInfo CombineSegments GetCombinedUttIndexRange Main WriteCombinedDirFiles WriteDictToFile RunKaldiCommand ProcessGroupOfLines get_args ctm_line_to_string get_ctm_edits read_text read_ctm print_alignment smith_waterman_alignment main get_edit_type test_alignment run main _run _get_args FloatToString OpenFiles ProcessOneUtterance ProcessData PadArrays GetEditType OutputCtm read_lang CheckArgs GetArgs GetStatsFromCtmProns WriteStats Main ReadEntries NgramCounts ProcessUtterance ProcessUtteranceForRepetitions ReadNonScoredWords PrintRepetitionStats ProcessData PrintNonScoredStats ProcessLineForNonScoredWords get_args resolve_overlaps read_segments choose_best_ctm_lines wer main write_ctm_edits run ctm_edit_line_to_string read_ctm_edits get_document_ids get_args read_map main run AccumulateSegmentStats FloatToString GetSegmentsForUtterance ComputeSegmentCores WriteSegmentsForUtterance PrintDebugInfoForUtterance PrintWordStats PrintSegmentStats ReadNonScoredWords IsTainted ProcessData Segment AccWordStatsForUtterance TimeToString SegmentsMerger write_segments_for_utterance is_tainted get_args float_to_string compute_segment_cores merge_segments Segment get_segments_for_utterance time_to_string read_non_scored_words WordStats UtteranceStats process_data print_debug_info_for_utterance main SegmentStats non_scored_words main get_args run ProcessUtterance ProcessData PrintStats PrintNonScoredStats IDFStats TFStats TFIDF read_key read_tfidf_ark write_tfidf_from_stats CheckArgs GetArgs CopyFileIfExists GetNoiseList main AugmentWav RunKaldiCommand GetArgs SmoothProbabilityDistribution PickItemWithProbability GenerateReverberatedWavScp CheckArgs AddPrefixToFields ParseNoiseList MakeRoomDict CreateCorruptedUtt2uniq CreateReverberatedCopy ParseSetParameterStrings GenerateReverberationOpts almost_equal Main GetNewId WriteDictToFile ParseFileToDict list_cyclic_iterator AddPointSourceNoise ParseRirList GetPercentile GetMean GetPercentile GetMean CheckArgs GetArgs WriteLexicon ApplyLexiconEdits ReadLexicon Main CheckArgs GetArgs WriteStats Main GetStatsFromArcInfo CheckArgs GetArgs WriteLexicon ConvertWordCountsToProbs NormalizeLexicon ConvertWordProbsToLexicon ReadLexicon Main StrToBoolAction ReadStats CheckArgs GetArgs ReadLexicon Main PruneProns ReadStats CheckArgs GetArgs WriteEditsAndSummary ReadPronStats ComputePosteriors ReadLexicon ReadWordCounts ComputePriorCounts Main FilterPhoneticDecodingLexicon SelectPronsBayesian WriteLearnedLexiconOov CheckArgs GetArgs ReadLexicon Main PruneProns ReadStats background_command_waiter compute_idct_matrix write_matrix_ascii send_mail read_matrix_ascii force_symlink get_command_stdout NullstrToNoneAction read_kaldi_matrix compute_lifter_coeffs get_feat_dim str_to_bool StrToBoolAction execute_command get_number_of_leaves_from_model check_if_cuda_compiled get_feat_dim_from_scp read_key write_idct_matrix get_number_of_leaves_from_tree write_kaldi_matrix wait_for_background_commands get_ivector_dim smart_open background_command get_number_of_jobs get_ivector_extractor_id read_mat_ark generate_acc_logprob_report parse_difference_string parse_rnnlm_prob_logs MalformedClippedProportionLineException parse_prob_logs KaldiLogParseException parse_progress_logs_for_clipped_proportion parse_progress_logs_for_nonlinearity_stats get_train_times fill_nonlin_stats_table_with_regex_result parse_progress_logs_for_param_diff self_test copy_egs_properties_to_exp_dir remove_model remove_nnet_egs parse_generic_config_vars_file validate_range_str get_input_model_info should_do_shrinkage CommonParser validate_minibatch_size_str get_multitask_egs_opts halve_minibatch_size_str get_average_nnet_model get_model_combine_iters prepare_initial_network principal_chunk_width get_successful_models verify_egs_dir validate_chunk_width clean_nnet_dir compute_presoftmax_prior_scale halve_range_str get_best_nnet_model get_learning_rate RunOpts get_outputs_list smooth_presoftmax_prior_scale_vector _parse_dropout_option _parse_dropout_string _get_dropout_proportions get_dropout_edit_string _get_component_dropout _self_test compute_preconditioning_matrix create_phone_lm train_new_models prepare_initial_acoustic_model compute_train_cv_probabilities combine_models train_one_iteration create_denominator_fst check_for_required_files compute_progress generate_chain_egs generate_egs prepare_initial_acoustic_model compute_preconditioning_matrix align train_new_models get_realign_iters compute_train_cv_probabilities adjust_am_priors train_one_iteration compute_progress realign compute_average_posterior combine_models generate_egs_using_targets XconfigAttentionLayer XconfigExistingLayer XconfigIdctLayer test_layers XconfigLayerBase XconfigTrivialOutputLayer XconfigInputLayer XconfigBasicLayer XconfigAffineLayer XconfigOutputLayer XconfigFixedAffineLayer XconfigTdnnfLayer XconfigPrefinalLayer ChannelAverageLayer XconfigRes2Block XconfigResBlock XconfigConvLayer XconfigFastNormPgruLayer XconfigFastPgruLayer XconfigPgruLayer XconfigGruLayer XconfigOpgruLayer XconfigFastOpgruLayer XconfigNormPgruLayer XconfigFastNormOpgruLayer XconfigFastGruLayer XconfigNormOpgruLayer XconfigFastLstmLayer XconfigLstmLayer XconfigFastLstmpLayer XconfigLstmbLayer XconfigLstmpLayer get_model_component_info read_xconfig_file xconfig_line_to_object XconfigStatsLayer XconfigCombineFeatureMapsLayer XconfigBatchnormComponent XconfigPerElementScaleComponent XconfigAffineComponent XconfigPerElementOffsetComponent XconfigRenormComponent XconfigLinearComponent XconfigNoOpComponent tokenize_descriptor get_prev_names is_valid_line_name get_string_from_layer_name test_library convert_value_to_type split_layer_name Descriptor get_dim_from_layer_name replace_bracket_expressions_in_descriptor parse_new_descriptor parse_config_line expect_token create_config_files parse_splice_string get_convolution_index_set AddAffRelNormLayer AddLdaLayer AddSoftmaxLayer AddAffineLayer AddSigmoidLayer AddOutputLayer AddAffPnormLayer AddLstmLayer AddMaxpoolingLayer AddFixedAffineLayer AddFinalLayer AddPermuteLayer AddBlockAffineLayer AddBLstmLayer AddConvolutionLayer GetSumDescriptor AddInputLayer AddNoOpLayer GetArgs Nnet3Model token_to_string parse_sum_group_component make_splice_string parse_affine_component parse_component parse_end_of_component parse_fixed_scale_component parse_splice_component parse_bias parse_transition_model Main parse_standard_component parse_priors parse_weights parse_fixed_bias_component consume_token parse_vector parse_nnet2_to_nnet3 parse_nnet2_header main train process_args get_args main train process_args get_args main train process_args get_args main train process_args get_args get_config_headers get_args write_expanded_xconfig_files write_config_files add_nnet_context_info check_model_contexts main backup_xconfig_file check_args main train process_args get_args main train process_args get_args IdentifyNestedSegments ParseSubsegmentsAndArguments ProcessReplaceIndexDescriptor ProcessSumDescriptor ProcessIfDefinedDescriptor ProcessRoundDescriptor ParseNnet3String ProcessAppendDescriptor DescriptorSegmentToDot Nnet3OutputToDot Nnet3DimrangeToDot GetDotNodeName Nnet3DescriptorToDot ProcessOffsetDescriptor Nnet3ComponentToDot Nnet3ComponentNodeToDot ParseConfigLines GroupConfigs Nnet3InputToDot CheckArgs GetArgs ProcessSpliceIndexes Main ParseLstmDelayString PrintConfig ParseSpliceString MakeConfigs main read_lines get_args process_multilingual_egs read_vector read_matrix read_generic is_component_type get_action_dict read_next_token test read_component read_model compute_derived_quantities get_stdout_from_command read_int compute_progress check_for_newline read_float generate_acc_logprob_plots generate_nonlin_stats_plots generate_plots get_args plot_a_nonlin_component generate_parameter_diff_plots insert_a_column_legend generate_clipped_proportion_plots LatexReport latex_compliant_name main Main GetArgs FindOpenParanthesisPosition ExtractCommandName CheckArgs GetArgs ParseCnnString Main PrintConfig AddConvMaxpLayer ParseSpliceString AddCnnLayers MakeConfigs main get_args main get_args run main main get_args run main get_args run get_args read_segments_file read_reco2num_frames_file read_reco2utt_file read_targets_scp main run main get_args should_remove_frame run main print_states get_args main get_args run get_args SegmenterStats process_label to_str Segmentation main run main get_args Config get_config data_type RnnlmInput main run_epoch RnnlmModel Config get_config data_type RnnlmInput main run_epoch new_softmax RnnlmModel _file_to_word_ids rnnlm_raw_data rnnlm_producer _read_words _build_vocab Config get_config data_type RnnlmInput main run_epoch RnnlmModel get_args resolve_overlaps ctm_line_to_string read_segments read_ctm main write_ctm run FloatToString main get_args run perturb_utterances find_allowed_durations get_args find_duration_range main read_kaldi_datadir generate_kaldi_data_files Utterance read_kaldi_mapfile CombineList SelfTest LessThan GetUtteranceGroups CombineList SelfTest LessThan GetUtteranceGroups main get_args GetFormatString SplitIntoGroups main get_args read_reco2vol run CombineList SelfTest LessThan GetUtteranceGroups output_result load_model compute_begin_prob compute_sentence_prob is_logprob check_number compute_sublist_prob check_args find_and_replace_unks get_ngram_stats main read_old_lm write_new_lm NgramCounts CountsForHistory write_words_txt get_args is_token read_left_context_phones write_fst_no_silence read_lexiconp read_nonterminals write_fst_with_silence main write_nonterminal_arcs read_silprobs get_args write_fst read_left_context_phones read_lexiconp read_nonterminals main write_nonterminal_arcs NgramCounts CountsForHistory create_parser get_pairs isolate_glossary recursive_split read_vocabulary check_vocab_and_split encode BPE determine_text_direction utf8_visual_to_logical utf8_logical_to_visual create_parser replace_pair get_pair_statistics prune_stats get_vocabulary main update_pair_statistics get_args read_phones_txt write_phones_txt read_nonterminals main write_words_txt get_args read_words_txt read_nonterminals main ReadBigramMap HistoryState ArpaModel fix_filt_step Glorot readlines update join replace endswith print process_music_annotations walk join replace endswith print walk join replace endswith print walk join prepare_noise prepare_speech prepare_music write open CheckArgs join argv add_argument write ArgumentParser parse_args list zip append sum range len float min range len GetArgs c_fa c_miss format p_target readlines ComputeErrorRates ComputeMinDcf append float split join argv print add_argument process_args ArgumentParser parse_args str int exit close open split str int list exit close open keys append split randint len randint randint exit utt2len_filename utt2int_filename max seed deterministic_chunk_length list num_jobs str sorted num_pdfs exit get_labels map prefix random_chunk_length range get_args max_frames_per_chunk min_frames_per_chunk num_archives frames_per_iter shuffle close get_utt2len egs_dir get_random_offset keys num_repeats pop int print get_random_utt makedirs use_gpu format deriv_truncate_margin RunOpts command warning compute_preconditioning_matrix final_effective_lrate copy_egs_properties_to_exp_dir remove_model parse_generic_config_vars_file prepare_initial_acoustic_model train_one_iteration check_for_required_files get_input_model_info send_mail num_jobs_final feat_dir cleanup create_phone_lm num_jobs_initial force_symlink initial_effective_lrate dir input_model compute_train_cv_probabilities email get_feat_dim combine_models range execute_command frame_subsampling_factor get_model_combine_iters format reporting_interval deriv_truncate_margin generate_acc_logprob_report verify_egs_dir copy clean_nnet_dir do_final_combination pformat egs_dir info max_models_combine chunk_left_context vars chunk_right_context generate_chain_egs num_epochs float int preserve_model_interval get_learning_rate get_ivector_dim tree_dir online_ivector_dir create_denominator_fst remove_egs get_number_of_jobs get_ivector_extractor_id proportional_shrink train wait_for_background_commands print communicate Popen mkdir format open value_processor split join list format sort write close keys open ParseFileToDict data_dir_file exists min max len pop join list remove format out_dir_file sort append WriteDictToFile keys pop deepcopy list format ParseDataDirInfo insert sort GetCombinedUttIndexRange tuple warn WriteCombinedDirFiles append keys range GetArgs output_data_dir MakeDir CheckFiles format minimum_duration CombineSegments print input_data_dir copy exists RunKaldiCommand join format print Popen exit close split lm_opts flush len DEBUG addHandler verbose bool setLevel INFO name close warn split append float close split join format print debug reverse append range similarity_score_function len append join print list extend append get_edit_type len smith_waterman_alignment print_alignment info reco2file_and_channel print_alignment ref_in_file smith_waterman_alignment test_alignment list debug_only debug align_full_hyp close info symbol_table int ctm_line_to_string print get_ctm_edits extend read_text split run parse_args bool add_argument ArgumentParser IDFStats read docs input_idf_stats print write close write_tfidf_from_stats tf_idf_file accumulate TFStats accumulate_over_docs compute_term_stats ngram_order output_idf_stats split _run _get_args symbol_table format print readlines close exit set add oov split ctm_edits_out ctm_in edits_in open append len format FloatToString format print exit GetEditType range len list exit PadArrays zip append OutputCtm split readline format print len exit ProcessOneUtterance edits_in append split int print error readlines add set split stdin stdout silence_file stats_file non_scored_words_file ctm_prons_file optional_silence_file open add strip set get join isinstance insert endswith readlines len reversed add set append float union split print items format close pop non_scored_words_file_handle GetStatsFromCtmProns WriteStats silence_file_handle ReadEntries optional_silence_file_handle stats_file_handle ctm_prons_file_handle format readlines exit close add open split append range len append ProcessUtteranceForRepetitions ProcessLineForNonScoredWords ProcessUtterance join close ctm_edits_out ctm_edits_in open sorted format list print float sum keys values sorted format list print float sum keys values defaultdict name close info append split name close info append split min error extend choose_best_ctm_lines next enumerate print ctm_edit_line_to_string items sorted resolve_overlaps read_segments len warn segments ctm_edits_out write_ctm_edits append ctm_edits_in read_ctm_edits error format error close split len append sorted compute_similarity_scores max open get_document_ids num_neighbors_to_search add query_tfidf read_map range query_id2source_text_id format set TFIDF read_tfidf_ark enumerate read join source_text_id2tfidf source_text_id2doc_ids min DEBUG setLevel list reversed append range len sorted print keys range len AccumulateSegmentStats MergeWithSegment ContainsAtLeastOneScoredNonOovWord PossiblyAddTaintedLines ComputeSegmentCores PossiblyTruncateBoundaries RelaxBoundaryTruncation PossiblyAddUnkPadding PossiblyTruncateEndForJunkProportion PossiblyTruncateStartForJunkProportion append float range JunkProportion len round str format print StartTime Text frame_length range EndTime TimeToString len str sorted list join print DebugInfo frame_length append float range TimeToString len end_index start_index range len items sorted list format print close open GetSegmentsForUtterance segments_out PrintDebugInfoForUtterance WriteSegmentsForUtterance text_out AccWordStatsForUtterance list reversed append range len SegmentsMerger debug max_wer merge_with_segment max_deleted_words merge_clusters append enumerate compute_segment_cores unk_padding possibly_add_unk_padding possibly_truncate_boundaries stderr possibly_add_tainted_lines print_debug_info_for_utterance append min_new_segment_length range relax_boundary_truncation debug merge_segments debug_info contains_atleast_one_scored_non_oov_word float accumulate_segment_stats enumerate deepcopy print max_edge_non_scored_length min_segment_length max_edge_silence_length len format round start_time str format print text time_to_string end_time enumerate len join sorted format list print debug_info time_to_string append float enumerate write_segments_for_utterance readline segments_out get_segments_for_utterance accumulate_for_utterance exit ctm_edits_out print_debug_info_for_utterance append text_out split add readlines close split readline word_stats_out print_segment_stats name read_non_scored_words WordStats set UtteranceStats non_scored_words_in process_data info query2docs input_documents check_sorted_docs_per_query float range len remove_deletions join format print sum values raw_counts format print get_inverse_document_frequency get_term_frequency read strip read TFIDF read_key output_dir makedirs join rstrip readlines append split str join list strip map choice append range ParseFileToDict list isfile WriteDictToFile keys CopyFileIfExists fg_noise_dir input_dir output_dir AugmentWav RunKaldiCommand bg_noise_dir GetNoiseList update fg_interval utt_suffix random_seed WriteDictToFile ParseFileToDict warn list isinstance set uniform sum values sorted str ParseFileToDict sorted WriteDictToFile GetNewId keys range format rir_list PickItemWithProbability random rir_rspecifier noise_rspecifier next append randint round range format rir_list AddPointSourceNoise PickItemWithProbability noise_rspecifier append next str sorted list_cyclic_iterator format WriteDictToFile floor GetNewId keys range GenerateReverberationOpts join print close open GetNewId range split ParseFileToDict format AddPrefixToFields print CreateCorruptedUtt2uniq isfile GenerateReverberatedWavScp RunKaldiCommand sum float probability warn strip append float setattr split format add_argument rir_rspecifier ParseSetParameterStrings ArgumentParser list setattr append sum keys list format SmoothProbabilityDistribution add_argument noise_rspecifier ParseSetParameterStrings ArgumentParser append keys seed sum ParseNoiseList source_sampling_rate MakeRoomDict CreateReverberatedCopy rir_set_para_array ParseRirList random_seed noise_set_para_array rir_smoothing_weight noise_smoothing_weight len items sorted int sum values sum values lexicon_edits_file out_lexicon in_lexicon join readlines add set split discard print strip readlines add startswith split print format close WriteLexicon ApplyLexiconEdits out_lexicon_handle lexicon_edits_file_handle ReadLexicon in_lexicon_handle arc_info_file phone_map get join items defaultdict readlines add float split phone_map_handle GetStatsFromArcInfo arc_info_file_handle filter_lexicon get join stats_file_handle float split append items float get items get items items min_prob add set len ConvertWordCountsToProbs NormalizeLexicon close ConvertWordProbsToLexicon filter_lexicon_handle ReadStats pron_stats ref_lexicon pruned_prons items defaultdict sort readlines append defaultdict pop items format r print ceil float len pron_stats_handle ref_lexicon_handle PruneProns pron_posteriors learned_lexicon_oov ref_lexicon_edits word_counts_file phonetic_decoding_lexicon pron_stats_file g2p_lexicon split range join float readlines split int readlines split items remove format print strip add set silence_file_handle split sum defaultdict get items sorted defaultdict format print extend append sum len pop items variants_prob_mass defaultdict format print variants_counts add ceil len get sorted format print add append len print items format close WriteEditsAndSummary g2p_lexicon_handle ReadPronStats word_counts_file_handle ComputePosteriors ReadWordCounts phonetic_decoding_lexicon_handle ComputePriorCounts pron_stats_file_handle FilterPhoneticDecodingLexicon SelectPronsBayesian WriteLearnedLexiconOov learned_lexicon_oov_handle format Popen communicate Popen communicate Popen format warning Popen returncode join enumerate start Thread Popen interrupt_main format communicate error returncode warning int format get_command_stdout split int format get_command_stdout split int strip int format get_command_stdout format get_command_stdout int format get_command_stdout int format get_command_stdout range len join format print open enumerate len read readline error close open append split read_matrix_ascii read_key open symlink float range pi sin cos pi sqrt compute_lifter_coeffs float range append write_kaldi_matrix compute_idct_matrix range int float extend split list format search get_command_stdout groups fill_nonlin_stats_table_with_regex_result range compile split float split int list format sort search get_command_stdout groups set add append float max range compile split max list format sort len search get_command_stdout groups set parse_difference_string keys warning union range compile split max list format values search get_command_stdout groups float keys compile split list format sort search get_command_stdout groups intersection keys compile split list format sort search get_command_stdout groups intersection keys compile split str list format parse_rnnlm_prob_logs parse_prob_logs timedelta get_train_times append keys format get_command_stdout format isfile str format readlines search index warn sub append float max range compile len execute_command format execute_command format int split split split append join split append halve_range_str format split format copy isfile strip int split open int format strip get_command_stdout split int readline format rstrip strip warning execute_command remove format write_kaldi_matrix force_symlink glob smooth_presoftmax_prior_scale_vector list pow append sum range len execute_command format exists copy int min set add float range exp log float format get_command_stdout split execute_command format remove_nnet_egs range remove_model remove format isfile ArgumentParser format info _parse_dropout_string append split error len reverse append float range split next append _parse_dropout_option join format _get_dropout_proportions info append _get_dropout_proportions assert_approx_equal execute_command int readline join format open execute_command format execute_command format int join format get_multitask_egs_opts background_command append range int remove format get_best_nnet_model get_successful_models strip train_new_models range compute_train_cv_probabilities sqrt warning compute_progress halve_minibatch_size_str float get_average_nnet_model exists append execute_command list format remove force_symlink get_multitask_egs_opts execute_command format prepare_initial_network get_multitask_egs_opts format background_command format background_command execute_command sorted format list get_multitask_egs_opts print reversed add compute_train_cv_probabilities info append exists execute_command format append int pow sqrt append float split execute_command format info execute_command format align adjust_am_priors info compute_average_posterior execute_command format execute_command remove format glob sleep execute_command format get_feat_dim_from_scp parse_config_line int XconfigExistingLayer format get_command_stdout close dict open append split readline close xconfig_line_to_object append open append add get_name set join split split_layer_name split_layer_name int len Descriptor append float expect_token append int split append replace_bracket_expressions_in_descriptor split join list replace len search group strip dict range split print str format parse_config_line list sort set append range len int join print min get_convolution_index_set max split splice_indexes join pnorm_input_dim format len write close warn num_hidden_layers sqrt parse_splice_string pnorm_output_dim split append range open pop format append str join format print append append format append format append format append join format append format append format append format append format append format append format append format append format str format AddSoftmaxLayer AddAffineLayer AddSigmoidLayer AddOutputLayer append append abs strip format format AddLstmLayer tmpdir nnet3_dir makedirs format error parse_component parse_transition_model Nnet3Model startswith num_components next components_read add_component parse_priors parse_nnet2_header join next int next consume_token parse_fixed_bias_component parse_affine_component parse_end_of_component parse_standard_component parse_fixed_scale_component parse_splice_component parse_sum_group_component findall consume_token mkstemp array consume_token replace consume_token mkstemp array consume_token partition consume_token split next concatenate dict mkstemp findall parse_bias next parse_weights endswith next parse_vector append consume_token strip join parse_vector lower error format join execute_command join write_config model nnet3_dir mkdtemp rmtree write_model info nnet2_dir num_jobs_compute_prior adjust_am_priors ali_dir generate_egs frames_per_eg compute_presoftmax_prior_scale compute_average_posterior exists generate_egs_using_targets prepare_initial_network srand get_outputs_list use_dense_targets check_args config_dir makedirs join readline format argv print strip close open join str argv print close normalize_descriptors open join defaultdict argv items remove get_config_headers defaultdict get_full_config format list print close append sum open execute_command int format strip get_command_stdout write close open split execute_command int format strip get_command_stdout exists split write_expanded_xconfig_files nnet_edits get_model_component_info read_xconfig_file xconfig_file existing_model check_model_contexts add_nnet_context_info config_dir backup_xconfig_file write_config_files append strip split pop insert ParseSubsegmentsAndArguments append range len sub join format append range len append format append format join format append range len append format append format append IdentifyNestedSegments format pop strip sub split append range len list keys intersection append format append GetDotNodeName format append GetDotNodeName format append list format ParseNnet3String insert append GroupConfigs keys add_mutually_exclusive_group num_lstm_layers get_number_of_leaves_from_tree feat_dir print get_ivector_dim tree_dir num_targets exit strip ali_dir config_dir ParseLstmDelayString get_feat_dim ivector_dir join close write open print split append max range len append len range split deepcopy AddAffRelNormLayer AddLdaLayer format list insert AddLstmLayer AddFinalLayer AddBLstmLayer PrintConfig AddOutputLayer AddInputLayer keys range str print strip close ParseSpliceString open splice_indexes num_lstm_layers label_delay config_dir MakeConfigs ProcessSpliceIndexes append readline strip block_size round max open len sum range format get_args num_archives close egs_dir info enumerate egs_scp_lists join int print makedirs split read_lines egs_prefix process_multilingual_egs read_next_token float read_next_token int format print read_next_token append float check_for_newline format print read_next_token append float array format isinstance print read_next_token set dict func Popen format read_generic get_action_dict print read_next_token int format print read_next_token read_component dict get_stdout_from_command range reshape size sqrt sum values sqrt size sum reshape read_vector read_matrix read_generic format print read_model compute_derived_quantities sub format plot suptitle generate_acc_logprob_report xlabel add_figure grid ylabel warning figure legend savefig append latex_compliant_name array insert range subplot format plot set_xlabel grid subplots_adjust insert_a_column_legend clf set_ylabel legend array list format plot_a_nonlin_component suptitle add_figure sort commonprefix rfind set parse_progress_logs_for_nonlinearity_stats warning figure savefig intersection append latex_compliant_name keys range add_figure grid parse_progress_logs_for_clipped_proportion clf warning latex_compliant_name open subplot list savefig legend intersection append format plot close set keys suptitle sort write set_ylabel figure array set_ylim add_figure grid clf warning latex_compliant_name subplot list sorted set_xlabel savefig legend intersection append parse_progress_logs_for_param_diff format plot set info keys join items suptitle sort set_ylabel figure array generate_acc_logprob_plots generate_nonlin_stats_plots format generate_parameter_diff_plots close generate_clipped_proportion_plots LatexReport info makedirs generate_plots tuple is_chain is_rnnlm split append strip pop len strip join FindOpenParanthesisPosition stdin items sorted list values ExtractCommandName float compile split relu_dim pnorm_input_dim relu_dim_final relu_dim_init pnorm_output_dim pool_z_step num_filters pool_x_step filt_y_dim filt_y_step pool_y_size pool_y_step pool_z_size AddMaxpoolingLayer AddConvolutionLayer pool_x_size filt_x_dim filt_x_step join format ParseCnnString AddAffineLayer strip AddFixedAffineLayer AddConvMaxpLayer range write_idct_matrix len add_argument len ArgumentParser append parse_args range split int strip ParseSpliceString open str append close AddCnnLayers print AddAffPnormLayer index len write_matrix_ascii targets_file default_targets matrix read_matrix_ascii stdout priors sum targets_scp read_segments_file reco2num_frames read_reco2num_frames_file read_reco2utt_file read_targets_scp zeros reco2utt weights sum append bool argmax range len int min_speech_duration max_speech_duration frame_shift min_silence_duration format print min_states_speech max_states_speech range min_states_silence read_mat_ark targets_out_ark targets_in_ark subsampling_factor format info int SegmenterStats strip add phones time initial_state print epoch_size h c range enumerate run vocab_path get_config data_path rnnlm_raw_data hidden_size len exp reshape concat reduce_sum gather_nd expand_dims range list dict zip _read_words range len _read_words join _file_to_word_ids _build_vocab len name info print ctm_line_to_string read_ctm ctm_in ctm_out write_ctm constant_duration max_segment_duration max_remaining_duration segments_file join format isfile len exit info append Utterance read_kaldi_mapfile len format info sort reversed dur append sum deepcopy format speaker speed_perturb id dur wavefile append len find_allowed_durations perturb_utterances coverage_factor dir generate_kaldi_data_files srcdir find_duration_range factor read_kaldi_datadir log pop list LessThan append range len list append randint sum range CombineList len format values print append sum range CombineList len defaultdict segments_in append seed write_reco2vol strip write readlines reco2vol scale_low uniform read_reco2vol scale_high exit float join exit range len len range split format compute_sentence_prob readlines write close log_base log int defaultdict search group exit range join defaultdict oov_dict_entry format print strip search append range compile len print int format search group range find_and_replace_unks get_ngram_stats read_old_lm write_new_lm print format exit print format format print range write_nonterminal_arcs len format print range write_nonterminal_arcs len compile compile split sil_phone read_left_context_phones write_fst_no_silence lexiconp sil_prob read_lexiconp read_nonterminals write_fst_with_silence left_context_phones sil_disambig nonterminals print format exit compile format print range write_nonterminal_arcs len read_silprobs write_fst silprobs add_argument ArgumentParser add set get_pairs endswith tuple min extend index check_vocab_and_split append append recursive_split int split add set split UBIDI_DO_MIRRORING determine_text_direction UBIDI_KEEP_BASE_COMBINING UBIDI_REORDER_INVERSE_LIKE_DIRECT set_para UBIDI_OPTION_DEFAULT get_reordered Bidi UBIDI_DO_MIRRORING determine_text_direction UBIDI_REORDER_DEFAULT UBIDI_KEEP_BASE_COMBINING set_para UBIDI_OPTION_DEFAULT get_reordered Bidi enumerate Counter split defaultdict index defaultdict enumerate join list items replace tuple escape sub iter append compile split items list items get_pair_statistics deepcopy replace_pair prune_stats get_vocabulary dict update_pair_statistics values compile read_phones_txt write_phones_txt nonterminal_symbols_list output_phones_txt input_phones_txt compile write_words_txt input_words_txt output_words_txt read_words_txt readline defaultdict format exit add open split range with_glorot
zhaoyi2/xvector-cnceleb
4,303
zhd96/ds-hdp-hmm
['time series']
['Disentangled Sticky Hierarchical Dirichlet Process Hidden Markov Model']
examples/hdp-hmm/run_full_bayesian_approx_parallel_gibbs_ar_reg.py examples/s-hdp-hmm/run_full_bayesian_gibbs_gaussian_efox.py code/gibbs_approx_parallel_efox.py examples/ds-hdp-hmm/run_full_bayesian_gibbs_poisson.py examples/hdp-hmm/run_full_bayesian_gibbs_poisson_reg.py examples/s-hdp-hmm/run_full_bayesian_gibbs_multinomial_efox.py code/gibbs_multinomial.py examples/s-hdp-hmm/run_full_bayesian_approx_parallel_gibbs_ar_efox.py code/gibbs_multinomial_efox.py examples/hdp-hmm/run_full_bayesian_approx_parallel_gibbs_poisson_reg.py code/gibbs_gaussian_efox.py examples/ds-hdp-hmm/run_full_bayesian_approx_parallel_gibbs_poisson.py code/util.py examples/ds-hdp-hmm/run_full_bayesian_gibbs_multinomial.py examples/ds-hdp-hmm/run_full_bayesian_gibbs_gaussian.py code/gibbs_poisson_efox.py code/simulate_data.py examples/simulate-data/simulation_fix_8states.py code/permute.py code/gibbs_gaussian.py examples/hdp-hmm/run_full_bayesian_gibbs_multinomial_reg.py code/gibbs_poisson.py code/gibbs_approx_parallel.py examples/hdp-hmm/run_full_bayesian_gibbs_gaussian_reg.py examples/ds-hdp-hmm/run_full_bayesian_approx_parallel_gibbs_ar.py examples/s-hdp-hmm/run_full_bayesian_gibbs_poisson_efox.py examples/s-hdp-hmm/run_full_bayesian_approx_parallel_gibbs_poisson_efox.py update_suff_stats sample_m compute_lik transform_var_poly update_all_stats sample_kappa init_suff_stats_base sample_lik_params compute_rho_posterior init_suff_stats_func sample_pi sample_lam_b_pri init_gibbs_from_input_fmp update_suff_stats_base sample_gamma count_wt sample_rho sample_zw sample_zw_fmp sample_alpha init_gibbs_full_bayesian sample_beta update_suff_stats compute_lik update_all_stats init_suff_stats_base sample_lik_params init_suff_stats_func sample_lam_b_pri sample_pi init_gibbs_from_input_fmp sample_stick_ratio update_suff_stats_base sample_gamma sample_zw sample_zw_fmp sample_concentration init_gibbs_full_bayesian sample_beta transform sample_m_w_mbar sample_zw sample_alpha init_gibbs_full_bayesian decre_K sample_m sample_last sample_beta compute_rho_posterior sample_rho transform_var_poly sample_one_step_ahead sample_gamma sample_kappa init_gibbs init_gibbs_full_bayesian_regular sample_zw sample_concentration init_gibbs_full_bayesian decre_K sample_w sample_stick_ratio sample_m sample_last sample_one_step_ahead sample_beta transform sample_gamma init_gibbs sample_zw sample_alpha init_gibbs_full_bayesian decre_K sample_m sample_last sample_beta compute_rho_posterior sample_rho transform_var_poly sample_one_step_ahead sample_gamma sample_kappa init_gibbs init_gibbs_full_bayesian_regular sample_zw sample_concentration init_gibbs_full_bayesian decre_K sample_w sample_stick_ratio sample_m sample_last sample_one_step_ahead sample_beta transform sample_gamma init_gibbs sample_zw sample_alpha init_gibbs_full_bayesian decre_K sample_lam_mat sample_m sample_last sample_beta compute_rho_posterior sample_rho transform_var_poly sample_one_step_ahead sample_gamma sample_kappa sample_lam_b_pri init_gibbs init_gibbs_full_bayesian_regular sample_zw sample_concentration init_gibbs_full_bayesian decre_K sample_w sample_stick_ratio sample_m sample_last sample_one_step_ahead sample_beta sample_lam_mat transform sample_gamma sample_lam_b_pri init_gibbs compute_cost sample_same_trans sample_same_stick sample_our sample_pi_our estimate_y compute_real_transition_mat compute_log_marginal_lik_poisson sample_pi_efox compute_log_marginal_lik_ar_fmp compute_confusion_mat compute_log_obs_lik_ar_fmp compute_log_marginal_lik_ar_approx compute_log_marginal_lik_gaussian compute_log_marginal_lik_ar compute_log_marginal_lik_poisson_fmp multivariate_t_distribution compute_beta_param compute_log_marginal_lik_poisson_approx_parallel compute_log_marginal_lik_poisson_approx compute_log_marginal_lik_ar_approx_parallel compute_log_marginal_lik_multinomial compute_log_obs_lik_ar_approx_parallel power log T inv matmul tile gamma T range matmul T randn reshape identity matmul cholesky zeros gamma kron array range T transpose logpmf matmul pdf zeros expand_dims sum range update_suff_stats_base deepcopy T inv matmul range update_suff_stats transform_var_poly Pool clip list ones sample_lik_params map uniform range init_suff_stats_func array_split partial close gamma keys join T deepcopy dirichlet beta array len ones sample_lik_params dirichlet uniform transform_var_poly beta gamma array clip init_suff_stats_func sum range len sum list count_wt ones reshape hstack union1d matmul compute_lik update_suff_stats_base unique append zeros range array diag len deepcopy list update_suff_stats union1d keys range len join array_split partial close map update_all_stats Pool beta arange reshape binomial zeros sum range sum zeros range binomial beta append gamma sum array log beta binomial gamma sum log sum loggamma real len exp compute_rho_posterior linspace transform_var_poly zeros max enumerate gamma sum identity tile transform zeros identity tile transform zeros range arange reshape copy binomial zeros sum range reshape binomial beta append gamma sum log sum beta arange hstack pdf sqrt vstack beta sum range len beta binomial zeros array clip sample_one_step_ahead binomial sample_one_step_ahead arange hstack pdf sqrt vstack beta sum len arange pdf sqrt sample_last vstack beta array unique len zeros sum range len sample_one_step_ahead zeros gamma array binomial zeros range copy array loggamma exp real loggamma exp real loggamma exp real reshape pmf log pmf log pmf log gamma compute Munkres unique append sum max range len list binomial beta append sum array range ones identity unique zeros array range hstack unique binomial zeros array range loggamma inv pi matmul sum log slogdet zeros range len zeros range len mean zeros unique shape diag hstack zeros expand_dims range zeros hstack range hstack pdf log zeros sum range len loggamma exp hstack log vstack real zeros sum range len exp pmf hstack range zeros sum log len hstack matmul log zeros multivariate_t_distribution sum array range len exp pmf range zeros sum log len matmul log zeros sum array range len reshape matmul log append zeros sum array range len join array_split partial concatenate close map Pool exp reshape pmf range append zeros sum array log len join array_split partial concatenate close map Pool T reshape transpose matmul pdf log append zeros sum array range len join array_split partial concatenate close map Pool
zhd96/ds-hdp-hmm
4,304
zhd96/zig
['denoising']
['A zero-inflated gamma model for deconvolved calcium imaging traces']
code/util_plot.py code/encoding_fourier.py code/encoding.py code/decoding.py code/layers.py code/simulate_data.py getVaryHdr bernoulliDecoding error getVaryCI getHdrCoverage pair_t poissonDecoding getCICoverage getHdr getCI mad gammaDecoding sngDecoding sngRlxDecoding getCIOld get_zero poissonMleEncoding samplePoisson sngRlxEncoding sngRunner get_var fitmle sampleSngRlx sngMleEncoding computeReduMSE computePreferDg get_rate predict bernoulliMleEncoding sngEncoding gammaRunner get_tc gammaEncoding sampleBernoulli sampleGamma poissonEncoding poissonRunner bernoulliRunner bernoulliEncoding sampleSng sngRlxRunner poissonMleEncoding samplePoisson fourierBasis sngRlxEncoding sngRunner fitmle sampleSngRlx sngMleEncoding computeReduMSE computePreferDg sngRREncoding bernoulliMleEncoding sngRRRunner sngEncoding sampleBernoulli poissonEncoding sampleSngRR poissonRunner bernoulliRunner bernoulliEncoding sampleSng sngRlxRunner FullLayer simfnb simfp plotPostErrBarSminRealMed ecdf plotGamPdf plotHDSuper plotCdfSSm plotPostErrBarSminRealMedL1 plotCIcov_levv plotGamCdf barComp plotPosteriorSuper4 plotPostErrBarSminReal plotTC plotPoiCdf plotParams plotSampleData plotSngPdf plotHDSuper2 plotErrBarSS plotCIcov_med plotHDSuper3 barCompBA plotCIcov_meanv plotPosRes plotSampleVar plotPosteriorSuper5 plotPostErrBarSSReal plotPosteriorSuper plotRMSEVAE plotLatVAE plotSngRRCdf plotErrBarSmin plotSamplePm plotTuningCurves plotSampleRatem plotPosteriorSuper6 plotCIcov_mean plotCIcov_lev plotErrSmin plotErrBarSminv plotPostErrBarSSRealMed plotSampleVarm plotSampleP plotPosSuper plotPos plotErrBarSminL1 plotTC2 getBinNum getBins plotCdfSlabm plotPosteriorSuper2 plotPosSuper2 plotSampleRatemVAE plotPosteriorSuper3 plotSampleVarmVAE plotPostErrBarSmin plotSngCdf plotPosterior exp arctan2 maximum pi linspace zeros sum max range exp arctan2 pi linspace zeros sum max range exp arctan2 pi range linspace zeros sum max log loggamma exp arctan2 copy pi range linspace zeros sum max log exp arctan2 pi range linspace zeros sum max log append zeros getHdr range cover_rate zeros getCI range int tile ceil sum len int sum floor append array getCICoverage append getHdrCoverage array len copy mean linspace zeros range len exp float32 FullLayer reduce_sum sqrt cast log exp float32 FullLayer reduce_sum sqrt cast log exp zeros_like not_equal lgamma reshape boolean_mask float32 FullLayer reduce_sum dict sqrt cast tile log exp zeros_like not_equal reshape boolean_mask float32 FullLayer reduce_sum dict sqrt cast tile log exp float32 FullLayer reduce_sum sqrt cast log maximum mean linspace zeros range len clip linspace zeros sum range len clip len maximum linspace zeros sum range fit seed exp poisson seed binomial seed exp shape binomial zeros gamma range seed shape binomial zeros gamma range seed gamma argsort zeros range T restore placeholder poissonEncoding Saver linspace save append global_variables_initializer range Session run T restore placeholder Saver linspace save append global_variables_initializer bernoulliEncoding range Session run var T restore sngEncoding exp print placeholder mean Saver linspace save append global_variables_initializer range Session run T restore placeholder sngRlxEncoding Saver linspace save append global_variables_initializer range Session run T restore placeholder copy Saver linspace save append global_variables_initializer gammaEncoding range Session run plot print len pdf hist figure linspace ceil sum max fit asarray mean linspace append zeros range len var asarray linspace append zeros range len asarray mean linspace append zeros range len exp zeros_like not_equal reshape boolean_mask float32 FullLayer reduce_sum dict sqrt cast tile log seed shape binomial zeros gamma range pi print fourierBasis print fourierBasis fourierBasis print fourierBasis restore print fourierBasis placeholder sngRREncoding Saver save linspace append global_variables_initializer range Session run str ylabel seed minimum normal exp asarray sum binomial ceil power range array zeros seed normal exp asarray ceil power negative_binomial range array zeros subplot str plot ylabel tight_layout mean linspace figure zeros range len add_subplot set_ticks set_visible tick_params max set_major_locator set_title make_axes_locatable update_ticks set_xlabel colorbar imshow setp legend range new_horizontal MaxNLocator set_xticklabels get_xticklabels tight_layout add_axes T get_yticklabels argsort set_xticks set_ylabel figure zeros plot xlabel ylabel figure sum max var plot xlabel ylabel figure max get_zero set_visible set_major_formatter max subplot set_major_locator set_title set_xlabel ylabel FormatStrFormatter title setp sum MaxNLocator plot get_xticklabels tight_layout get_yticklabels xlabel set_ylabel figure add_subplot set_visible set_major_formatter get_var tick_params max seed subplot set_major_locator set_title set_xlabel ylabel FormatStrFormatter title setp MaxNLocator plot get_xticklabels tight_layout var get_yticklabels print xlabel set_ylabel figure add_subplot set_visible set_major_formatter tick_params max seed subplot set_major_locator set_title set_xlabel axvline ylabel FormatStrFormatter title setp MaxNLocator plot get_xticklabels tight_layout get_yticklabels print xlabel text set_ylabel figure get_rate subplot plot tight_layout set_ticks argsort imshow axhline vstack figure zeros range subplot set_major_locator MaxNLocator plot get_yticklabels set_xticklabels set_xlabel get_xticklabels FormatStrFormatter tight_layout set_visible set_ylabel set_xticks figure setp set_major_formatter legend range subplot str plot ylabel tight_layout set_visible title figure legend range sort float arange len ceil asarray ceil asarray ecdf set_visible linspace set_major_formatter max subplot set_major_locator str set_title FormatStrFormatter setp legend ceil sum MaxNLocator plot set_xticklabels get_xticklabels tight_layout cdf get_yticklabels draw set_ylabel figure ecdf set_visible linspace set_major_formatter max subplot set_major_locator str set_title FormatStrFormatter setp legend ceil sum MaxNLocator plot get_xticklabels tight_layout cdf get_yticklabels set_ylabel figure subplot str ecdf plot ylabel tight_layout figure linspace cdf max subplot str ecdf plot ylabel tight_layout figure linspace cdf max subplot str ecdf plot ylabel tight_layout figure linspace cdf max subplot str ecdf plot ylabel tight_layout figure linspace cdf max subplot str plot ylabel pdf tight_layout hist figure linspace max subplot str plot ylabel pdf tight_layout hist figure linspace max set_major_locator MaxNLocator plot get_yticklabels set_title set_xlabel get_xticklabels add_subplot tight_layout set_visible set_ylabel figure setp linspace legend tick_params fill_between add_subplot set_visible linspace tick_params set_major_locator set_title set_xlabel setp legend MaxNLocator plot set_xticklabels get_xticklabels tight_layout get_yticklabels set_ylabel set_xticks figure fill_between set_yticklabels add_subplot set_visible tick_params max set_title update_ticks set_xlabel colorbar imshow setp MaxNLocator plot set_xticklabels get_xticklabels tight_layout add_axes get_yticklabels set_yticks min set_ylabel set_xticks figure set_yticklabels add_subplot set_visible tick_params max set_major_locator set_title update_ticks set_xlabel colorbar imshow setp MaxNLocator plot set_xticklabels get_xticklabels tight_layout add_axes get_yticklabels set_yticks min set_ylabel set_xticks figure set_yticklabels add_subplot set_visible tick_params set_major_locator set_title set_xlabel setp MaxNLocator plot set_xticklabels get_xticklabels set_xlim tight_layout get_yticklabels set_yticks set_ylabel set_xticks figure set_title plot get_yticklabels set_xticklabels set_yticklabels set_xlabel get_xticklabels add_subplot set_xlim set_yticks tight_layout set_visible set_ylabel set_xticks figure setp tick_params set_yticklabels add_subplot set_visible tick_params max set_title update_ticks set_xlabel colorbar imshow setp MaxNLocator plot set_xticklabels get_xticklabels tight_layout add_axes get_yticklabels set_yticks min set_ylabel set_xticks figure set_yticklabels add_subplot set_visible tick_params set_title update_ticks set_xlabel colorbar imshow setp MaxNLocator plot set_xticklabels get_xticklabels add_axes get_yticklabels set_yticks set_ylabel set_xticks figure set_yticklabels add_subplot set_visible tick_params set_title update_ticks set_xlabel colorbar imshow setp MaxNLocator plot set_xticklabels get_xticklabels add_axes get_yticklabels set_yticks set_ylabel set_xticks figure set_yticklabels add_subplot set_visible tick_params max set_major_locator set_title update_ticks set_xlabel colorbar imshow setp MaxNLocator plot set_xticklabels get_xticklabels tight_layout add_axes get_yticklabels set_yticks min set_ylabel set_xticks figure set_yticklabels add_subplot set_visible tick_params max set_major_locator set_title update_ticks set_xlabel colorbar imshow setp MaxNLocator plot set_xticklabels get_xticklabels tight_layout add_axes get_yticklabels set_yticks min set_ylabel set_xticks figure subplot plot tight_layout title linspace figure legend fill_between subplot plot tight_layout title figure subplot plot tight_layout title figure subplot plot xlabel ylabel tight_layout title figure legend set_major_locator MaxNLocator set_title get_yticklabels plot set_xlabel get_xticklabels add_subplot FormatStrFormatter tight_layout set_visible set_ylabel figure setp set_major_formatter legend tick_params set_major_locator MaxNLocator plot get_yticklabels set_xlabel get_xticklabels add_subplot FormatStrFormatter tight_layout set_visible set_ylabel figure setp set_major_formatter tick_params set_yticklabels add_subplot set_visible set_major_formatter tick_params round set_major_locator set_title set_xlabel FormatStrFormatter setp MaxNLocator plot set_xticklabels set_xlim get_xticklabels tight_layout get_yticks power get_yticklabels set_yticks draw set_ylabel set_xticks figure array set_ylim set_yticklabels add_subplot set_visible set_major_formatter tick_params round set_major_locator set_title set_xlabel FormatStrFormatter setp MaxNLocator plot set_xticklabels set_xlim get_xticklabels tight_layout get_yticks power get_yticklabels set_yticks draw set_ylabel set_xticks figure array set_ylim set_yticklabels add_subplot set_visible axhline tick_params round str set_major_locator set_title set_xlabel setp legend range MaxNLocator plot set_xticklabels get_xticklabels tight_layout copy get_yticks get_yticklabels set_yticks draw set_xticks set_ylabel figure set_ylim len set_yticklabels add_subplot set_visible axhline linspace tick_params round str set_major_locator set_title set_xlabel setp legend range errorbar MaxNLocator set_xticklabels get_xticklabels tight_layout copy get_yticks get_yticklabels print set_yticks draw set_xticks set_ylabel figure set_ylim len set_yticklabels add_subplot set_visible axhline linspace tick_params round str set_major_locator set_title set_xlabel setp legend range errorbar MaxNLocator set_xticklabels get_xticklabels tight_layout copy get_yticks get_yticklabels print set_yticks draw set_xticks set_ylabel figure set_ylim len set_yticklabels add_subplot set_visible axhline linspace tick_params round str set_major_locator set_title set_xlabel setp legend range errorbar MaxNLocator set_xticklabels get_xticklabels tight_layout copy get_yticks get_yticklabels set_yticks draw set_xticks set_ylabel figure set_ylim len set_yticklabels add_subplot set_visible axhline linspace tick_params round str set_major_locator set_title set_xlabel setp legend range errorbar MaxNLocator set_xticklabels get_xticklabels tight_layout copy get_yticks get_yticklabels set_yticks draw set_xticks set_ylabel figure set_ylim len set_yticklabels add_subplot set_visible axhline linspace tick_params round str set_major_locator set_title set_xlabel setp legend range errorbar MaxNLocator set_xticklabels get_xticklabels tight_layout copy get_yticks get_yticklabels set_yticks draw set_xticks set_ylabel figure set_ylim len set_yticklabels add_subplot set_visible axhline linspace tick_params round str set_major_locator set_title set_xlabel setp legend range errorbar MaxNLocator set_xticklabels get_xticklabels tight_layout copy get_yticks get_yticklabels set_yticks draw set_xticks set_ylabel figure set_ylim len set_yticklabels add_subplot set_visible axhline linspace tick_params round str set_major_locator set_title set_xlabel setp legend range errorbar MaxNLocator set_xticklabels get_xticklabels tight_layout copy get_yticks get_yticklabels set_yticks draw set_xticks set_ylabel figure set_ylim len set_yticklabels add_subplot set_visible axhline linspace tick_params round str set_major_locator set_title set_xlabel setp legend range errorbar MaxNLocator set_xticklabels get_xticklabels tight_layout copy get_yticks get_yticklabels set_yticks draw set_xticks set_ylabel figure set_ylim len set_yticklabels add_subplot set_visible axhline linspace tick_params round str set_major_locator set_title set_xlabel setp legend range errorbar MaxNLocator set_xticklabels get_xticklabels tight_layout copy get_yticks get_yticklabels set_yticks draw set_xticks set_ylabel figure set_ylim len set_yticklabels add_subplot set_visible axhline linspace tick_params round str set_major_locator set_title set_xlabel setp legend range errorbar MaxNLocator set_xticklabels get_xticklabels tight_layout copy get_yticks get_yticklabels set_yticks draw set_xticks set_ylabel figure set_ylim len set_major_locator arange MaxNLocator get_yticklabels add_subplot ylabel set_visible bar figure setp xticks len arange add_subplot set_visible tick_params set_major_locator bar setp legend update MaxNLocator plot set_xticklabels get_xticklabels tight_layout get_yticklabels min dict set_ylabel set_xticks figure set_ylim len set_major_locator errorbar arange MaxNLocator get_yticklabels xlabel set_xticklabels get_xticklabels add_subplot ylabel mean set_visible axhline set_xticks figure linspace legend setp add_subplot set_visible set_major_formatter get_var tick_params max seed set_major_locator set_title set_xlabel FormatStrFormatter setp MaxNLocator plot get_xticklabels tight_layout get_yticklabels print set_ylabel figure add_subplot set_visible set_major_formatter get_var tick_params max seed set_major_locator set_title set_xlabel FormatStrFormatter setp MaxNLocator plot get_xticklabels tight_layout get_yticklabels print set_ylabel figure set_major_locator MaxNLocator set_title get_yticklabels set_yticklabels get_xticklabels add_subplot FormatStrFormatter colorbar tight_layout add_axes set_visible scatter figure setp set_major_formatter tick_params
zhd96/zig
4,305
zhegan27/TSBN_code_NIPS2015
['time series']
['Deep Temporal Sigmoid Belief Networks for Sequence Modeling']
bouncing_balls/data/data_handler_bouncing_balls.py norm bounce_n ar size bounce_vec bounce_mat new_speeds shape sigmoid matricize show_sample isinstance isinstance int norm randn transpose rand dot new_speeds zeros abs array range ar meshgrid zeros array range matricize bounce_n array matricize bounce_n array int str reshape imshow sqrt savefig range len
zhegan27/TSBN_code_NIPS2015
4,306
zhengchuanpan/GMAN
['image dehazing', 'traffic prediction']
['GMAN: A Graph Multi-Attention Network for Traffic Prediction']
PeMS/node2vec/node2vec.py METR/node2vec/generateSE.py PeMS/test.py METR/test.py METR/train.py PeMS/utils.py PeMS/model.py METR/utils.py PeMS/train.py METR/node2vec/node2vec.py METR/model.py METR/tf_utils.py PeMS/node2vec/generateSE.py PeMS/tf_utils.py spatialAttention transformAttention mae_loss placeholder STEmbedding gatedFusion temporalAttention GMAN FC STAttBlock conv2d dropout batch_norm loadData seq2instance metric log_string learn_embeddings read_graph Graph alias_draw alias_setup spatialAttention transformAttention mae_loss placeholder STEmbedding gatedFusion temporalAttention GMAN FC STAttBlock conv2d dropout batch_norm loadData seq2instance metric log_string learn_embeddings read_graph Graph alias_draw alias_setup list dropout isinstance conv2d zip expand_dims FC one_hot concat concat matmul softmax FC split value ones transpose concat matmul where cast softmax tile to_dense expand_dims FC split sigmoid multiply FC add spatialAttention gatedFusion temporalAttention transpose concat matmul softmax FC split transformAttention STAttBlock STEmbedding expand_dims FC range not_equal subtract float32 where reduce_mean cast abs value batch_norm Variable activation bias_add get_shape list value Variable batch_normalization cond ExponentialMovingAverage moments range len cond print write flush shape range zeros hour P read_hdf minute round values open seq2instance weekday SE_file traffic_file second concatenate readlines astype train_ratio int Q test_ratio total_seconds reshape index int32 zeros split read_edgelist save_word2vec_format Word2Vec pop len append zeros enumerate int rand floor len
zhengchuanpan/GMAN
4,307
zhenglisec/Blind-Watermark-for-DNN
['machine translation']
['How to Prove Your Model Belongs to You: A Blind-Watermark based Framework to Protect Intellectual Property of DNN']
results/DPN26/models/main.py results/resnet18/models/HidingUNet.py results/vgg11/models/main.py results/resnet101/models/Discriminator.py results/preactresnet18/models/main.py results/vgg13/models/HidingUNet.py models/LeNet.py results/googlenet/models/main.py results/lenet1/models/HidingUNet.py models/mobilenetv2.py results/vgg13/models/Discriminator.py results/lenet3/models/main.py results/resnet34/models/Discriminator.py results/vgg16/models/Discriminator.py models/HidingUNet.py results/DPN26/models/Discriminator.py results/lenet5/models/Discriminator.py results/mobilenetv2/models/HidingUNet.py models/googlenet.py models/Discriminator.py results/DPN26/models/HidingUNet.py models/__init__.py results/preactresnet18/models/Discriminator.py results/lenet5/models/main.py results/lenet3/models/Discriminator.py utils.py results/preactresnet34/models/HidingUNet.py results/resnet18/models/Discriminator.py results/googlenet/models/Discriminator.py results/vgg11/models/HidingUNet.py results/vgg16/models/HidingUNet.py results/resnet34/models/main.py results/lenet1/models/main.py results/lenet3/models/HidingUNet.py results/lenet1/models/Discriminator.py models/dpn.py results/preactresnet34/models/main.py results/lenet5/models/HidingUNet.py results/resnet34/models/HidingUNet.py main.py results/mobilenetv2/models/main.py results/preactresnet34/models/Discriminator.py results/vgg16/models/main.py results/googlenet/models/HidingUNet.py results/vgg19/models/Discriminator.py results/vgg11/models/Discriminator.py models/preact_resnet.py results/vgg13/models/main.py results/vgg19/models/main.py results/resnet101/models/HidingUNet.py models/vgg.py results/vgg19/models/HidingUNet.py results/mobilenetv2/models/Discriminator.py results/resnet101/models/main.py results/resnet18/models/main.py results/preactresnet18/models/HidingUNet.py models/resnet.py save_loss_acc train AverageMeter test format_time init_params progress_bar get_mean_and_std DiscriminatorNet DiscriminatorNet_mnist DPN Bottleneck test DPN92 DPN26 GoogLeNet Inception test UnetPre UnetGenerator UnetGenerator_mnist UnetSkipConnectionBlock LeNet5 LeNet1 LeNet3 Block test MobileNetV2 PreActBlock PreActResNet50 PreActResNet PreActResNet18 test PreActResNet152 PreActBottleneck PreActResNet101 PreActResNet34 ResNet ResNet18 ResNet34 Bottleneck ResNet101 BasicBlock VGG create_window gaussian _ssim SSIM ssim DiscriminatorNet DiscriminatorNet_mnist UnetPre UnetGenerator UnetGenerator_mnist UnetSkipConnectionBlock AverageMeter test SpecifiedLabel save_loss_acc train DiscriminatorNet DiscriminatorNet_mnist UnetPre UnetGenerator UnetGenerator_mnist UnetSkipConnectionBlock AverageMeter test SpecifiedLabel save_loss_acc train DiscriminatorNet DiscriminatorNet_mnist UnetPre UnetGenerator UnetGenerator_mnist UnetSkipConnectionBlock AverageMeter test SpecifiedLabel save_loss_acc train DiscriminatorNet DiscriminatorNet_mnist UnetPre UnetGenerator UnetGenerator_mnist UnetSkipConnectionBlock AverageMeter test SpecifiedLabel save_loss_acc train DiscriminatorNet DiscriminatorNet_mnist UnetPre UnetGenerator UnetGenerator_mnist UnetSkipConnectionBlock AverageMeter test SpecifiedLabel save_loss_acc train DiscriminatorNet DiscriminatorNet_mnist UnetPre UnetGenerator UnetGenerator_mnist UnetSkipConnectionBlock AverageMeter test SpecifiedLabel save_loss_acc train DiscriminatorNet DiscriminatorNet_mnist UnetPre UnetGenerator UnetGenerator_mnist UnetSkipConnectionBlock AverageMeter test SpecifiedLabel save_loss_acc train DiscriminatorNet DiscriminatorNet_mnist UnetPre UnetGenerator UnetGenerator_mnist UnetSkipConnectionBlock AverageMeter test SpecifiedLabel save_loss_acc train DiscriminatorNet DiscriminatorNet_mnist UnetPre UnetGenerator UnetGenerator_mnist UnetSkipConnectionBlock AverageMeter test SpecifiedLabel save_loss_acc train DiscriminatorNet DiscriminatorNet_mnist UnetPre UnetGenerator UnetGenerator_mnist UnetSkipConnectionBlock AverageMeter test SpecifiedLabel save_loss_acc train DiscriminatorNet DiscriminatorNet_mnist UnetPre UnetGenerator UnetGenerator_mnist UnetSkipConnectionBlock AverageMeter test SpecifiedLabel save_loss_acc train DiscriminatorNet DiscriminatorNet_mnist UnetPre UnetGenerator UnetGenerator_mnist UnetSkipConnectionBlock AverageMeter test SpecifiedLabel save_loss_acc train DiscriminatorNet DiscriminatorNet_mnist UnetPre UnetGenerator UnetGenerator_mnist UnetSkipConnectionBlock AverageMeter test SpecifiedLabel save_loss_acc train DiscriminatorNet DiscriminatorNet_mnist UnetPre UnetGenerator UnetGenerator_mnist UnetSkipConnectionBlock AverageMeter test SpecifiedLabel save_loss_acc train DiscriminatorNet DiscriminatorNet_mnist UnetPre UnetGenerator UnetGenerator_mnist UnetSkipConnectionBlock AverageMeter test SpecifiedLabel save_loss_acc train zero_grad criterionN criterionD Disnet save_loss_acc max criterionH_ssim criterionH_mse Dnnet append cat detach update avg item enumerate int backward print AverageMeter Hidnet step update str print save_path AverageMeter eval avg save append save_loss_acc save_image cat join subplots arange plot save_path set_xlabel close set_ylabel twinx savefig legend set_ylim print DataLoader div_ zeros range len normal constant isinstance kaiming_normal Conv2d bias modules BatchNorm2d weight Linear int time join format_time write append range flush len int randn net DPN92 size GoogLeNet MobileNetV2 PreActResNet18 Tensor Variable contiguous unsqueeze pow conv2d create_window size type_as get_device cuda is_cuda
zhenglisec/Blind-Watermark-for-DNN
4,308
zhengqili/MegaDepth
['depth estimation', 'semantic segmentation']
['MegaDepth: Learning Single-View Depth Prediction from Internet Photos']
options/train_options.py data/image_folder.py models/HG_model.py data/data_loader.py util/image_pool.py util/png.py models/base_model.py models/models.py util/html.py SDR_compute.py data/base_data_loader.py options/base_options.py data/aligned_data_loader.py rmse_error_main.py demo.py util/util.py pytorch_DIW_scratch.py options/test_options.py util/visualizer.py test_simple Lambda LambdaBase LambdaReduce LambdaMap test test_SDR AlignedDataLoader_TEST PairedData AlignedDataLoader BaseDataLoader CreateDataLoader_TEST CreateDataLoader make_dataset ImageFolder ImageFolder_TEST BaseModel HGModel create_model BaseOptions TestOptions TrainOptions HTML ImagePool encode print_numpy varname diagnose_network mkdirs mkdir info save_image tensor2im Visualizer exp print float Variable squeeze exit float32 switch_to_eval unsqueeze numpy resize imread forward cuda imsave amax print switch_to_eval evaluate_sc_inv enumerate evaluate_SDR print switch_to_eval range enumerate AlignedDataLoader AlignedDataLoader_TEST load close open print name HGModel transpose numpy print parameters fromarray save print join search print float64 astype flatten shape mkdir makedirs
zhengqili/MegaDepth
4,309
zhengwang100/RECT
['network embedding']
['Network Embedding with Completely-imbalanced Labels']
rect_package/rect.py rect_package/process.py rect_package/gcn.py label_utils_functions.py main_rect.py classify.py evaluate_embeddings_with_split TopKRanker read_node_label Classifier get_label_attributes completely_imbalanced_split_train completely_imbalanced_split_train_single_label cover_all_class_split_train get_labeled_nodes_label_attribute get_class_set completely_imbalanced_split_train_multi_label check_cover_all_class train_strucuture run_rect evaluate_rect train_label GCN symmetrize preprocess_features normalize_adj read_features sparse_mx_to_torch_sparse_tensor svd_feature graph_of_deepwalk read_graph_as_matrix RECT readline close open append split Classifier print evaluate_with_fixed_split range append get_class_set int permutation arange print check_cover_all_class len append range cover_all_class_split_train len append range cover_all_class_split_train len int list defaultdict zip mean shape get_class_set append keys get_label_attributes len mean zeros enumerate model tuple zero_grad RECT normalize_adj preprocess_features FloatTensor step Adam MSELoss from_numpy shape graph_of_deepwalk range LongTensor astype eval backward sparse_mx_to_torch_sparse_tensor print t parameters loss_function int32 eye train mm model tuple zero_grad RECT normalize_adj FloatTensor Adam MSELoss shape range LongTensor astype get_labeled_nodes_label_attribute svd_feature eval backward print sparse_mx_to_torch_sparse_tensor parameters loss_function int32 eye train step train_strucuture read_features print copy train_label evaluate_embeddings_with_split print normalize numpy enumerate dot normalize genfromtxt todense csr_matrix svd array reshape multiply genfromtxt symmetrize reshape shape coo_matrix array diags flatten dot sum array diags flatten coo_matrix sum array data Size astype float32 from_numpy shape int64
zhengwang100/RECT
4,310
zhengwang100/RSDNE-python
['network embedding']
['RSDNE: Exploring Relaxed Similarity and Dissimilarity from Completely-imbalanced Labels for Network Embedding']
main_RSDNE.py compared_methods/rsdne_light.py basic_functions.py compared_methods/matrix_decomposition.py compared_methods/mfdw.py label_utils_functions.py compared_methods/label_relax_single.py classify.py evaluate_embeddings_with_split symmetrize read_graph_as_matrix TopKRanker read_node_label Classifier completely_imbalanced_split_train completely_imbalanced_split_train_single_label cover_all_class_split_train build_label_hash_list get_class_set check_cover_all_class run_RSDNE evaluate_RSNDE build_node_pairs_by_single_label build_Ls_matrix build_Lw_matrix get_cost mf MFDW graph_of_deepwalk getCost_RSDNE RSNDE_light Classifier print evaluate_with_fixed_split range append genfromtxt symmetrize print reshape shape coo_matrix array readline close open append split append zip get_class_set get_class_set int permutation arange print check_cover_all_class len append range cover_all_class_split_train len array RSNDE_light enumerate evaluate_embeddings_with_split print int print min extend build_label_hash_list zip sample append len T build_node_pairs_by_single_label laplacian coo_matrix array T print laplacian nonzero zip T matmul dot trace sum print random shape get_cost multi_dot dot normalize mf graph_of_deepwalk T matmul dot trace sum multi_dot todense asarray build_Lw_matrix print random getCost_RSDNE dot shape build_Ls_matrix graph_of_deepwalk multi_dot range
zhengwang100/RSDNE-python
4,311
zhengzhe97/yolactpaddle
['real time instance segmentation', 'instance segmentation', 'semantic segmentation']
['YOLACT++: Better Real-time Instance Segmentation']
ppdet/modeling/tests/__init__.py ppdet/modeling/architectures/cascade_rcnn_cls_aware.py ppdet/data/source/widerface.py tools/cpp_infer.py ppdet/modeling/tests/decorator_helper.py ppdet/data/__init__.py ppdet/modeling/backbones/hrfpn.py ppdet/modeling/tests/test_architectures.py ppdet/modeling/losses/yolo_loss.py ppdet/data/shared_queue/__init__.py ppdet/modeling/roi_extractors/roi_extractor.py ppdet/utils/post_process.py tools/export_model.py tools/eval.py ppdet/__init__.py ppdet/modeling/losses/diou_loss.py ppdet/core/config/yaml_helpers.py ppdet/modeling/roi_heads/cascade_head.py ppdet/data/transform/__init__.py ppdet/data/tests/test_loader_yaml.py slim/nas/search_space/__init__.py ppdet/modeling/losses/iou_loss.py ppdet/modeling/backbones/nonlocal_helper.py ppdet/data/tests/test_dataset.py inference/tools/vis.py ppdet/data/shared_queue/sharedmemory.py ppdet/modeling/backbones/hrnet.py ppdet/modeling/anchor_heads/__init__.py tools/infer.py ppdet/modeling/backbones/resnext.py ppdet/data/reader.py slim/quantization/export_model.py ppdet/modeling/target_assigners.py ppdet/modeling/backbones/vgg.py slim/nas/search_space/blazefacespace_nas.py ppdet/modeling/backbones/blazenet.py dataset/voc/create_list.py docs/conf.py ppdet/data/source/coco.py slim/nas/train_nas.py tools/face_eval.py ppdet/modeling/backbones/faceboxnet.py ppdet/modeling/ops.py ppdet/modeling/backbones/name_adapter.py ppdet/utils/check.py slim/distillation/distill.py ppdet/core/config/schema.py ppdet/utils/eval_utils.py ppdet/data/shared_queue/queue.py ppdet/core/__init__.py slim/sensitive/sensitive.py ppdet/data/parallel_map.py ppdet/modeling/anchor_heads/yolo_head.py ppdet/modeling/backbones/gc_block.py slim/extensions/distill_pruned_model/distill_pruned_model.py ppdet/modeling/roi_extractors/__init__.py ppdet/modeling/anchor_heads/retina_head.py ppdet/utils/widerface_eval_utils.py ppdet/data/transform/batch_operators.py ppdet/modeling/architectures/yolov3.py ppdet/utils/download.py ppdet/utils/__init__.py ppdet/modeling/architectures/ssd.py ppdet/utils/oid_eval.py ppdet/modeling/losses/giou_loss.py ppdet/modeling/backbones/res2net.py ppdet/modeling/architectures/faster_rcnn.py ppdet/modeling/architectures/cascade_mask_rcnn.py ppdet/utils/checkpoint.py slim/quantization/eval.py tools/__init__.py ppdet/experimental/__init__.py ppdet/modeling/architectures/mask_rcnn.py tools/train.py ppdet/data/transform/operators.py ppdet/optimizer.py ppdet/modeling/backbones/senet.py ppdet/modeling/roi_heads/__init__.py ppdet/data/transform/op_helper.py ppdet/modeling/architectures/retinanet.py ppdet/modeling/architectures/yolactplus.py ppdet/modeling/architectures/cascade_rcnn.py ppdet/utils/visualizer.py ppdet/modeling/backbones/fpn.py ppdet/data/source/voc.py ppdet/modeling/roi_heads/bbox_head.py slim/quantization/infer.py ppdet/utils/cli.py ppdet/modeling/backbones/bfp.py ppdet/modeling/losses/smooth_l1_loss.py ppdet/modeling/architectures/blazeface.py ppdet/modeling/backbones/darknet.py ppdet/modeling/__init__.py tools/configure.py ppdet/modeling/roi_heads/mask_head.py dataset/fruit/download_fruit.py ppdet/utils/voc_utils.py ppdet/modeling/anchor_heads/yolact_head.py ppdet/modeling/architectures/faceboxes.py ppdet/data/source/__init__.py ppdet/modeling/backbones/mobilenet.py ppdet/modeling/anchor_heads/rpn_head.py ppdet/modeling/architectures/__init__.py ppdet/utils/voc_eval.py ppdet/modeling/backbones/resnet.py inference/tools/detection_result_pb2.py slim/prune/eval.py slim/quantization/train.py ppdet/data/tools/x2coco.py ppdet/utils/bbox_utils.py slim/prune/prune.py ppdet/experimental/mixed_precision.py ppdet/core/config/__init__.py ppdet/modeling/architectures/input_helper.py ppdet/modeling/backbones/__init__.py ppdet/modeling/losses/balanced_l1_loss.py ppdet/modeling/losses/__init__.py dataset/voc/download_voc.py ppdet/data/source/dataset.py ppdet/core/workspace.py ppdet/data/tests/test_loader.py ppdet/utils/dist_utils.py ppdet/utils/map_utils.py ppdet/utils/stats.py ppdet/modeling/backbones/cb_resnet.py ppdet/utils/colormap.py ppdet/utils/coco_eval.py url_resolver colormap LinearWarmup LearningRate PiecewiseDecay OptimizerBuilder create dump_value get_registered_modules merge_config make_partial dict_merge register AttrDict load_config extract_schema SharedConfig SchemaValue SchemaDict _make_python_constructor _make_python_representer serializable Callable EndSignal ParallelMap _term_group Compose _calc_img_weights _has_empty _segm Reader create_reader batch_arrange SharedQueueError SharedQueue MemoryFullError SharedMemoryMgr SharedBufferError PageAllocator SharedMemoryError memcopy SharedBuffer COCODataSet _make_dataset ImageFolder _is_valid_file DataSet pascalvoc_label VOCDataSet _load_file_list WIDERFaceDataSet widerface_label TestDataset MemorySource TestReader TestReaderYAML get_bbox MyEncoder categories annotations_polygon deal_json images_labelme main getbbox images_cityscape annotations_rectangle Gt2YoloTarget PadBatch RandomShape PadMultiScaleTest RandomDistort RandomCrop ExpandImage ResizeImage BboxXYXY2XYWH MultiscaleTestResize Resize ColorDistort CropImage RandomExpand ToPercentCoords BboxError Pad BaseOperator register_op RandomInterpImage RandomFlipImage CropImageWithDataAchorSampling NormalizeBox NormalizeImage Permute RandomMirror NormalizePermute MixupImage ImageError PrepareMasks PadBox DecodeImage data_anchor_sampling clip_bbox meet_emit_constraint jaccard_overlap intersect_bbox generate_sample_bbox_square filter_and_process crop_image_sampling bbox_area_sampling is_overlap satisfy_sample_constraint_coverage generate_sample_bbox satisfy_sample_constraint bbox_coverage bbox_area monkey_patch backward update_loss_scale StaticLossScale scale_gradient mixed_precision_context create_parameter mixed_precision_global_state DynamicLossScale LossScale RoIAlign AnchorGenerator RPNTargetAssign LibraBBoxAssigner MultiBoxHead RetinaTargetAssign MaskAssigner MultiClassDiouNMS RoIPool RetinaOutputDecoder MultiClassNMS BBoxAssigner GenerateProposals DropBlock MultiClassSoftNMS SSDOutputDecoder ConvNorm CascadeBBoxAssigner RetinaHead FPNRPNHead RPNHead decode intersect_tensor get_box_height_width get_mast sanitize_coordinates YolactHead get_cur_pos jaccard_tensor_3D numpyminmax debug_max create_tmp_var point_form_tensor encode_tensor create_anchor sanitize_coordinates_tensor get_segment_t_tensor debug_sum assign_labels transform_conf transform_index get_select assign_segment end_time center_size_tensor get_target_tensor crop debug_min start_time jaccard_tensor debug_func log_sum_exp debug_shape crop_tensor get_mast_to_train debug_gt center_size match_tensor np_triu get_box_height_width_tensor get_posneg get_segment_t iszero YOLOv3Head BlazeFace CascadeMaskRCNN CascadeRCNN CascadeRCNNClsAware FaceBoxes FasterRCNN multiscale_def MaskRCNN RetinaNet SSD Yolactplus YOLOv3 BFP BlazeNet CBResNet DarkNet FaceBoxNet FPN spatial_pool channel_conv add_gc_block HRFPN HRNet MobileNet NameAdapter add_space_nonlocal space_nonlocal Res2NetC5 Res2Net ResNet ResNetC5 ResNeXtC5 ResNeXt SENetC5 SENet VGG BalancedL1Loss DiouLoss GiouLoss IouLoss SmoothL1Loss YOLOv3Loss FPNRoIAlign XConvNormHead TwoFCHead BoxCoder debug_shape BBoxHead CascadeTwoFCHead CascadeBBoxHead CascadeXConvNormHead debug_shape MaskHead prog_scope TestMaskRCNN TestCascadeRCNN TestYolov3 TestRetinaNet TestFasterRCNN TestSSD box_to_delta bbox_overlaps check_version check_gpu global_step _get_weight_path load_checkpoint load_and_fusebn is_url save load_params _load_state ColorTTY print_total_cfg ArgsParser cocoapi_eval expand_boxes proposal2out proposal_eval bbox2out coco17_category_info bbox_eval get_category_info_from_anno mask_eval mask2out get_category_info clip_bbox colormap nccl2_prepare prepare_for_multi_process get_weights_path _download get_dataset_path get_path map_path _dataset_exists _md5check create_voc_list _move_and_merge_tree _decompress download_dataset length2lod get_sub_feed eval_run parse_fetches mask_encode eval_results json_eval_results clean_res DetectionMAP jaccard_overlap bbox_area get_category_info nms mstest_box_post_process mstest_mask_post_process get_nms_result box_flip box_voting bbox_overlaps bbox_area Time SmoothedValue TrainingStats draw_mask draw_bbox visualize_results prune_zero_padding vocall_category_info bbox_eval get_category_info_from_anno get_category_info create_list _get_voc_dir _walk_voc_dir save_fddb_bboxes bbox_vote save_widerface_bboxes get_category_info widerfaceall_category_info to_chw_bgr get_category_info_from_anno get_shrink main l2_distill split_distill main split_distill calculate_ap_py set_paddle_flags Constraint get_bboxes_scores main BlazeFaceNasSpace main set_paddle_flags main main main save_infer_model main main save_checkpoint load_global_step main set_paddle_flags analyze_config generate_config list_modules dump_config help_module Preprocess Permute PadStride infer DecodeImage Resize offset_to_lengths create_config Normalize get_extra_info main set_paddle_flags prune_feed_vars main save_infer_model multi_scale_test multi_scale_test_pyramid flip_test face_eval_run detect_face main face_img_process main get_test_images set_paddle_flags get_save_image_name main set_paddle_flags replace reshape astype float32 dump replace join merge_config dirname startswith splitext expanduser AttrDict items list format __module__ import_module getattr __doc__ __name__ extract_schema make_partial hasattr update deepcopy validate hasattr isinstance inject default_value pymodule getattr shared default __module__ strip params description SchemaDict set_schema doc_parse SchemaValue set_default hasattr annotations __init__ SharedConfig getattr defaults getfullargspec arg_name import_module __doc__ __name__ enumerate getargspec match len getargspec getfullargspec hasattr __init__ _make_python_constructor format add_representer add_constructor _make_python_representer __name__ format getpgid killpg SIGKILL getpid info set append sum range enumerate len empty append reshape range len append enumerate getattr encode frombuffer WeakValueDictionary join sorted is_valid_file append expanduser walk str strip len append float range split polygons_to_mask len list map copy get_bbox list map fromarray max list min map argwhere polygon zeros array print join listdir deal_json json_input_dir ArgumentParser output_dir exists open image_input_dir len copyfile parse_args dump glob listdir join int dataset_type val_proportion add_argument train_proportion makedirs append setattr __name__ min max append array range clip_bbox len append float array enumerate uniform min max uniform min max min sqrt uniform floor randint float range len min max bbox_area bbox_area intersect_bbox append range jaccard_overlap len bbox_coverage range jaccard_overlap len int min resize zeros float max mixed_precision_global_state append_op _create_parameter create_var _var_recursive set_input kOpRoleAttrName _set_attr op_size op set_type append_op set_output Backward mixed_precision_global_state get_loss_scale_var mixed_precision_global_state stack cond isfinite _backward update_loss_scale dynamic_scaling mixed_precision_global_state cond create_parameter backward ParamAttr batch_norm name affine_channel conv2d create_parameter _get_var group_norm CalculateGamma less_than reduce_sum shape expand_as reduce_prod cast pool2d uniform_random anchor_generator rpn_target_assign generate_proposals generate_mask_labels multiclass_nms generate_proposal_labels roi_align roi_pool multi_box_head detection_output retinanet_target_assign retinanet_detection_output print shape print shape sum array list product sqrt array range len array print shape sum array print min array print max array append array range len print shape array array center_size_tensor center_size array permutation array permutation array array array range array maximum squeeze resize_bilinear unsqueeze cast zeros py_func astype resize zeros numpyminmax array range reshape log_sum_exp add argsort broadcast_to shape expand_dims sum array clip max clock print clock reshape shape cast expand_as sanitize_coordinates_tensor range elementwise_mul elementwise_min elementwise_max cast clip time arange reshape broadcast_to shape sanitize_coordinates array numpyminmax astype clip match_tensor stack append gather range array max argmax array range jaccard_tensor point_form_tensor argsort encode_tensor gather py_func concatenate concat log intersect_tensor unsqueeze expand intersect_tensor unsqueeze expand elementwise_min expand unsqueeze elementwise_max clip append str range reshape matmul shape conv2d softmax pool2d conv2d layer_norm spatial_pool int sigmoid channel_conv int slice reshape transpose matmul conv2d shape softmax scale space_nonlocal __doc__ __doc__ __doc__ __doc__ box_coder minimum transpose maximum transpose log error exit require_version get_weights_path int remove map_path dirname sleep environ exists makedirs join basename load_program_state mkdtemp copy rmtree normpath exists load join list _get_weight_path format basename isdir mkdtemp set_program_state rmtree is_url normpath info _load_state copytree load _get_weight_path is_url find_var global_scope format isdir rmtree info place format _get_weight_path get_tensor float32 divide set set_program_state sqrt add is_url warning info load_params _load_state array exists get_registered_modules find_missing_keys find_mismatch_keys list append update ColorTTY dump format find_default_keys dump_value copy set keys __name__ print inject index find_extra_keys sub cocoapi_eval flush proposal2out cocoapi_eval bbox2out COCO dict warning getCatIds flush int decode cocoapi_eval tolist COCO warning append array range len list evaluate COCOeval summarize COCO accumulate loadRes info int tolist flatten append range clip_bbox len int tolist flatten append range clip_bbox len int uint8 decode tolist astype append array range len zeros shape format info COCO getCatIds loadCats DistributeTranspiler transpile DistributeTranspilerConfig get int nccl2_prepare get_path join list format items get_path _dataset_exists realpath create_voc_list info exists join create_list info replace join list _download items format map_path info _decompress list format error get_path info keys join format info get join format move info makedirs md5 format hexdigest info join remove format isdir rmtree info listdir _move_and_merge_tree makedirs join isdir move isfile listdir items list hasattr name append _get_var append length2lod items list set set_lod LoDTensor keys clear list keys update time format mstest_box_post_process clean_res start mstest_mask_post_process reset getattr mask_encode run info append get_sub_feed range get_map_var len int uint8 tolist astype append range len join format voc_bbox_eval mask_eval proposal_eval with_background mean bbox_eval info append get_anno join str format cocoapi_eval info exists get_anno enumerate float float copy zeros min max range min zeros max range bbox_area average bbox_overlaps range copy nms num_classes hstack astype float32 vstack box_voting array range update list concatenate reshape get_nms_result box_flip append keys list mean append zeros keys draw_mask draw_bbox decode astype nonzero array range colormap format line Draw tuple text rectangle textsize randint array len update format get_map DetectionMAP prune_zero_padding accumulate info range len range len insert pascalvoc_label list sorted items insert shuffle extend _walk_voc_dir join relpath _get_voc_dir add set match append walk open swapaxes minimum max sum maximum delete row_stack tile zeros empty array get_round min join format makedirs write close info open join items format makedirs write info open items list sorted widerface_label insert append sum l2_loss var obj_weighted_cls obj_weighted_reg obj_loss append sum config list_vars eval_run with_data_parallel set_sample_list_generator teacher_pretrained default_main_program architecture BuildStrategy save save_dir opt load_config resume_checkpoint run Executor create num_classes optim_builder load_and_fusebn metric pretrain_weights eval_results append create_reader load_params ExecutionStrategy range get use_gpu global_step format merge_config TrainReader get_cuda_device_count EvalReader start build_inputs info environ is_bbox_normalized output_eval lr_builder merge minimize load_checkpoint max_iters clone parse_fetches CompiledProgram reset Program default_startup_program check_gpu train teacher_config Pruner float flops split_distill split str list items append tolist range len int list sorted get_bboxes_scores eval_single_image append float keys range len log_smooth_window dist check_version tokens2arch log seed str calculate_ap_py update search_steps reward mean eval prepare_for_multi_process deque timedelta time SANAS TrainingStats compute_constraint json_eval prune pruned_params resolution getattr json_eval_results weights global_scope name blocks print_params list tb_log_dir use_tb shape print print_total_cfg add_scalar all_parameters SummaryWriter items not_quant_pattern convert quant_aware list format save_inference_model info prune_feed_vars values CPUPlace save_infer_model set_images bbox2out mask2out visualize_results infer_dir infer_img get_test_images draw_threshold use_default_label TestReader get_imid2path with_background get_save_image_name get_category_info get_anno save_persistables var format isdir save_vars rmtree info load_vars var save_checkpoint load_global_step warn CUDAPlace sensitivity list values items list format green get_registered_modules print category ljust append max values join list format blue print name dump_config bold max values items list get_registered_modules print dump_config any walk print_total_cfg load_config join format enable_tensorrt_engine AnalysisConfig enable_use_gpu fatal info frombuffer imdecode cvtColor COLOR_BGR2RGB format error astype extend info append pop deepcopy get_extra_info shape preprocess append DecodeImage output_dir save visualize run Executor CUDAPlace bbox2out load_inference_model range Preprocess format infer_img create_config offset_to_lengths info model_path float config_path join time print convert create_paddle_predictor draw_bbox array get_category_info makedirs var str name clone global_block _prune append join output_dir to_chw_bgr array astype int join format bbox_vote multi_scale_test multi_scale_test_pyramid flip_test save_fddb_bboxes save_widerface_bboxes convert OrderedDict detect_face row_stack info append get_shrink enumerate len column_stack info ANTIALIAS resize array face_img_process run FLIP_LEFT_RIGHT transpose detect_face shape zeros detect_face row_stack detect_face range row_stack len face_eval_run dataset_dir splitext makedirs format glob extend abspath info append len loader add_image enumerate array
zhengzhe97/yolactpaddle
4,312
zhentaoshi/Boosted_HP_filter
['time series']
['Boosting: Why You Can Use the HP Filter']
python/BoostedHP.py BoostedHP var T print diag inv dot vstack warning eye zeros sum array log len
zhentaoshi/Boosted_HP_filter
4,313
zhenxun-zhuang/SGD-Exponential-Cosine-Stepsize
['stochastic optimization']
['A Second look at Exponential and Cosine Step Sizes: Simplicity, Adaptivity, and Performance']
image classification/src/utils.py nlp/src/train_nli.py image classification/src/data_loader.py image classification/src/sgd_lr_decay.py image classification/src/evaluate.py image classification/src/main.py nlp/src/optim/bpgrad.py image classification/src/load_args.py image classification/src/cifar10_resnet.py nlp/draw_comps.py nlp/src/optim/__init__.py image classification/src/metrics.py nlp/src/optim/dfw.py image classification/src/mnist_cnn.py image classification/src/cifar100_densenet.py nlp/src/utils.py image classification/src/sls.py image classification/src/load_optim.py nlp/src/hinge_loss.py image classification/src/train.py nlp/src/optim/sgd_lr_decay.py nlp/src/data_util.py image classification/draw_comps.py nlp/src/models_nil.py load_args readFile mean_confidence_interval draw_comps densenet Transition DenseNet Bottleneck BasicBlock resnet110 resnet20 ResNet LambdaLayer resnet44 test resnet1202 resnet56 resnet32 _weights_init BasicBlock data_loader evaluate load_args load_optim main mse_score get_metric_function softmax_accuracy softmax_loss compute_metric_on_dataset squared_loss squared_hinge_loss logistic_loss logistic_accuracy MNISTConvNet SGDLRDecay Sls train get_grad_list try_sgd_update compute_grad_norm check_armijo_conditions check_goldstein_conditions random_seed_torch reset_step random_seed readFile get_results mean_confidence_interval draw_comps get_glove get_batch get_word_dict get_nli build_vocab set_smoothing_enabled MultiClassHingeLoss NLINet BGRUlastEncoder BLSTMEncoder LSTMEncoder GRUEncoder InnerAttentionMILAEncoder InnerAttentionNAACLEncoder ClassificationNet BLSTMprojEncoder ConvNetEncoder InnerAttentionYANGEncoder trainepoch evaluate set_seed setup_xp regularization accuracy adapt_grad_norm log_metrics save_state update_metrics BPGrad DFW SGDLRDecay get_optimizer decay_optimizer ppf len join subplots tick_params readFile show list set_xlabel savefig legend range plot listdir enumerate makedirs mean_confidence_interval subplots_adjust set_ylabel split fill_between get_legend_handles_labels len add_argument ArgumentParser weight kaiming_normal_ __name__ print MNIST int list FashionMNIST Compose SubsetRandomSampler shuffle DataLoader Normalize startswith CIFAR10 dataset CIFAR100 range len eval Sls SGDLRDecay Adam SGD resnet20 data_loader MNISTConvNet weight_decay device seed log_folder eta0 to reproducible CrossEntropyLoss densenet manual_seed validation evaluate print load_args train makedirs get_metric_function print dataset tqdm eval DataLoader float len view backward criterion model CrossEntropyLoss view backward criterion model BCEWithLogitsLoss view backward criterion model MSELoss mean view ones_like mul zeros_like view backward mean max mean view mean argmax model get_metric_function train_epochs criterion backward evaluate print zero_grad range ReduceLROnPlateau load_optim startswith item append step net min max list zip sqrt seed get_state seed get_rng_state manual_seed_all manual_seed join defaultdict append readFile listdir array print get_results array zeros max range len split print format len get_glove format get_word_dict print len join format print upper array len permutation batch_size zero_grad cuda log str list adapt_grad_norm range update value get_batch max_norm size gamma eta metrics backward print l2 nli_net accuracy tqdm reset loss_fn train step len batch_size save cuda log outputmodelname list range outputdir update val value get_batch format size test join metrics print nli_net makedirs accuracy tqdm reset lrshrink loss_fn train len seed format print manual_seed is_available randint Config Simple Average set_win_opts hook_on_update Container log Maximum Timer hook_on_new_max VisdomPlotter visdom save topk size t mean eq expand_as float sum max update log_and_reset parameters requires_grad sqrt DFW eta Adagrad format print SGDLRDecay Adam SGD BPGrad upper param_groups isinstance SGD
zhenxun-zhuang/SGD-Exponential-Cosine-Stepsize
4,314
zhenxun-zhuang/SGD-Exponential-Stepsize
['stochastic optimization']
['Adam: A Method for Stochastic Optimization', 'A Second look at Exponential and Cosine Step Sizes: Simplicity, Adaptivity, and Performance']
image classification/src/utils.py nlp/src/train_nli.py image classification/src/data_loader.py image classification/src/sgd_lr_decay.py image classification/src/evaluate.py image classification/src/main.py nlp/src/optim/bpgrad.py image classification/src/load_args.py image classification/src/cifar10_resnet.py nlp/draw_comps.py nlp/src/optim/__init__.py image classification/src/metrics.py nlp/src/optim/dfw.py image classification/src/mnist_cnn.py image classification/src/cifar100_densenet.py nlp/src/utils.py image classification/src/sls.py image classification/src/load_optim.py nlp/src/hinge_loss.py image classification/src/train.py nlp/src/optim/sgd_lr_decay.py nlp/src/data_util.py image classification/draw_comps.py nlp/src/models_nil.py load_args readFile mean_confidence_interval draw_comps densenet Transition DenseNet Bottleneck BasicBlock resnet110 resnet20 ResNet LambdaLayer resnet44 test resnet1202 resnet56 resnet32 _weights_init BasicBlock data_loader evaluate load_args load_optim main mse_score get_metric_function softmax_accuracy softmax_loss compute_metric_on_dataset squared_loss squared_hinge_loss logistic_loss logistic_accuracy MNISTConvNet SGDLRDecay Sls train get_grad_list try_sgd_update compute_grad_norm check_armijo_conditions check_goldstein_conditions random_seed_torch reset_step random_seed readFile get_results mean_confidence_interval draw_comps get_glove get_batch get_word_dict get_nli build_vocab set_smoothing_enabled MultiClassHingeLoss NLINet BGRUlastEncoder BLSTMEncoder LSTMEncoder GRUEncoder InnerAttentionMILAEncoder InnerAttentionNAACLEncoder ClassificationNet BLSTMprojEncoder ConvNetEncoder InnerAttentionYANGEncoder trainepoch evaluate set_seed setup_xp regularization accuracy adapt_grad_norm log_metrics save_state update_metrics BPGrad DFW SGDLRDecay get_optimizer decay_optimizer ppf len join subplots tick_params readFile show list set_xlabel savefig legend range plot listdir enumerate makedirs mean_confidence_interval subplots_adjust set_ylabel split fill_between get_legend_handles_labels len add_argument ArgumentParser weight kaiming_normal_ __name__ print MNIST int list FashionMNIST Compose SubsetRandomSampler shuffle DataLoader Normalize startswith CIFAR10 dataset CIFAR100 range len eval Sls SGDLRDecay Adam SGD resnet20 data_loader MNISTConvNet weight_decay device seed log_folder eta0 to reproducible CrossEntropyLoss densenet manual_seed validation evaluate print load_args train makedirs get_metric_function print dataset tqdm eval DataLoader float len view backward criterion model CrossEntropyLoss view backward criterion model BCEWithLogitsLoss view backward criterion model MSELoss mean view ones_like mul zeros_like view backward mean max mean view mean argmax model get_metric_function train_epochs criterion backward evaluate print zero_grad range ReduceLROnPlateau load_optim startswith item append step net min max list zip sqrt seed get_state seed get_rng_state manual_seed_all manual_seed join defaultdict append readFile listdir array print get_results array zeros max range len split print format len get_glove format get_word_dict print len join format print upper array len permutation batch_size zero_grad cuda log str list adapt_grad_norm range update value get_batch max_norm size gamma eta metrics backward print l2 nli_net accuracy tqdm reset loss_fn train step len batch_size save cuda log outputmodelname list range outputdir update val value get_batch format size test join metrics print nli_net makedirs accuracy tqdm reset lrshrink loss_fn train len seed format print manual_seed is_available randint Config Simple Average set_win_opts hook_on_update Container log Maximum Timer hook_on_new_max VisdomPlotter visdom save topk size t mean eq expand_as float sum max update log_and_reset parameters requires_grad sqrt DFW eta Adagrad format print SGDLRDecay Adam SGD BPGrad upper param_groups isinstance SGD
zhenxun-zhuang/SGD-Exponential-Stepsize
4,315
zhenzhenxiang/SemanticsSharing
['scene parsing', 'semantic segmentation', 'autonomous driving']
['Boosting Real-Time Driving Scene Parsing with Shared Semantics']
light/model/base_model/mobilenetv3.py light/map/pwcnet_args.py light/model/base.py light/data/yuanqu.py scripts/train.py light/nn/loss.py scripts/test.py light/map/warp_xy.py light/utils/logger.py light/map/pwcnet_modules.py light/data/__init__.py light/utils/metric.py pre_train/optical_flow/logger.py light/model/base_model/debug.py light/utils/distributed.py pre_train/optical_flow/losses_unsupervised.py pre_train/optical_flow/dataset.py light/nn/__init__.py pre_train/optical_flow/summary.py light/map/pwcnet_model.py light/model/base_model/__init__.py light/map/pwcnet_flow_utils.py light/nn/basic.py pre_train/optical_flow/model.py light/map/flow_vis.py light/map/correlation.py pre_train/optical_flow/flow_utils.py light/model/__init__.py pre_train/optical_flow/warp.py pre_train/optical_flow/utils.py light/utils/load_model.py light/utils/visualize.py light/map/pwcnet_args_mobilenetv3.py light/map/pwcnet_modules_mobilenetv3.py scripts/eval.py light/model/mobilenetv3_pwcnet_seg.py pre_train/optical_flow/losses.py light/map/pwcnet_model_mobilenetv3.py light/map/warp.py pre_train/optical_flow/main.py light/utils/lr_scheduler.py pre_train/optical_flow/modules.py _get_city_pairs yuanquSegmentation get_segmentation_dataset _FunctionCorrelation ModuleCorrelation cupy_launch Stream FunctionCorrelation cupy_kernel make_colorwheel flow_to_color flow_compute_color pwcnet_args pwcnet_args_mobilenetv3 computeColor vis_flow makeColorwheel save_flow load_flow Net pwcflow pwcflow_mobilenetv3_ori Net_MobileNetV3 pwcflow_mobilenetv3 CostVolumeLayer FeaturePyramidExtractor get_grid ContextNetwork OpticalFlowEstimatorDW FeaturePyramidExtractorDW OpticalFlowEstimator conv convDW WarpingLayer _Hswish OpticalFlowEstimatorBad SEModule FeaturePyramidMobileNetV3 Bottleneck _ConvBNReLU OpticalFlowEstimator _ConvBNHswish _Hsigmoid Identity _DWConv _DWConvBNReLU warp_kornia Homography THT_inv_matrix warp_kornia_xy Homography THT_inv_matrix BaseModel MobileNetV3Seg_loosely FeatureFusionModule_res_131 atrConvBlock MobileNetV3Seg_tightly _LRASPP _Head remap FeatureFusionModule_res_120 get_mobilenet_v3_large_pwcflow_seg Residual131 FeatureFusionModule_res MobileNetV3Seg ConvBlock FeatureFusionModule_res_131_120 get_mobilenet_v3_small_pwcflow_seg get_segmentation_model BlockDecoder efficientnet efficientnet_params get_model_params mobilenet_v3_large_1_0 get_mobilenet_v3 MobileNetV3 mobilenet_v3_small_1_0 _Hswish Bottleneck _ConvBNReLU _ConvBNHswish _FCNHead _Hsigmoid Identity SEModule MixSoftmaxCrossEntropyLoss OhemCrossEntropy2d MixSoftmaxCrossEntropyOHEMLoss make_data_sampler synchronize DistributedSampler get_world_size reduce_dict IterationBasedBatchSampler all_gather get_rank make_batch_data_sampler is_main_process reduce_loss_dict convert_state_dict check_modules load_model fix_model load_modules setup_logger WarmupMultiStepLR LRScheduler WarmupPolyLR SegmentationMetric batch_pix_accuracy batch_intersection_union show_prediction _getvocpallete show_colorful_images save_colorful_images set_img_color get_color_pallete BaseDataset FlyingChairs SintelClean window StaticRandomCrop FlyingThings Sintel SintelFinal KITTI YuanquSimulate YuanquLiteFlowNet StaticCenterCrop computeColor vis_flow makeColorwheel save_flow load_flow Logger L1Loss L1loss L2 L1 MultiScale EPE MultiScale_MobileNetV3 L2loss L2Loss training_loss robust_training_loss smooth_loss SelfLoss get_smooth_loss SelfLossOrigin SSIM get_lr_scheduler hello_world test pred summary main train Net FeaturePyramidExtractor ContextNetwork OpticalFlowEstimatorDW FeaturePyramidExtractorDW OpticalFlowEstimator conv convDW WarpingLayer summary get_grid warp_kornia Homography THT_inv_matrix parse_args Evaluator parse_args save_pred Tester parse_args save_checkpoint Trainer join replace print val_file get_path_pairs get_path_pairs_test train_file cuda_stream str int join replace size search group stride split zeros floor arange uint8 arctan2 astype square pi sqrt floor int32 make_colorwheel zeros range square sqrt max clip lv_chs len Namespace device lv_chs len Namespace device array float32 zeros floor arange uint8 arctan2 astype where pi isnan sqrt makeColorwheel empty range computeColor multiply min where sqrt max epsilon list upsample size stack permute float cuda pwcflow_Network list upsample size permute float cuda pwcflow_Network list upsample size permute float cuda pwcflow_Network size cuda cat expand eulerAnglesToRotationMatrix asmatrix transpose inv matmul array inv THT_inv_matrix Tensor tensor range grid_sample convert_state_dict load MobileNetV3Seg_loosely MobileNetV3Seg_tightly load_state_dict MobileNetV3Seg convert_state_dict load MobileNetV3Seg_loosely MobileNetV3Seg_tightly load_state_dict MobileNetV3Seg decode print GlobalParams range len efficientnet efficientnet_params startswith _replace MobileNetV3 barrier get_world_size from_buffer dumps get_world_size loads zip append to max cat get_world_size get_world_size SequentialSampler RandomSampler BatchSampler IterationBasedBatchSampler OrderedDict items list print items list convert_state_dict load check_modules format update print load_state_dict splitext isfile state_dict pwcnet_model_path FFM60_model_path mobilenetv3_model_path load_model FFM120_model_path fixed_FFM60 print fixed_mobilenetv3 parameters fixed_FFM120 fixed_pwcnet setFormatter join getLogger addHandler StreamHandler Formatter DEBUG setLevel FileHandler makedirs argmax long item double range len uint8 array set_img_color fromarray show fromarray join mkdir save fromarray astype putpalette range tuple islice iter mean abs range add_argument add_parser func ArgumentParser device lv_chs parse_args set_defaults add_subparsers len items list print device to state_dict summary_ to input_shape device total_step model zero_grad DataLoader Logger Path device save dataset str get_lr_scheduler squeeze load_state_dict iter to next range state_dict partial lr dataset_dir zip enumerate load time log_dir criterion backward print parameters step num_levels scalar_summary len imwrite upsample vis_flow device WarpingLayer list basename transpose map load_state_dict append to imread format replace concatenate size astype Net eval stack mkdir float enumerate load join uint8 print output cpu save_flow array len get_smooth_loss upsample DataLoader ssim WarpingLayer list L1loss SSIM load_state_dict append size EPE Net eval dataset_dir float warp enumerate load time print contiguous len MultiStepLR str remove format isinstance FloatTensor model print apply OrderedDict is_available type add_argument ArgumentParser join asarray imwrite squeeze convert outdir numpy model_mode argmax get_color_pallete join format state_dict model dataset copyfile distributed save expanduser save_dir module makedirs
zhenzhenxiang/SemanticsSharing
4,316
zhihou7/VCL
['human object interaction detection']
['Visual Compositional Learning for Human-Object Interaction Detection', 'iCAN: Instance-Centric Attention Network for Human-Object Interaction Detection']
lib/ult/config.py scripts/feats_tsne.py lib/ult/tools.py scripts/extract_HO_feature.py lib/ult/Generate_HICO_detection.py lib/models/train_Solver_VCOCO_MultiGPU.py scripts/_init_paths.py lib/ult/vsrl_eval.py tools/Test_VCL_ResNet_HICO.py lib/models/train_Solver_HICO_MultiGPU.py misc/Object_Detector.py lib/models/test_VCOCO.py scripts/postprocess_coco.py tools/Test_VCL_ResNet_VCOCO.py lib/networks/VCL.py lib/models/train_Solver_VCOCO.py tools/Diagnose_VCOCO.py lib/ult/visualization.py lib/models/test_HICO.py tools/Train_iCAN_ResNet_VCOCO.py myunittest/test_dataset.py lib/ult/timer.py lib/ult/vcoco_diagnose.py lib/ult/apply_prior.py lib/networks/ResNet50_HICO.py auto_test_all.py misc/resnet_v1.py myunittest/_init_paths.py scripts/auto_post.py lib/networks/ResNet50_VCOCO.py lib/ult/Download_data.py auto_test_coco.py tools/_init_paths.py lib/ult/ult.py lib/models/train_Solver_HICO.py scripts/full_test.py lib/networks/ResNet101_HICO.py myunittest/__init__.py lib/networks/HOI.py tools/Train_iCAN_ResNet_HICO.py scripts/postprocess_test.py tools/Train_VCL_ResNet_VCOCO.py tools/Train_VCL_ResNet_HICO.py parse_args add_path parse_args add_path obtain_test_dataset get_blob test_net_data_api1 obtain_obj_boxes obtain_test_dataset2 obtain_test_dataset1 get_blob test_net im_detect train_net SolverWrapper SolverWrapperMultiGPU train_net SolverWrapper VCOCOSolverWrapperMultiGPU HOI resnet_arg_scope ResNet101 resnet_arg_scope ResNet50 resnet_arg_scope ResNet50 VCL apply_prior download_file_from_google_drive save_HICO obtain_fuse_preds Generate_HICO_detection Timer get_neighborhood_matrix2 obtain_hoi_to_obj visual_tsne get_convert_matrix_coco2 obtain_hoi_to_verb get_neighborhood_matrix get_word2vec get_convert_matrix bbox_trans Augmented_box get_skeleton Get_next_sp obtain_data1 Generate_action draw_relation get_zero_shot_type obtain_coco_data obtain_test_data Augmented_HO_spNeg Get_Next_Instance_HO_Neg_HICO Generate_action_HICO Augmented_HO_Neg_HICO2 get_aug_params coco_generator1 obtain_data get_pattern get_new_Trainval_N bb_IOU Get_Next_Instance_HO_Neg Augmented_HO_Neg_HICO_inner Get_next_sp_with_pose coco_generator get_neg_items generator2 get_augment_type Augmented_HO_Neg_HICO get_unseen_index obtain_coco_data1 Augmented_HO_Neg _load_vcoco VCOCOdiagnose get_overlap clip_xyxy_to_image voc_ap draw_bounding_boxes_HOI_PIC _draw_single_box draw_bounding_boxes draw_bounding_boxes_HOI _load_vcoco get_overlap clip_xyxy_to_image voc_ap VCOCOeval parse_args bb_IOU demo resnet_arg_scope resnetv1 IOTestCase add_path parse_args save_img parse_args parse_args add_path get_vcoco kill_child_processes parse_args add_path parse_args switch_checkpoint_path parse_args parse_args parse_args parse_args get_available_gpus parse_args get_available_gpus add_path insert add_argument ArgumentParser reshape astype float32 zfill shape imread DATA_DIR toc dump constant format collect ones print average_time float32 extend tic get_convert_matrix model_name open run load seed RNG_SEED make_one_shot_iterator get_next from_generator prefetch obtain_obj_boxes DATA_DIR open load seed RNG_SEED iglob print make_one_shot_iterator get_next from_generator major prefetch obtain_obj_boxes DATA_DIR open print load DATA_DIR open load seed RNG_SEED make_one_shot_iterator get_next from_generator prefetch DATA_DIR open concatenate reshape get_blob apply_prior append test_image_HO empty max range seed int toc rstrip format dump RNG_SEED print average_time tic DATA_DIR im_detect open ConfigProto ON_1 makedirs join remove get get_confirm_token save_response_content Session int list items tolist min zfill savemat append obtain_fuse_preds range len load join remove print save_HICO makedirs open int strip DATA_DIR open int strip DATA_DIR open show LOCAL_DATA time format TSNE print rainbow obtain_hoi_to_obj shape title scatter savefig linspace append fit_transform range LOCAL_DATA0 square float32 mean get_word2vec tile zeros expand_dims range len asarray reshape square float32 mean get_word2vec tile expand_dims load items list transpose float32 zeros DATA_DIR open zeros transpose range len copy zeros bbox_trans zeros bbox_trans get_skeleton concatenate int min zeros float round range line tuple zeros range len minimum maximum concatenate reshape float64 min astype floor randint max zeros reshape print reshape astype float32 zfill shape Augmented_HO_Neg imread DATA_DIR len list concatenate Augmented_box reshape copy Generate_action sample empty range len list concatenate Augmented_box reshape Generate_action sample empty range append len zeros reshape reshape astype float32 zfill Augmented_HO_Neg_HICO shape imread DATA_DIR list concatenate Augmented_box reshape Get_next_sp Generate_action_HICO Get_next_sp_with_pose sample empty range append len list concatenate Augmented_box reshape Get_next_sp Generate_action_HICO Get_next_sp_with_pose sample empty range append len DATA_DIR open list Augmented_HO_spNeg shape append ceil get_aug_params imread range concatenate astype shuffle empty keys enumerate load items deepcopy print float32 zfill len load list reshape len astype shuffle zfill float32 Augmented_HO_spNeg shape imread range DATA_DIR open partial make_one_shot_iterator get_next from_generator prefetch partial make_one_shot_iterator get_next from_generator prefetch append list keys __contains__ __contains__ DATA_DIR list shape ceil get_aug_params imread append expand_dims range get_new_Trainval_N concatenate astype shuffle keys enumerate items time deepcopy print Augmented_HO_Neg_HICO float32 zfill get_unseen_index len load partial make_one_shot_iterator get_next from_generator prefetch DATA_DIR open load partial make_one_shot_iterator get_next from_generator prefetch DATA_DIR open partial make_one_shot_iterator get_next from_generator prefetch list concatenate Augmented_box reshape Generate_action_HICO get_pattern sample empty get_neg_items range len concatenate reshape Get_next_sp Get_next_sp_with_pose empty range concatenate get_pattern append empty range len T print reshape range len minimum maximum minimum maximum concatenate size maximum sum range line Draw text rectangle ceil getsize fromarray int uint8 copy _draw_single_box round array range fromarray uint8 copy _draw_single_box round array enumerate fromarray uint8 copy _draw_single_box round array enumerate toc nms astype float32 tic nan Timer append imread im_detect enumerate IMAGE_TEMP print squeeze shape resize imsave VCOCOeval DATA_DIR Process pid children str system LOCAL_DATA replace list_local_devices
zhihou7/VCL
4,317
zhijieW94/ETNet
['style transfer']
['ETNet: Error Transition Network for Arbitrary Style Transfer']
train.py stylize.py network/ops.py train_model.py network/vgg_normalised.py data_processing/data_processing.py inference.py utils.py network/Model.py Inference main predict_test train Train mkdir_output_test get_file_list get_config mkdir_output_train check_folder write_config load_data_testing save_images ImageData inverse_transform imsave merge ModelNet down_sample conv lrelu average_gradients cov_matrixs pad_reflect res_block_simple layer_norm res_block up_sample relu L1_loss L2_loss mse tf_cov processing_data_test instance_norm tanh res_block_HDC processing_By_config processing_data hw_flatten gram_matrix sse gram_matrixs vgg_from_t7 join load_data_testing basename get_file_list format str save_images print check_folder splitext range predict len config str mkdir_output_test get_config exit Inference predict_test config join get_config exit map Train makedirs join check_folder write_config join check_folder append isdir glob zeros enumerate uint8 astype clip expand_dims shape imread from_tensor_slices processing_By_config ImageData glob make_one_shot_iterator get_next repeat append max range len resize_images shape unstack append range resize_images shape unstack shape unstack reduce_mean abs to_float reshape matmul shape stack unstack reshape transpose float32 matmul shape stack reduce_mean unstack cast concat reduce_mean zip append expand_dims load layers nOutputPlane transpose bias Model modules Input enumerate kH
zhijieW94/ETNet
4,318
zhijing-jin/ARTS_TestSet
['sentiment analysis', 'aspect based sentiment analysis']
['Tasty Burgers, Soggy Fries: Probing Aspect Robustness in Aspect-Based Sentiment Analysis']
code/main.py code/utils.py code/strategies.py get_args revTgt revNon addDiff Utils parse_args add_argument ArgumentParser join print len untokenize isupper add set upper Utils reverse tokenize_term_list tokenize range append enumerate join print len exaggerate untokenize isupper upper Utils reverse tokenize_term_list tokenize range append enumerate get_postag fromstring correct get_phrase sorted list append range LanguageTool upper Utils lower get_constituent sample enumerate join print check untokenize split randint len
zhijing-jin/ARTS_TestSet
4,319
zhixinshu/DeformingAutoencoders-pytorch
['unsupervised facial landmark detection']
['Deforming Autoencoders: Unsupervised Disentangling of Shape and Appearance']
DAENet.py train_InstinsicDAE_CelebA.py DAENet_InstanceNorm.py train_DAE_CelebA.py DAEDataLoader.py is_image_file intersect duplicates resize_loader DAEImageFolderResize make_dataset_singlefolder Dense_Encoders_Intrinsic waspEncoder BiasReduceLoss Dense_DecodersIntegralWarper2 DecodersIntegralWarper2 DenseTransitionBlockEncoder waspWarper DenseBlockDecoder waspGridSpatialIntegral waspDenseEncoder waspDecoderTanh TotalVaryLoss SelfSmoothLoss2 waspDecoder waspIntrinsicComposer waspDenseDecoder Encoders_Intrinsic DecodersIntegralWarper2_Intrinsic DenseTransitionBlockDecoder Dense_Encoders DenseBlockEncoder Dense_DecodersIntegralWarper2_Intrinsic waspMixer Encoders Dense_Encoders_Intrinsic waspEncoder BiasReduceLoss Dense_DecodersIntegralWarper2 DecodersIntegralWarper2 DenseTransitionBlockEncoder waspWarper DenseBlockDecoder waspGridSpatialIntegral waspDenseEncoder waspDecoderTanh TotalVaryLoss SelfSmoothLoss2 waspDecoder waspIntrinsicComposer waspDenseDecoder Encoders_Intrinsic DecodersIntegralWarper2_Intrinsic DenseTransitionBlockDecoder Dense_Encoders DenseBlockEncoder Dense_DecodersIntegralWarper2_Intrinsic waspMixer Encoders setCuda parseSampledDataPoint weights_init getBaseGrid visualizeAsImages setAsVariable setCuda parseSampledDataPoint weights_init getBaseGrid visualizeAsImages setAsVariable next map iter intersection is_image_file join sorted print append walk t repeat arange cat normal_ __name__ fill_ save_image unsqueeze float unsqueeze contiguous append cuda append Variable
zhixinshu/DeformingAutoencoders-pytorch
4,320
zhiyongc/Graph_Convolutional_LSTM
['traffic prediction', 'graph attention']
['Traffic Graph Convolutional Recurrent Neural Network: A Deep Learning Framework for Network-Scale Traffic Learning and Forecasting', 'Graph Neural Network for Traffic Forecasting: A Survey']
Code_V1/Train_Validate.py Code_V1/Modules.py Code_V1/Main.py Code_V1/Models.py PrepareDataset LSTM RNN GraphConvolutionalLSTM FilterLinear TestLSTM TrainRNN TrainLSTM TestRNN TestGraphConvolutionalLSTM TrainGraphConvolutionalLSTM_Proposed TrainGraphConvolutionalLSTM int arange shuffle DataLoader floor TensorDataset append max range values L1Loss data RNN zero_grad around cuda squeeze RMSprop MSELoss loss_MSE iter append next range format size initHidden is_available rnn time backward print parameters step L1Loss data zero_grad around cuda loop RMSprop MSELoss loss_MSE iter append next range format size is_available time backward print parameters LSTM step L1Loss data zero_grad around cuda loop RMSprop MSELoss loss_MSE iter append next range format size is_available time backward print GraphConvolutionalLSTM parameters Tensor step L1Loss data reinitHidden zero_grad around forward cuda list loop squeeze step RMSprop MSELoss loss_MSE iter append next range format size initHidden chunk is_available pop time backward print GraphConvolutionalLSTM parameters Tensor weight len L1Loss data around std squeeze MSELoss loss_MSE iter append next range format size initHidden mean is_available rnn time print loss_L1 array L1Loss data time format std loop print size MSELoss mean loss_L1 loss_MSE around iter is_available next array append L1Loss data time format std loop print size MSELoss mean loss_L1 loss_MSE around iter is_available next array append
zhiyongc/Graph_Convolutional_LSTM
4,321
zhiyongc/Stacked_Bidirectional_Unidirectional_LSTM
['time series']
['Deep Bidirectional and Unidirectional LSTM Recurrent Neural Network for Network-wide Traffic Speed Prediction']
Keras/Main.py PyTorch/Models.py PyTorch/TrainModel.py PyTorch/Main.py Keras/Models.py MeasurePerformance SplitData Get_Data_Label_Aux_Set train_Bi_LSTM LossHistory train_2_Bi_LSTM_mask train_2_Bi_LSTM PrepareDataset LSTM BiLSTM Train_Multi_Bi_LSTM TrainLSTM Train_BiLSTM strftime append float array range values len int RandomState arange print shuffle float print zeros abs range EarlyStopping LossHistory Model summary Input compile fit LSTM EarlyStopping Sequential add LossHistory Dense Masking compile fit EarlyStopping LossHistory Model summary Input compile fit int clip arange shuffle DataLoader floor TensorDataset append max range values L1Loss data zero_grad around cuda lstm RMSprop MSELoss loss_MSE iter append next range cat format size is_available time backward print parameters LSTM step L1Loss data zero_grad around cuda BiLSTM RMSprop MSELoss loss_MSE iter append next range cat format size bilstm is_available time backward print parameters step L1Loss data Sequential zero_grad around cuda BiLSTM multiBiLSTM RMSprop MSELoss loss_MSE iter append next range cat format size is_available time backward print parameters LSTM step
zhiyongc/Stacked_Bidirectional_Unidirectional_LSTM
4,322
zhou-1/COVISS-Lab-Research
['semantic segmentation']
['FreeLabel: A Publicly Available Annotation Tool based on Freehand Traces']
OpenCV/Python/Gui Features/MouseAsAPaint-Brush/Third.py OpenCV/Python/Gui Features/Image Thresholding/Thresholding.py OpenCV/Python/Gui Features/TrackbarastheColorPalette/Forth.py OpenCV/Python/Gui Features/DrawFunctions/Second.py OpenCV/Python/Gui Features/BasicImageProcesses/First.py OpenCV/Python/Gui Features/Morphological Transformations/Morphological Transformations.py draw_circle nothing rectangle circle
zhou-1/COVISS-Lab-Research
4,323
zhougr1993/DeepInterestNetwork
['click through rate prediction']
['Deep Interest Network for Click-Through Rate Prediction']
wide_deep/train.py deepFM/model.py din/model.py utils/2_remap_id.py pnn/train.py wide_deep/model.py pnn/build_dataset.py deepFM/build_dataset.py din/Dice.py pnn/input.py din/model_dice.py base_model/train.py pnn/model.py din/build_dataset.py wide_deep/input.py base_model/input.py din/train.py utils/1_convert_pd.py deepFM/train.py base_model/build_dataset.py deepFM/input.py wide_deep/build_dataset.py din/input.py base_model/model.py gen_neg DataInput DataInputTest Model extract_axis_1 calc_auc _auc_arr _eval gen_neg DataInput DataInputTest Model extract_axis_1 calc_auc _auc_arr _eval gen_neg dice parametric_relu DataInput DataInputTest attention_multi_items Model extract_axis_1 attention attention_multi_items Model extract_axis_1 attention calc_auc _test _auc_arr _eval gen_neg DataInput DataInputTest Model extract_axis_1 calc_auc _auc_arr _eval to_df build_map gen_neg DataInput DataInputTest Model extract_axis_1 calc_auc _auc_arr _eval randint stack gather_nd range sorted len append tolist DataInputTest eval save calc_auc len get_shape list reshape square sigmoid sqrt reduce_mean batch_normalization range len abs relu dense ones_like sequence_mask reshape concat where matmul softmax tile expand_dims dense as_list ones_like sequence_mask print reshape concat where matmul softmax tile print append test DataInputTest sorted list tolist map dict zip range len
zhougr1993/DeepInterestNetwork
4,324
zhougr1993/Rocket-Launching
['click through rate prediction']
['Rocket Launching: A Universal and Efficient Framework for Training Well-performing Light Net']
utils.py cvtransforms.py rocket_bottom.py rocket_interval.py Pad CenterCrop RandomSizedCrop Scale RandomCrop Normalize RandomHorizontalFlip main resnet create_dataset main resnet create_dataset normalize data_parallel batch_norm bnstats bnparams linear_params distillation conv_params at cast flatten_stats rocket_distillation at_loss flatten_params TensorDataset compose data_root int flatten_stats flatten_params sigma_refine_step copy_ gpu_id loads save depth DataFrame cuda epoch_step exit create_iterator load_state_dict width sum teacher_id update create_optimizer TimeMeter lr resume mkdir vars gamma load join items AverageValueMeter print Variable ClassErrorMeter Engine resnet beta train epochs student_depth isinstance parallel_apply scatter replicate
zhougr1993/Rocket-Launching
4,325
zhourunlong/mc-gan
['style transfer']
['Multi-Content GAN for Few-Shot Font Style Transfer']
options/train_options.py data/image_folder.py train_Stack.py data/data_loader.py train.py util/kernel_size.py util/image_pool.py util/png.py test_Stack.py models/base_model.py models/models.py models/StackGAN_model.py util/html.py data/base_data_loader.py options/base_options.py test.py util/util.py util/plot_loss.py test_video.py models/networks.py options/test_options.py util/visualizer.py models/cGAN_model.py BaseDataLoader Data normalize_stack PartialData CreateDataLoader FlatData StackDataLoader DataLoader PartialDataLoader is_image_file make_dataset ImageFolder default_loader font_transform BaseModel cGANModel create_model InputTransformation define_G_3d get_norm_layer GANLoss ResnetGenerator ResnetDecoder ResnetBlock define_D weights_init conv_norm_relu_module ResnetEncoder define_Dec define_G ResnetGenerator_3d_conv convTranspose_norm_relu_module define_Enc NLayerDiscriminator define_preNet print_network StackGANModel BaseOptions TestOptions TrainOptions HTML ImagePool conv2d convTranspose2d main parse_args moving_average plot_loss encode print_numpy varname diagnose_network VerticalFlip mkdirs HorizontalFlip mkdir info save_image tensor2im Visualizer size Compose initialize partial StackDataLoader stack DataLoader PartialDataLoader is_image_file join sorted append walk arange view mean permute range initialize model print cGANModel name StackGANModel hasattr fill_ print bias normal_ __name__ print BatchNorm2d partial InstanceNorm2d apply cuda ResnetGenerator_3d_conv get_norm_layer print ResnetGenerator UnetGenerator apply cuda get_norm_layer print UnetEncoder apply ResnetEncoder cuda get_norm_layer print ResnetDecoder apply UnetDecoder cuda get_norm_layer print apply NLayerDiscriminator cuda get_norm_layer InputTransformation print apply cuda print parameters floor add_argument ArgumentParser cumsum int moving_average strip readlines append float open subplots set_title plot print plot_loss logRoot avg savefig append parse_args array range len transpose numpy print parameters fromarray reshape squeeze astype save zeros range print join search print float64 astype flatten shape mkdir makedirs
zhourunlong/mc-gan
4,326
zhoushengisnoob/HAHE
['network embedding']
['HAHE: Hierarchical Attentive Heterogeneous Information Network Embedding']
meta_atten.py HAHE.py utils.py nbr_atten.py HOMO_train HAHE_train Hete_average Hete_self Hete_MLP2_atten HomoAttention make_attribute normalize_adj adj2Lap multilabel_f1 get_label get_adj_mat hamming_score get_label2 get_adj print zeros normalize set set intersection append float union range len zeros_like average_precision_score sum range len flatten sum array diags ones_like zeros_like nonzero power range diag len int defaultdict loadtxt add zeros max range defaultdict todense add nonzero range len loadtxt max int array int loadtxt zeros max range
zhoushengisnoob/HAHE
4,327
zhr1201/CNN-for-single-channel-speech-enhancement
['speech enhancement']
['A Fully Convolutional Neural Network for Speech Enhancement']
audio_reader.py SENN_train.py SENN_audio_eval.py SENN.py find_files Audio_reader variable_summaries conv2d SE_NET bias_variable weight_variable stft train append join filter walk truncated_normal constant int window copy floor ceil zeros float array append len val_speech_dir Saver save Session run all_variables speech_dir start_threads placeholder SE_NET initialize_all_variables inference range Audio_reader train_dir SummaryWriter inputs val_noise_dir float cond max_steps noise_dir time int join merge_all_summaries graph dequeue print sum_dir Coordinator add_summary loss
zhr1201/CNN-for-single-channel-speech-enhancement
4,328
zhuchen03/mva
['stochastic optimization']
['Adam: A Method for Stochastic Optimization']
nmt_nlu/fairseq/data/legacy/__init__.py nmt_nlu/fairseq/models/lightconv.py nmt_nlu/fairseq/tasks/language_modeling.py nmt_nlu/fairseq/models/nat/nonautoregressive_transformer.py nmt_nlu/examples/speech_recognition/utils/wer_utils.py nmt_nlu/fairseq/optim/fused_lamb.py nmt_nlu/fairseq/modules/learned_positional_embedding.py nmt_nlu/fairseq/data/base_wrapper_dataset.py nmt_nlu/fairseq/models/huggingface/hf_gpt2.py nmt_nlu/fairseq/incremental_decoding_utils.py nmt_nlu/fairseq/optim/adaptive_moment.py nmt_nlu/fairseq/optim/fp16_optimizer.py nmt_nlu/fairseq/modules/batch_norm.py nmt_nlu/fairseq/modules/vggblock.py nmt_nlu/scripts/compare_namespaces.py nmt_nlu/fairseq_cli/preprocess.py nmt_nlu/fairseq/tasks/sentence_ranking.py nmt_nlu/fairseq/models/transformer_from_pretrained_xlm.py nmt_nlu/fairseq/optim/bb.py nmt_nlu/scripts/split_train_valid_docs.py nmt_nlu/fairseq/optim/nag.py nmt_nlu/examples/wav2vec/vq-wav2vec_featurize.py nmt_nlu/fairseq/data/monolingual_dataset.py nmt_nlu/fairseq/data/colorize_dataset.py synthetic_data/nonconvex.py nmt_nlu/fairseq/modules/gelu.py nmt_nlu/fairseq/modules/quantization/scalar/modules/qemb.py nmt_nlu/examples/noisychannel/rerank_options.py nmt_nlu/fairseq/modules/transformer_sentence_encoder.py nmt_nlu/fairseq/data/token_block_dataset.py nmt_nlu/fairseq/data/encoders/bytes.py nmt_nlu/fairseq/tasks/fairseq_task.py nmt_nlu/fairseq/models/roberta/__init__.py nmt_nlu/fairseq/tasks/masked_lm.py image_classification/train_cifar.py nmt_nlu/fairseq/data/sort_dataset.py nmt_nlu/fairseq/logging/metrics.py nmt_nlu/fairseq/data/round_robin_zip_datasets.py nmt_nlu/tests/test_sparse_multihead_attention.py nmt_nlu/fairseq/modules/scalar_bias.py nmt_nlu/fairseq/data/lm_context_window_dataset.py nmt_nlu/fairseq/modules/cross_entropy.py nmt_nlu/examples/noisychannel/__init__.py nmt_nlu/tests/test_character_token_embedder.py nmt_nlu/fairseq/models/multilingual_transformer.py nmt_nlu/fairseq/data/backtranslation_dataset.py nmt_nlu/examples/noisychannel/rerank_score_lm.py nmt_nlu/fairseq/data/indexed_dataset.py nmt_nlu/fairseq/optim/lr_scheduler/polynomial_decay_schedule.py nmt_nlu/fairseq/options.py nmt_nlu/fairseq/modules/quantization/scalar/utils.py nmt_nlu/tests/test_multihead_attention.py nmt_nlu/fairseq/data/num_samples_dataset.py nmt_nlu/fairseq/modules/unfold.py nmt_nlu/fairseq/models/nat/cmlm_transformer.py nmt_nlu/fairseq/data/encoders/byte_bpe.py nmt_nlu/examples/speech_recognition/data/collaters.py nmt_nlu/generate.py nmt_nlu/examples/speech_recognition/models/w2l_conv_glu_enc.py nmt_nlu/examples/speech_recognition/infer.py nmt_nlu/scripts/build_sym_alignment.py nmt_nlu/examples/translation_moe/src/logsumexp_moe.py nmt_nlu/fairseq/tasks/semisupervised_translation.py nmt_nlu/fairseq/data/list_dataset.py nmt_nlu/fairseq/data/pad_dataset.py nmt_nlu/preprocess.py nmt_nlu/examples/noisychannel/rerank_generate.py nmt_nlu/fairseq/tasks/translation_from_pretrained_xlm.py nmt_nlu/tests/test_concat_dataset.py nmt_nlu/fairseq/data/multi_corpus_sampled_dataset.py nmt_nlu/fairseq/modules/positional_embedding.py nmt_nlu/examples/translation_moe/src/__init__.py nmt_nlu/fairseq/tasks/multilingual_masked_lm.py nmt_nlu/fairseq/quantization_utils.py nmt_nlu/fairseq/modules/layer_norm.py nmt_nlu/fairseq/modules/quantization/scalar/ops.py nmt_nlu/fairseq_cli/eval_lm.py nmt_nlu/fairseq/data/offset_tokens_dataset.py nmt_nlu/fairseq/data/encoders/characters.py nmt_nlu/fairseq/modules/gumbel_vector_quantizer.py nmt_nlu/scripts/rm_pt.py nmt_nlu/fairseq/models/lightconv_lm.py nmt_nlu/fairseq/sequence_scorer.py nmt_nlu/fairseq/tasks/translation.py nmt_nlu/examples/speech_recognition/data/data_utils.py nmt_nlu/fairseq/models/bart/model.py nmt_nlu/fairseq/optim/adamax.py nmt_nlu/fairseq/optim/lr_scheduler/tri_stage_lr_scheduler.py nmt_nlu/examples/roberta/wsc/wsc_utils.py nmt_nlu/fairseq/models/model_utils.py nmt_nlu/fairseq/data/prepend_dataset.py nmt_nlu/tests/test_average_checkpoints.py nmt_nlu/fairseq/data/mask_tokens_dataset.py nmt_nlu/fairseq/modules/conv_tbc.py nmt_nlu/fairseq/optim/sgd.py nmt_nlu/fairseq_cli/validate.py nmt_nlu/fairseq/model_parallel/modules/multihead_attention.py nmt_nlu/fairseq/modules/quantization/pq/modules/qemb.py nmt_nlu/fairseq/data/denoising_dataset.py nmt_nlu/fairseq/data/encoders/hf_byte_bpe.py nmt_nlu/fairseq/tasks/multilingual_denoising.py nmt_nlu/fairseq/iterative_refinement_generator.py nmt_nlu/fairseq/modules/quantization/scalar/modules/qact.py nmt_nlu/fairseq/models/nat/iterative_nonautoregressive_transformer.py nmt_nlu/fairseq/distributed_utils.py nmt_nlu/fairseq/data/dictionary.py nmt_nlu/fairseq/data/encoders/sentencepiece_bpe.py nmt_nlu/fairseq/optim/lr_scheduler/fairseq_lr_scheduler.py nmt_nlu/fairseq/benchmark/dummy_lm.py nmt_nlu/tests/test_reproducibility.py nmt_nlu/tests/speech_recognition/test_vggtransformer.py nmt_nlu/fairseq/data/encoders/__init__.py nmt_nlu/examples/roberta/multiprocessing_bpe_encoder.py nmt_nlu/fairseq/optim/lr_scheduler/cosine_lr_scheduler.py nmt_nlu/fairseq/models/roberta/model_xlmr.py nmt_nlu/tests/test_convtbc.py nmt_nlu/fairseq/modules/quantization/scalar/modules/qconv.py image_classification/models/resnet.py nmt_nlu/fairseq/modules/sinusoidal_positional_embedding.py nmt_nlu/examples/translation_moe/src/translation_moe.py nmt_nlu/fairseq/data/encoders/nltk_tokenizer.py nmt_nlu/fairseq/models/nat/levenshtein_transformer.py nmt_nlu/fairseq/tokenizer.py nmt_nlu/tests/speech_recognition/asr_test_base.py nmt_nlu/fairseq/models/fairseq_model.py nmt_nlu/fairseq/data/replace_dataset.py nmt_nlu/fairseq/utils.py nmt_nlu/examples/speech_recognition/models/vggtransformer.py nmt_nlu/scripts/read_binarized.py nmt_nlu/fairseq/modules/lightconv_layer/setup.py nmt_nlu/fairseq/optim/bmuf.py nmt_nlu/fairseq/modules/dynamic_crf_layer.py nmt_nlu/examples/speech_recognition/criterions/cross_entropy_acc.py nmt_nlu/tests/test_noising.py nmt_nlu/fairseq/benchmark/dummy_model.py nmt_nlu/fairseq/data/roll_dataset.py nmt_nlu/fairseq/optim/__init__.py nmt_nlu/score.py nmt_nlu/examples/noisychannel/rerank.py nmt_nlu/examples/byte_level_bpe/gru_transformer.py nmt_nlu/fairseq/model_parallel/models/transformer_lm.py nmt_nlu/fairseq/tasks/denoising.py nmt_nlu/fairseq/optim/lr_scheduler/fixed_schedule.py nmt_nlu/tests/test_train.py nmt_nlu/docs/conf.py nmt_nlu/fairseq/binarizer.py nmt_nlu/examples/backtranslation/extract_bt_data.py nmt_nlu/fairseq/model_parallel/criterions/vocab_parallel_cross_entropy.py nmt_nlu/fairseq/models/nat/levenshtein_utils.py nmt_nlu/examples/backtranslation/deduplicate_lines.py nmt_nlu/examples/roberta/commonsense_qa/commonsense_qa_task.py nmt_nlu/validate.py nmt_nlu/fairseq/models/huggingface/__init__.py nmt_nlu/fairseq/optim/fairseq_optimizer.py nmt_nlu/fairseq/criterions/__init__.py nmt_nlu/tests/test_token_block_dataset.py nmt_nlu/fairseq/hub_utils.py nmt_nlu/fairseq/models/composite_encoder.py nmt_nlu/fairseq/legacy_distributed_data_parallel.py nmt_nlu/scripts/average_checkpoints.py nmt_nlu/fairseq/modules/character_token_embedder.py nmt_nlu/fairseq/modules/sparse_transformer_sentence_encoder_layer.py nmt_nlu/examples/roberta/preprocess_RACE.py nmt_nlu/fairseq/modules/dynamicconv_layer/dynamicconv_layer.py nmt_nlu/fairseq/tasks/__init__.py nmt_nlu/examples/roberta/commonsense_qa/__init__.py nmt_nlu/fairseq/models/bart/hub_interface.py nmt_nlu/fairseq/registry.py nmt_nlu/fairseq/models/transformer.py nmt_nlu/examples/speech_recognition/tasks/__init__.py nmt_nlu/eval_lm.py nmt_nlu/fairseq/data/encoders/gpt2_bpe.py nmt_nlu/fairseq/models/fairseq_incremental_decoder.py nmt_nlu/fairseq/optim/lr_scheduler/triangular_lr_scheduler.py nmt_nlu/fairseq/data/encoders/hf_bert_bpe.py nmt_nlu/fairseq/tasks/cross_lingual_lm.py nmt_nlu/fairseq/modules/adaptive_input.py nmt_nlu/tests/utils.py nmt_nlu/fairseq/tasks/legacy_masked_lm.py nmt_nlu/fairseq/modules/lightconv_layer/lightconv_layer.py nmt_nlu/fairseq/tasks/translation_from_pretrained_bart.py nmt_nlu/tests/test_export.py nmt_nlu/hubconf.py nmt_nlu/fairseq/criterions/binary_cross_entropy.py nmt_nlu/fairseq/models/fconv_self_att.py nmt_nlu/setup.py nmt_nlu/fairseq/model_parallel/criterions/__init__.py nmt_nlu/tests/test_memory_efficient_fp16.py nmt_nlu/fairseq/modules/quantization/pq/modules/qlinear.py nmt_nlu/fairseq/trainer.py nmt_nlu/fairseq_cli/score.py nmt_nlu/fairseq/tasks/multilingual_translation.py nmt_nlu/fairseq/data/encoders/utils.py nmt_nlu/fairseq/criterions/cross_entropy.py nmt_nlu/interactive.py nmt_nlu/tests/test_label_smoothing.py nmt_nlu/tests/test_iterators.py nmt_nlu/fairseq/optim/lr_scheduler/reduce_lr_on_plateau.py nmt_nlu/fairseq/modules/sparse_transformer_sentence_encoder.py nmt_nlu/fairseq/data/data_utils.py nmt_nlu/fairseq/modules/fp32_group_norm.py nmt_nlu/fairseq/modules/dynamicconv_layer/__init__.py nmt_nlu/fairseq/models/fairseq_decoder.py nmt_nlu/examples/megatron_11b/detok.py nmt_nlu/fairseq/models/bart/__init__.py nmt_nlu/fairseq/data/transform_eos_dataset.py nmt_nlu/tests/test_backtranslation_dataset.py nmt_nlu/fairseq/data/lru_cache_dataset.py nmt_nlu/fairseq/modules/quantization/pq/modules/__init__.py nmt_nlu/examples/roberta/wsc/__init__.py nmt_nlu/fairseq/modules/adaptive_softmax.py nmt_nlu/fairseq/data/encoders/fastbpe.py nmt_nlu/fairseq/modules/quantization/scalar/__init__.py nmt_nlu/tests/test_sequence_generator.py nmt_nlu/fairseq/__init__.py nmt_nlu/examples/speech_recognition/w2l_decoder.py nmt_nlu/fairseq/modules/kmeans_vector_quantizer.py nmt_nlu/fairseq/modules/__init__.py nmt_nlu/fairseq/tasks/sentence_prediction.py image_classification/optim_laprop.py nmt_nlu/train.py nmt_nlu/fairseq/models/nat/fairseq_nat_model.py nmt_nlu/fairseq/modules/lightconv_layer/__init__.py nmt_nlu/fairseq/file_io.py nmt_nlu/fairseq/logging/meters.py nmt_nlu/fairseq/logging/progress_bar.py nmt_nlu/scripts/spm_train.py nmt_nlu/fairseq/model_parallel/modules/__init__.py nmt_nlu/fairseq/modules/transformer_layer.py nmt_nlu/fairseq/modules/lightconv_layer/cuda_function_gen.py nmt_nlu/examples/translation_moe/src/mean_pool_gating_network.py nmt_nlu/fairseq/pdb.py nmt_nlu/tests/test_resampling_dataset.py nmt_nlu/fairseq/benchmark/dummy_masked_lm.py nmt_nlu/fairseq/data/strip_token_dataset.py nmt_nlu/fairseq/data/nested_dictionary_dataset.py nmt_nlu/fairseq/modules/linearized_convolution.py nmt_nlu/fairseq/optim/adam_gt.py nmt_nlu/fairseq/data/transform_eos_lang_pair_dataset.py nmt_nlu/fairseq/models/masked_lm.py nmt_nlu/fairseq/models/wav2vec.py nmt_nlu/fairseq/optim/lr_scheduler/__init__.py nmt_nlu/fairseq/data/concat_sentences_dataset.py nmt_nlu/fairseq/modules/beamable_mm.py nmt_nlu/fairseq/benchmark/__init__.py nmt_nlu/fairseq/modules/quantization/pq/__init__.py nmt_nlu/examples/speech_recognition/tasks/speech_recognition.py nmt_nlu/examples/speech_recognition/datasets/asr_prep_json.py nmt_nlu/fairseq/models/nat/nonautoregressive_ensembles.py nmt_nlu/fairseq/data/__init__.py nmt_nlu/fairseq/modules/quantization/quantization_options.py nmt_nlu/fairseq/data/encoders/gpt2_bpe_utils.py nmt_nlu/tests/test_dictionary.py nmt_nlu/tests/test_sequence_scorer.py nmt_nlu/fairseq/modules/quantization/scalar/modules/qlinear.py nmt_nlu/examples/byte_level_bpe/get_bitext.py nmt_nlu/examples/wav2vec/wav2vec_featurize.py nmt_nlu/tests/test_bmuf.py nmt_nlu/fairseq/criterions/sentence_prediction.py nmt_nlu/examples/noisychannel/rerank_score_bw.py nmt_nlu/fairseq/model_parallel/megatron_trainer.py nmt_nlu/fairseq/optim/adafactor.py nmt_nlu/fairseq/criterions/fairseq_criterion.py nmt_nlu/fairseq/model_parallel/__init__.py nmt_nlu/fairseq/modules/quantization/pq/modules/qconv.py nmt_nlu/examples/speech_recognition/data/replabels.py nmt_nlu/fairseq/modules/grad_multiply.py nmt_nlu/scripts/spm_encode.py nmt_nlu/fairseq/data/language_pair_dataset.py nmt_nlu/fairseq/data/id_dataset.py nmt_nlu/fairseq/data/prepend_token_dataset.py nmt_nlu/fairseq/models/lstm_lm.py nmt_nlu/scripts/spm_decode.py nmt_nlu/fairseq/optim/adadelta.py nmt_nlu/examples/speech_recognition/data/asr_dataset.py nmt_nlu/fairseq/modules/sparse_multihead_attention.py nmt_nlu/fairseq/data/append_token_dataset.py nmt_nlu/fairseq/criterions/label_smoothed_cross_entropy_with_alignment.py nmt_nlu/examples/roberta/wsc/wsc_criterion.py nmt_nlu/fairseq/modules/dynamic_convolution.py nmt_nlu/fairseq/modules/dynamicconv_layer/setup.py nmt_nlu/fairseq/data/encoders/space_tokenizer.py nmt_nlu/examples/wav2vec/wav2vec_manifest.py nmt_nlu/fairseq/models/fairseq_encoder.py nmt_nlu/fairseq/criterions/label_smoothed_cross_entropy.py nmt_nlu/examples/speech_recognition/data/__init__.py nmt_nlu/examples/noisychannel/rerank_utils.py image_classification/models/__init__.py nmt_nlu/examples/speech_recognition/models/__init__.py nmt_nlu/fairseq/models/roberta/hub_interface.py nmt_nlu/fairseq/modules/quant_noise.py nmt_nlu/fairseq/criterions/sentence_ranking.py nmt_nlu/examples/speech_recognition/__init__.py nmt_nlu/fairseq/data/numel_dataset.py nmt_nlu/fairseq_cli/train.py nmt_nlu/fairseq_cli/interactive.py nmt_nlu/tests/test_multi_corpus_sampled_dataset.py nmt_nlu/tests/speech_recognition/test_cross_entropy.py nmt_nlu/fairseq/criterions/masked_lm.py nmt_nlu/fairseq/models/fconv.py nmt_nlu/fairseq/data/plasma_utils.py nmt_nlu/fairseq/optim/adagrad.py nmt_nlu/scripts/shard_docs.py nmt_nlu/tests/test_lstm_jitable.py image_classification/optim_adam.py nmt_nlu/fairseq/optim/fused_adam.py nmt_nlu/fairseq/data/legacy/masked_lm_dataset.py nmt_nlu/fairseq/models/distributed_fairseq_model.py nmt_nlu/fairseq/data/iterators.py nmt_nlu/fairseq/data/encoders/moses_tokenizer.py nmt_nlu/examples/speech_recognition/criterions/CTC_loss.py nmt_nlu/fairseq/optim/lr_scheduler/inverse_square_root_schedule.py nmt_nlu/fairseq/data/encoders/byte_utils.py nmt_nlu/fairseq/models/roberta/alignment_utils.py nmt_nlu/fairseq/criterions/adaptive_loss.py nmt_nlu/fairseq/bleu.py nmt_nlu/fairseq/nan_detector.py nmt_nlu/fairseq/models/fconv_lm.py nmt_nlu/fairseq/data/legacy/block_pair_dataset.py nmt_nlu/fairseq/modules/multihead_attention.py nmt_nlu/fairseq/models/nat/insertion_transformer.py nmt_nlu/fairseq/modules/lightweight_convolution.py nmt_nlu/fairseq/models/nat/nat_crf_transformer.py nmt_nlu/tests/speech_recognition/test_collaters.py nmt_nlu/fairseq/data/raw_label_dataset.py nmt_nlu/examples/__init__.py nmt_nlu/fairseq/models/lstm.py nmt_nlu/fairseq/file_utils.py nmt_nlu/fairseq/tasks/translation_lev.py nmt_nlu/fairseq/models/__init__.py nmt_nlu/fairseq/modules/dynamicconv_layer/cuda_function_gen.py nmt_nlu/fairseq/criterions/nat_loss.py nmt_nlu/fairseq/model_parallel/modules/transformer_layer.py nmt_nlu/fairseq/model_parallel/models/__init__.py nmt_nlu/fairseq/models/roberta/model_camembert.py nmt_nlu/fairseq/data/encoders/subword_nmt_bpe.py nmt_nlu/fairseq/criterions/legacy_masked_lm.py nmt_nlu/examples/translation_moe/score.py nmt_nlu/fairseq/models/roberta/model.py nmt_nlu/examples/roberta/wsc/wsc_task.py nmt_nlu/tests/test_utils.py nmt_nlu/fairseq/data/fairseq_dataset.py nmt_nlu/fairseq/data/subsample_dataset.py nmt_nlu/fairseq/modules/quantization/pq/utils.py nmt_nlu/fairseq/modules/quantization/scalar/modules/__init__.py nmt_nlu/examples/noisychannel/rerank_tune.py nmt_nlu/fairseq/modules/quantization/pq/pq.py nmt_nlu/fairseq/data/resampling_dataset.py nmt_nlu/fairseq/data/audio/raw_audio_dataset.py nmt_nlu/fairseq/data/legacy/masked_lm_dictionary.py nmt_nlu/fairseq_cli/generate.py nmt_nlu/fairseq/optim/adaptive_nesterov.py nmt_nlu/tests/test_binaries.py nmt_nlu/fairseq/tasks/audio_pretraining.py nmt_nlu/fairseq/checkpoint_utils.py nmt_nlu/fairseq/models/transformer_lm.py nmt_nlu/fairseq/data/truncate_dataset.py nmt_nlu/fairseq/modules/transformer_sentence_encoder_layer.py nmt_nlu/fairseq/sequence_generator.py synthetic_data/nqm.py nmt_nlu/fairseq/models/nat/__init__.py nmt_nlu/fairseq/optim/adam.py nmt_nlu/fairseq/optim/laprop.py nmt_nlu/fairseq/search.py nmt_nlu/fairseq/modules/downsampled_multihead_attention.py nmt_nlu/fairseq/modules/quantization/pq/em.py nmt_nlu/examples/speech_recognition/criterions/ASG_loss.py nmt_nlu/fairseq/criterions/composite_loss.py nmt_nlu/examples/paraphraser/paraphrase.py nmt_nlu/scripts/count_docs.py nmt_nlu/examples/speech_recognition/criterions/__init__.py nmt_nlu/fairseq/data/noising.py nmt_nlu/tests/test_metrics.py nmt_nlu/fairseq/data/concat_dataset.py nmt_nlu/tests/test_file_io.py nmt_nlu/fairseq/model_parallel/models/transformer.py MAdam LaMadam create_optimizer build_model build_dataset test main train get_parser ResNet ResNet18 ResNet34 Bottleneck ResNet101 test ResNet50 BasicBlock ResNet152 NumpyExtension main get_hashes_and_lines main _convert_to_bchar _apply_bpe _convert_xml pretokenize _get_chars _concat_files preprocess_iwslt17 _get_bpe _convert_train main _apply_bbpe _get_bytes gru_transformer_big GRUTransformerEncoder GRUTransformerModel gru_transformer_base_architecture main load_score_files score_target_hypo cli_main rerank match_target_hypo cli_main gen_and_reprocess_nbest add_reranking_args get_tuning_parser get_reranking_parser add_tuning_args score_bw cli_main score_lm cli_main random_search cli_main get_score get_prefix_no_bpe get_prefix_from_len rescore_file_name get_num_bpe_tokens_from_len LMOutput lm_scoring make_right_to_left get_score_from_pos remove_bpe reprocess_nbest reprocess get_directories parse_bleu_scoring get_prefix BitextOutputFromGen remove_bpe_dict parse_lm calc_length_from_frac get_full_from_prefix BitextOutput write_reprocessed main main MultiprocessingEncoder main get_examples InputExample CommonsenseQATask WSCCriterion WinograndeCriterion WSCTask WinograndeTask find_span find_token get_spacy_nlp jsonl_iterator convert_sentence_to_json filter_noun_chunks winogrande_jsonl_iterator extended_noun_chunks get_detokenizer process_predictions optimize_models cli_main load_models_and_criterions get_dataset_itr prepare_result_files add_asr_eval_argument main check_args W2lKenLMDecoder W2lDecoder W2lViterbiDecoder ASGCriterion CrossEntropyWithAccCriterion compute_ctc_uer CTCCriterion arr_to_toks AsrDataset Seq2SeqCollater apply_mv_norm lengths_to_encoder_padding_mask calc_mean_invstddev encoder_padding_mask_to_lengths unpack_replabels replabel_symbol pack_replabels main process_sample vggtransformer_base VGGTransformerEncoder prepare_transformer_encoder_params vggtransformer_enc_1 LinearizedConv1d Embedding LayerNorm VGGTransformerEncoderOnly TransformerDecoder base_architecture prepare_transformer_decoder_params vggtransformer_1 vggtransformer_2 VGGTransformerModel base_architecture_enconly VGGTransformerEncoderModel Linear w2l_conv_glu_enc W2lConvGluEncoder W2lConvGluEncoderModel SpeechRecognitionTask get_asr_dataset_from_json offset_to_col Code Token trimWhitespace EditDistance merge_counts AlignmentResult calc_wer_stats coordinate_to_offset calc_wer str2toks get_wer_alignment_codes offset_to_row WERTransformer corpus_bleu intra_ref load_sys merge dictolist multi_ref sentence_bleu main pairwise load_ref LogSumExpMoE MeanPoolGatingNetwork TranslationMoETask FilesDataset DatasetWriter ArgTypes PretrainedWav2VecModel EmbeddingDatasetWriter H5Writer Prediction read_audio EmbeddingWriterConfig main get_parser Binarizer safe_readline BleuStat SacrebleuScorer Scorer load_checkpoint_to_cpu torch_persistent_save convert_state_dict_type load_checkpoint verify_checkpoint_directory load_pretrained_component_from_model load_model_ensemble_and_task prune_state_dict save_checkpoint load_model_ensemble save_state _upgrade_state_dict checkpoint_paths all_reduce_dict call_main all_gather_list get_default_group is_master get_world_size all_reduce _distributed_main get_rank infer_init_method distributed_init PathManager cached_path s3_etag http_get s3_request s3_get read_set_from_file get_from_cache filename_to_url load_archive_file url_to_filename split_s3_path request_wrap_timeout get_file_extension from_pretrained GeneratorHubInterface TokenizerHubInterface BPEHubInterface FairseqIncrementalState with_incremental_state IterativeRefinementGenerator LegacyDistributedDataParallel NanDetector parse_args_and_arch eval_str_list get_validation_parser add_distributed_training_args add_checkpoint_args get_preprocessing_parser add_generation_args get_parser eval_bool add_eval_lm_args add_preprocess_args add_model_args add_common_eval_args get_eval_lm_parser add_dataset_args add_interactive_args add_optimization_args get_interactive_generation_parser get_generation_parser get_training_parser MultiprocessingPdb set_trace Quantizer quantize_model_scalar set_defaults setup_registry LengthConstrainedBeamSearch DiverseSiblingsSearch BeamSearch Sampling Search DiverseBeamSearch EnsembleModel SequenceGenerator EnsembleModelWithAlignment SequenceGeneratorWithAlignment BeamContainer SequenceScorer tokenize_line Trainer extract_hard_alignment clip_grad_norm_ get_token_to_word_mapping import_user_module move_to_cpu deprecation_warning print_embed_overlap set_incremental_state has_parameters split_paths load_ensemble_for_inference _match_types parse_embedding parse_alignment move_to_cuda post_process_prediction get_available_activation_fns load_embedding get_perplexity new_arange apply_to_sample strip_pad buffered_arange log_softmax resolve_max_positions load_align_dict eval softmax get_activation_fn item convert_padding_direction make_positions set_torch_seed get_incremental_state with_torch_seed fill_with_neg_inf replace_unk DummyDataset DummyLMTask DummyMaskedLMTask DummyDataset base_architecture DummyEncoder DummyModel AdaptiveLoss BinaryCrossEntropyCriterion CompositeLoss CrossEntropyCriterion LegacyFairseqCriterion FairseqCriterion label_smoothed_nll_loss LabelSmoothedCrossEntropyCriterion LabelSmoothedCrossEntropyCriterionWithAlignment compute_cross_entropy_loss LegacyMaskedLmLoss MaskedLmLoss LabelSmoothedDualImitationCriterion SentencePredictionCriterion SentenceRankingCriterion AppendTokenDataset backtranslate_samples BacktranslationDataset BaseWrapperDataset ColorizeDataset ConcatDataset ConcatSentencesDataset collect_filtered batch_by_size process_bpe_symbol numpy_seed load_indexed_dataset collate_tokens infer_language_pair _filter_by_size_dynamic filter_by_size DenoisingDataset collate TruncatedDictionary Dictionary FairseqIterableDataset FairseqDataset EpochListening IdDataset infer_dataset_impl make_builder IndexedCachedDataset index_file_path IndexedDatasetBuilder __best_fitting_dtype code dataset_exists IndexedDataset IndexedRawTextDataset make_dataset get_available_dataset_impl read_longs MMapIndexedDatasetBuilder write_longs data_file_path MMapIndexedDataset _warmup_mmap_file ShardedIterator CountingIterator StreamingEpochBatchIterator EpochBatchIterating EpochBatchIterator GroupedIterator LanguagePairDataset collate ListDataset LMContextWindowDataset LRUCacheDataset MaskTokensDataset MonolingualDataset collate uniform_sampler MultiCorpusSampledDataset _unflatten _flatten NestedDictionaryDataset UnsupervisedMTNoising NoisingDataset WordDropout WordShuffle WordNoising NumelDataset NumSamplesDataset OffsetTokensDataset PadDataset LeftPadDataset RightPadDataset PlasmaArray PrependDataset PrependTokenDataset RawLabelDataset ReplaceDataset ResamplingDataset RollDataset RoundRobinZipDatasets SortDataset StripTokenDataset SubsampleDataset TokenBlockDataset TransformEosDataset TransformEosLangPairDataset TruncateDataset BlockPairDataset MaskedLMDataset MaskedLMDictionary BertDictionary FileAudioDataset RawAudioDataset Bytes ByteBPE byte_decode smart_byte_decode byte_encode Characters fastBPE GPT2BPE bytes_to_unicode get_pairs get_encoder Encoder BertBPE HuggingFaceByteLevelBPE MosesTokenizer NLTKTokenizer SentencepieceBPE SpaceTokenizer SubwordNMTBPE get_whole_word_mask MetersDict type_as AverageMeter Meter StopwatchMeter TimeMeter safe_round get_meter state_dict aggregate reset_meters get_smoothed_value log_scalar log_start_time get_active_aggregators reset log_custom get_meters reset_meter load_state_dict get_smoothed_values log_derived log_stop_time log_speed TqdmProgressBar BaseProgressBar progress_bar _close_writers TensorboardProgressBarWrapper rename_logger format_stat NoopProgressBar SimpleProgressBar build_progress_bar JsonProgressBar CompositeEncoder DistributedFairseqModel FairseqDecoder FairseqEncoder FairseqIncrementalDecoder BaseFairseqModel FairseqEncoderDecoderModel FairseqMultiModel FairseqLanguageModel FairseqModel FairseqEncoderModel PositionalEmbedding ConvTBC LinearizedConv1d Embedding fconv_iwslt_de_en fconv_wmt_en_ro FConvModel base_architecture AttentionLayer fconv_wmt_en_de FConvEncoder extend_conv_spec fconv_wmt_en_fr FConvDecoder Linear FConvLanguageModel base_lm_architecture fconv_lm_dauphin_wikitext103 fconv_lm_dauphin_gbw FConvModelSelfAtt PositionalEmbedding ConvTBC LinearizedConv1d Embedding SelfAttention fconv_self_att_wp base_architecture FConvEncoder FConvDecoder Linear LightConvModel LightConvDecoder LightConvDecoderLayer lightconv_wmt_zh_en_big Embedding LightConvEncoderLayer base_architecture LightConvEncoder lightconv_wmt_en_de_big lightconv_wmt_en_fr_big lightconv_iwslt_de_en lightconv_wmt_en_de Linear LightConvLanguageModel lightconv_lm_gbw base_lm_architecture lstm_wiseman_iwslt_de_en LSTMModel Embedding LSTM lstm_luong_wmt_en_de LSTMEncoder AttentionLayer LSTMCell base_architecture LSTMDecoder Linear base_architecture LSTMLanguageModel MaskedLMEncoder bert_base_architecture base_architecture bert_large_architecture xlm_architecture MaskedLMModel coalesce script_skip_tensor_list expand_2d_or_3d_tensor script_skip_tensor fill_tensors base_multilingual_architecture multilingual_transformer_iwslt_de_en MultilingualTransformerModel TransformerAlignModel transformer_vaswani_wmt_en_de_big transformer_wmt_en_de_big Embedding transformer_wmt_en_de_big_t2t transformer_wmt_en_de TransformerDecoder TransformerModel base_architecture transformer_vaswani_wmt_en_fr_big transformer_iwslt_de_en transformer_wmt_en_de_big_align transformer_prenorm_deep_wmt_en_de transformer_prenorm_wmt_en_de transformer_align TransformerEncoder Linear TransformerFromPretrainedXLMModel base_architecture upgrade_state_dict_with_xlm_weights TransformerDecoderFromPretrainedXLM TransformerEncoderFromPretrainedXLM transformer_lm_big transformer_lm_gpt2_big transformer_lm_baevski_gbw base_lm_architecture transformer_lm_gpt2_small TransformerLanguageModel transformer_lm_baevski_wiki103 transformer_lm_gpt transformer_lm_gpt2_medium ConvFeatureExtractionModel Wav2VecPredictionsModel ZeroPad1d TransposeLast ConvAggegator norm_block Wav2VecModel base_wav2vec_architecture register_model_architecture register_model build_model BARTHubInterface bart_base_architecture bart_large_architecture mbart_base_architecture mbart_base_wmt20_architecture BARTModel mbart_large_architecture BARTClassificationHead HuggingFaceGPT2LanguageModel HuggingFaceGPT2Decoder hf_gpt2_medium hf_gpt2_xl default_architecture hf_gpt2_large _skeptical_unmasking cmlm_base_architecture cmlm_wmt_en_de CMLMNATransformerModel FairseqNATModel ensemble_decoder FairseqNATEncoder ensemble_encoder FairseqNATDecoder insertion_base_architecture InsertionTransformerDecoder InsertionTransformerModel NegativeDistanceScore _get_ins_targets _apply_ins_words IterNATransformerModel gumbel_noise _sequential_poisoning iter_nat_wmt_en_de inat_base_architecture LevenshteinTransformerDecoder levenshtein_transformer_vaswani_wmt_en_de_big levenshtein_transformer_wmt_en_de levenshtein_base_architecture LevenshteinTransformerModel levenshtein_transformer_wmt_en_de_big_t2t _fill _get_del_targets _apply_ins_masks _skip_encoder_out _get_ins_targets _apply_ins_words _apply_del_words _skip load_libnat nacrf_base_architecture NACRFTransformerModel EnsembleLevT BasicEnsembleModel _EnsembleModelEncoder _mean_pooling _argmax NATransformerModel base_architecture NATransformerDecoder _uniform_assignment nonautoregressive_transformer_wmt_en_de spacy_tokenizer spacy_nlp align_bpe_to_words align_features_to_words RobertaHubInterface RobertaEncoder RobertaLMHead base_architecture roberta_large_architecture RobertaClassificationHead roberta_base_architecture xlm_architecture RobertaModel CamembertModel XLMRModel MegatronTrainer VocabParallelCrossEntropyCriterion ModelParallelTransformerModel ModelParallelTransformerEncoder ModelParallelTransformerDecoder transformer_lm_megatron transformer_lm_megatron_11b ModelParallelTransformerLanguageModel ModelParallelMultiheadAttention ModelParallelTransformerDecoderLayer ModelParallelTransformerEncoderLayer GumbelVectorQuantizer AdaptiveInput TiedLinear AdaptiveSoftmax TiedHeadModule RectifyBatchNorm BeamableMM CharacterTokenEmbedder Highway ConvTBC cross_entropy _cross_entropy_pytorch SingleHeadAttention Downsample GatedLinear DownsampledMultiHeadAttention Linear DynamicConv DynamicConv1dTBC Linear DynamicCRF logsumexp Fp32GroupNorm gelu_accurate gelu GradMultiply KmeansVectorQuantizer FusedLayerNorm LayerNorm Fp32LayerNorm LearnedPositionalEmbedding LightweightConv LightweightConv1d LightweightConv1dTBC LinearizedConvolution MultiheadAttention PositionalEmbedding quant_noise ScalarBias scalar_bias SinusoidalPositionalEmbedding SparseMultiheadAttention SparseTransformerSentenceEncoder SparseTransformerSentenceEncoderLayer Linear TransformerEncoderLayer TransformerDecoderLayer TransformerSentenceEncoder init_bert_params TransformerSentenceEncoderLayer unfold1d infer_conv_output_dim VGGBlock _pair gen_forward gen_backward dynamicconvFunction DynamicconvLayer gen_forward gen_backward LightconvLayer lightconvFunction convert_yaml_to_tuple parse_config_yaml EmptyClusterResolveError EM PQ quantize_model_ get_param attrsetter SizeTracker get_layers PQConv2d PQEmbedding PQLinear emulate_int quantize emulate_int8_channel emulate_int8_histogram emulate_int8_tensor quantize_model_ ActivationQuantizer IntConv2d IntEmbedding IntLinear Adadelta Adafactor FairseqAdafactor Adagrad FairseqRAdagradM FairseqAdagradM AdagradM RAdagradM FairseqAdagrad FairseqMAdam MAdam Adam FairseqAdam FairseqAdamax Adamax FairseqAdamBB AdamIGT FairseqAdamGT AdamGT FairseqAdamIGT AdamBB RAdam_mule FairseqRAdamNesdiv FairseqRAdamMule RAdam_nesdiv FairseqRAdamMultibeta RAdam_adv_v2 FairseqRAdamAdv Adam_multibeta RAdam_nesada FairseqRAdamNesada Bender Bender_v2 FairseqBender FairseqBMUF FairseqOptimizer MemoryEfficientFP16Optimizer _FP16OptimizerMixin DynamicLossScaler FP16Optimizer _MemoryEfficientFP16OptimizerMixin FusedAdamV2 FusedAdamV1 get_fused_adam_class FairseqLAMB LaMAdam FairseqLaMAdam NAG FairseqNAG SGD CosineSchedule FairseqLRScheduler FixedSchedule InverseSquareRootSchedule PolynomialDecaySchedule ReduceLROnPlateau TriangularSchedule TriStageLRSchedule AudioPretrainingTask CrossLingualLMTask DenoisingTask FairseqTask LanguageModelingTask LegacyMaskedLMTask MaskedLMTask MultilingualDenoisingTask MultiLingualMaskedLMTask MultilingualTranslationTask _lang_token _lang_token_index _get_bt_dataset_key parse_lambda_config SemisupervisedTranslationTask _get_denoising_dataset_key SentencePredictionTask SentenceRankingTask load_langpair_dataset TranslationTask TranslationFromPretrainedBARTTask TranslationFromPretrainedXLMTask TranslationLevenshteinTask setup_task register_task get_task main WordStat cli_main main _main cli_main main buffered_read cli_main make_batches dataset_dest_file binarize_alignments binarize get_offsets dataset_dest_prefix cli_main main get_parser cli_main validate get_valid_stats should_stop_early distributed_main validate_and_save cli_main main train get_training_stats setup_comet main cli_main main last_n_checkpoints average_checkpoints main main main main get_parser parse_checkpoints last_n_checkpoints main every_n_checkpoints main main main main TestAverageCheckpoints ModelWithSharedParameter TestBacktranslationDataset train_translation_model TestStories TestLanguageModeling generate_main preprocess_lm_data create_dummy_roberta_head_data train_masked_language_model TestMaskedLanguageModel train_language_model train_masked_lm train_legacy_masked_language_model create_dummy_data eval_lm_main preprocess_translation_data train_roberta_head TestTranslation TestOptimizers quantize_language_model TestQuantization setup_args single_gpu_training train_step setup_model_loss_criterion Model TestBMUF TestCharacterTokenEmbedder TestConcatDataset TestConvTBC TestDictionary _test_save_and_load TestExportModels DummyTask get_dummy_task_and_parser get_dummy_dictionary TestFileIO TestIterators TestLabelSmoothing get_dummy_dictionary DummyTask get_dummy_task_and_parser TestJitLSTMModel TestMemoryEfficientFP16 TestMetrics TestMultiheadAttention TestMultiCorpusSampledDataset TestDataNoising TestReproducibility TestResamplingDataset TestJitEnsemble TestJitSequenceGeneratorBase TestExportSearch TestSequenceGeneratorBase TestDiverseSiblingsSearch TestJitSequeneceGenerator TestDiverseBeamSearch TestTopPSamplingSearch DummyTask get_dummy_task_and_parser TestSequeneceGenerator get_dummy_dictionary TestSequenceScorer TestSparseMultiheadAttention TestTokenBlockDataset mock_dict mock_trainer get_trainer_and_epoch_itr TestLoadCheckpoint TestUtils TestDataset TestEncoder sequence_generator_setup dummy_dataloader TestModel dummy_dictionary TestReshapingModel TestReshapingEncoder TestTranslationTask TestIncrementalDecoder TestFairseqEncoderBase TestFairseqEncoderModelBase check_decoder_output CrossEntropyCriterionTestBase get_dummy_encoder_output TestFairseqDecoderBase DummyEncoder DummyTask get_dummy_input get_dummy_task_and_parser TestBaseFairseqModelBase get_dummy_dictionary DummyEncoderModel check_encoder_output _current_postion_info TestFairseqEncoderDecoderModelBase TestSeq2SeqCollator CrossEntropyWithAccCriterionTest VGGTransformerModelTest_big VGGTransformerModelTest_mid VGGTransformerModelTest_base VGGTransformerEncoderTest TransformerDecoderTest grid_search Adam MAdam update_dict func grad_func plot_curves runexp loss MAdam Adam add_argument ArgumentParser print Compose dset DataLoader CIFAR10 CIFAR100 print to load_state_dict DataParallel log_metric CosineAnnealingLR format criterion backward print isinstance float zero_grad strftime getattr zip step max net enumerate len print float eval log_metric MultiStepLR set_name save get_parser seed comet StepLR epochs append parse_args build_dataset CrossEntropyLoss range create_optimizer build_model Experiment tag test mkdir manual_seed CosineAnnealingLR log_metric join print add_tag parameters expname train step gpu randn ResNet18 size net hexdigest add_argument set ArgumentParser MosesTokenizer Args namedtuple join Train Args namedtuple ByteBPE SentencepieceBPE Args namedtuple join remove _apply_bpe _convert_to_bchar _concat_files _convert_xml pretokenize _get_chars _get_bpe _convert_train _apply_bbpe _get_bytes bbpe_vocab preprocess_iwslt17 char_vocab bpe_vocab root byte_vocab encoder_embed_dim encoder_ffn_embed_dim getattr decoder_embed_dim getattr gru_transformer_base_architecture replace files MosesDetokenizer input get_score unk eos list sorted result_string len add pad backwards append no_bpe_target range Scorer Dictionary parse_bleu_scoring keys load_score_files print encode_line get_full_from_prefix split print normalize argmax score_target_hypo data_dir_name right_to_left2 lm_name backwards2 rescore_file_name target_prefix_frac right_to_left1 lm_dict backwards1 list gen_model_name LMOutput diff_bpe all_shards num_rescore append range gen_subset nbest_list model2_name num_shards prefix_len remove_bpe sampling get_directories BitextOutputFromGen print source_prefix_frac model1_name BitextOutput list num_shards gen_model_name prefix_len data_dir_name gen_and_reprocess_nbest source_prefix_frac write_hypos score_bw score_lm sampling all_shards num_rescore get_directories target_prefix_frac range gen_subset match_target_hypo rerank get_reranking_parser parse_args_and_arch data backwards_score_dict_dir data_dir_name parse_args_and_arch target get_preprocessing_parser source rescore_file_name target_prefix_frac shard_id backwards1 str gen_model_name diff_bpe call dirname num_rescore no_bpe_target hypo parse_args gen_subset nbest_list model2_name no_bpe_hypo num_shards prefix_len sampling get_directories no_bpe_source main join score_dict_dir BitextOutputFromGen print source_lang source_prefix_frac model1_name get_generation_parser rescore_bpe_code target_lang write_reprocessed makedirs gen_and_reprocess_nbest add_reranking_args get_parser add_reranking_args get_parser add_tuning_args add_argument_group add_argument add_argument_group add_argument data_dir_name right_to_left2 parse_args_and_arch backwards2 rescore_file_name right_to_left1 target_prefix_frac shard_id backwards1 gen_model_name num_rescore gen_subset model2_name num_shards prefix_len sampling get_directories print source_lang source_prefix_frac model1_name get_generation_parser target_lang score_bw language_model data_dir_name lm_name rescore_file_name lm_dict target_prefix_frac shard_id gen_model_name lm_scoring num_rescore gen_subset nbest_list num_shards prefix_len sampling get_directories lm_bpe_code BitextOutputFromGen print source_lang source_prefix_frac target_lang score_lm seed list tune_param tune_subset concatenate Namespace gen_subset index copy rerank nbest_list share_weights array range enumerate len random_search get_tuning_parser int search group span append float compile split strip search group span append float enumerate compile split get_prefix_no_bpe len remove_bpe ceil split split sum get_prefix_no_bpe join reverse split rstrip replace remove_bpe search compile strip len get_num_bpe_tokens_from_len calc_length_from_frac append sum range len str join dirname no_bpe_hypo parse_args_and_arch call get_eval_lm_parser get_preprocessing_parser main no_bpe_target no_bpe_source write_reprocessed parse_args user_dir info strip eval dirname abspath fr2en en2fr exists gen_paraphrases join listdir split str label write close paragraph open output_dir input_dir get_examples makedirs len replace split enumerate add text lower idx startswith len MosesDetokenizer load get_spacy_nlp get_detokenizer append lower add_argument format print debug DecodePieces string cpu split load_checkpoint_to_cpu setup_task build_model load_state_dict build_criterion append fp16 make_generation_fast_ cuda half setup_task data process_predictions import_user_module StopwatchMeter get_dataset_itr SentencePieceProcessor dataset stop log check_args inference_step tolist progress_bar load_dataset sum gen_subset update format optimize_models results_path start TimeMeter avg prepare_result_files beam enumerate n criterion target_dictionary build_generator Load path load_models_and_criterions pathsep split cpu len add_asr_eval_argument get_generation_parser main append str Token align codes tolist append range arr_to_toks mean var any calc_mean_invstddev size item append replabel_symbol range index append range int join length rate channels map encode_line info EncodeAsPieces endswith Sample cpu_count name from_iterable dictionary dump audio_format load namedtuple labels output Namespace Namespace bias LinearizedConvolution sqrt normal_ weight constant_ getattr getattr getattr getattr getattr getattr getattr append Token split WERTransformer WERTransformer WERTransformer items list ref intra_ref load_sys sys multi_ref load_ref pairwise merge list items sorted append rstrip startswith _corpus_bleu sys_len totals ref_len _corpus_bleu counts compute_bleu range append range len list corpus_bleu print add choice set mean zip append argmax range len list corpus_bleu print extend from_iterable zip append pairwise range enumerate len read Random realpath ext tell StopwatchMeter save_dir hasattr OrderedDict getattr sum update epoch get_num_updates format copy start info remove lexists end_of_epoch best_function stop checkpoint_paths makedirs join epoch format optimizer_overrides get_train_iterator reset_optimizer lr_step reset_lr_scheduler eval getattr load_state_dict restore_file save_dir items list setattr _upgrade_state_dict load_model_ensemble_and_task load_checkpoint_to_cpu setup_task replace build_model load_state_dict append fullmatch append listdir compile enumerate range items list isinstance OrderedDict is_tensor convert_state_dict_type has_parameters state_dict get items list getattr set_defaults max max_positions list group search create_pruning_pass info append keys load_checkpoint_to_cpu list isinstance OrderedDict load_state_dict startswith keys join makedirs get int format all check_output distributed_world_size is_master warn distributed_rank get_model_parallel_rank setLevel cuda seed distributed_init_method get_rank format init_process_group info is_available model_parallel_size INFO model_parallel_cuda_manual_seed WARNING gethostname all_reduce initialize_model_parallel is_initialized zeros get set_device main device_id distributed_init format spawn randint distributed_rank _distributed_main main infer_init_method device_id get_default_group _cpu_buffer copy_ move_to_cpu loads list tolist _buffer get_rank append range pack get_world_size ByteTensor unpack zero_ pin_memory bytes dumps all_reduce cpu len list _all_reduce_dict OrderedDict tensor to keys cached_path join remove format move mkdtemp rmtree info encode hexdigest sha256 str join isinstance str urlparse isinstance exists path netloc urlparse startswith resource split_s3_path Object resource split_s3_path download_fileobj enumerate get update partial write close tqdm request_wrap_timeout iter_content len get str s3_etag join partial list isinstance url_to_filename filter request_wrap_timeout startswith listdir head makedirs set items list join isinstance Namespace load_archive_file import_user_module load_model_ensemble_and_task startswith abspath exists tuple add_preprocess_args get_parser add_model_args add_optimization_args add_dataset_args add_distributed_training_args add_checkpoint_args get_parser add_interactive_args add_dataset_args get_parser add_generation_args add_eval_lm_args add_dataset_args add_distributed_training_args get_parser add_argument_group add_dataset_args add_common_eval_args get_parser eval isinstance items list hasattr max_tokens add_argument_group add_argument import_user_module parse_known_args add_args getattr ArgumentParser modify_parser parse_args set_defaults max_sentences items list replace import_user_module parse_known_args add_argument_group add_argument add_argument_group add_argument add_argument_group add_argument add_argument_group add_argument add_argument_group add_argument add_argument add_argument_group add_common_eval_args add_argument add_argument_group add_common_eval_args add_argument add_argument_group add_argument add_argument_group add_argument f_back MultiprocessingPdb quantize_model_ getattr replace set items list Namespace dest add_args ArgumentParser setattr _actions default strip sub deprecation_warning format set info symbols keys len range len get tokenize_line enumerate unk_string replace_unk string encode_line int resize_ arange LongTensor remainder arange size eq expand_as sum long hasattr norm list isinstance aggregate_norm_fn stack clamp_ mul_ Tensor float list isinstance _match_types tuple min map zip map_value_update pop join user_dir insert import_module getattr dirname abspath exists split warn deprecation_warning train training parameters next manual_seed set_rng_state get_rng_state set_torch_seed int split IntTensor enumerate len accumulate list len squeeze get_token_to_word_mapping zip append float max size squeeze size masked_fill_ eq unsqueeze sum log_softmax nll_loss generate_fn collate_fn listdir split copy_tensor max fill_ enumerate infer_dataset_impl format count make_dataset info append len seed int get_state hash append function fromiter collect_filtered format size tolist _filter_by_size_dynamic warning len fromiter GeneratorType isinstance strip rstrip LongTensor sort index_select sum merge exists empty readinto write array list keys shape compute_alignment_weights zeros cat isinstance update str list items isinstance OrderedDict enumerate int list items OrderedDict split sub byte_decode min range len append list range ord add set list map build_bpe ByteTensor range len hasattr clear MetersDict uuid4 str clear update MetersDict setdefault copy update AverageMeter get_active_aggregators add_meter get_active_aggregators _DerivedMeter add_meter update get_active_aggregators TimeMeter reset add_meter start StopwatchMeter get_active_aggregators add_meter get_active_aggregators stop update new_meter_fn get_active_aggregators add_meter get_meter reset reset get_meters items list MetersDict TqdmProgressBar FbTbmfWrapper NoopProgressBar SimpleProgressBar JsonProgressBar getattr sum format isinstance tolist round avg is_tensor name close values dict DistributedDataParallel GossipDataParallel find_unused_parameters append normal_ weight constant_ normal_ LearnedPositionalEmbedding weight constant_ bias normal_ weight constant_ bias sqrt normal_ weight constant_ base_architecture getattr base_architecture getattr base_architecture getattr base_architecture getattr getattr base_lm_architecture getattr base_lm_architecture getattr zero_ zero_ zero_ base_architecture getattr xavier_uniform_ encoder_layers encoder_ffn_embed_dim decoder_kernel_size_list attention_dropout encoder_embed_dim decoder_layers encoder_kernel_size_list decoder_embed_dim base_architecture getattr base_architecture base_architecture getattr getattr lightconv_wmt_en_de_big getattr lightconv_wmt_en_de_big attention_dropout decoder_kernel_size_list decoder_layers decoder_embed_dim base_lm_architecture getattr uniform_ uniform_ named_parameters named_parameters uniform_ uniform_ dropout base_architecture getattr dropout base_architecture getattr base_architecture getattr bert_base_architecture getattr base_architecture getattr append enumerate append size cat expand_2d_or_3d_tensor size sum type_as base_architecture getattr getattr base_multilingual_architecture base_architecture getattr base_architecture base_architecture getattr getattr transformer_vaswani_wmt_en_de_big getattr transformer_vaswani_wmt_en_de_big getattr transformer_vaswani_wmt_en_de_big base_architecture getattr getattr transformer_wmt_en_de_big base_architecture getattr transformer_prenorm_wmt_en_de getattr load_checkpoint_to_cpu list keys transformer_base_architecture hasattr base_lm_architecture getattr transformer_lm_big getattr transformer_lm_big getattr base_lm_architecture getattr base_lm_architecture getattr base_lm_architecture getattr base_lm_architecture getattr Sequential Fp32LayerNorm Fp32GroupNorm TransposeLast getattr encoder_embed_dim encoder_ffn_embed_dim getattr decoder_embed_dim getattr bart_large_architecture getattr bart_large_architecture getattr bart_base_architecture getattr mbart_base_architecture getattr default_architecture getattr default_architecture getattr default_architecture getattr long encoder_embed_dim encoder_ffn_embed_dim getattr decoder_embed_dim cmlm_base_architecture list view size scatter_ zip float long suggested_ed2_path type_as masked_fill_ eq masked_fill gather float encoder_embed_dim encoder_ffn_embed_dim getattr decoder_embed_dim size rand masked_fill_ randint long range encoder_embed_dim encoder_ffn_embed_dim getattr decoder_embed_dim inat_base_architecture encoder_embed_dim encoder_ffn_embed_dim getattr decoder_embed_dim levenshtein_base_architecture levenshtein_base_architecture getattr levenshtein_transformer_vaswani_wmt_en_de_big getattr load_libnat load_libnat ne cumsum scatter_ new_zeros masked_fill_ sum max masked_scatter ne size masked_fill_ eq expand_as gather Tensor isinstance append size sum cat base_architecture getattr mean sum type_as float max detach base_architecture append next startswith new Counter stack unsqueeze append sum max range len English create_tokenizer spacy_nlp base_architecture base_architecture getattr base_lm_architecture getattr base_lm_architecture getattr log_softmax apply is_available sqrt pi is_available SinusoidalPositionalEmbedding register_forward_pre_hook isinstance Embedding normal_ zero_ Linear pad size unsqueeze as_strided isinstance conv_op transpose randn broadcast list get_param Embedding map encode update PQ info Linear isinstance PQLinear contiguous clone Conv2d get_layers is_initialized PQConv2d PQEmbedding list itemgetter map named_parameters compile str getattr __name__ obs type_as HistogramObserver calculate_qparams float obs PerChannelMinMaxObserver get_qparams type_as calculate_qparams obs type_as MinMaxObserver __dict__ tuple ActivationQuantizer __new__ keys import_module _lang_token index split split_exists join bos format count ConcatDataset dataset_exists PrependTokenDataset load_indexed_dataset index StripTokenDataset info eos AppendTokenDataset TruncateDataset append len rstrip softmax_batch make_generation_fast_ string output_word_stats cuda values LMContextWindowDataset list SequenceScorer sorted set_device numel half add output_word_probs eq getattr load_model_ensemble generate device_id fp16 item float setattr keys add_bos_token int dict any next_epoch_itr get_eval_lm_parser add_distributed_training_args call_main setup_task getLogger unk add_string import_user_module StopwatchMeter make_generation_fast_ print_alignment string eos cuda log split_paths sacrebleu basicConfig print_step inference_step hasattr result_string progress_bar tolist post_process_prediction map half build_bpe add pad getattr load_model_ensemble load_dataset sum gen_subset update SacrebleuScorer format strip_pad Scorer load_align_dict start build_tokenizer TimeMeter remove_bpe avg info fp16 beam enumerate n join print target_dictionary build_generator path replace_unk decode_fn encode_line stop cpu get_original_text next_epoch_itr next_epoch_itr print_alignment make_batches buffered_read post_process_prediction map build_bpe pad buffer_size src_lengths strip_pad src_tokens resolve_max_positions load_align_dict build_tokenizer remove_bpe zip source_dictionary replace_unk decode_fn max_positions load_dictionary destdir tgtdict build_dictionary align_suffix max srcdict get_task joined_dictionary addHandler make_all alignfile dict_path FileHandler task train_path source_lang make_all_alignments target_lang dataset_dest_file make_builder finalize dataset_dest_file make_builder finalize format destdir source_lang only_source target_lang dataset_dest_prefix parse_args get_preprocessing_parser stdin print score sentence_bleu Dictionary get_parser sacrebleu is_master Trainer Quantizer arch save_dir max_tokens verify_checkpoint_directory distributed_world_size MegatronTrainer get_lr epoch next_epoch_idx build_criterion lr_step get_train_iterator distributed_init __name__ load_checkpoint reset setup_comet max_sentences patience format getattr info items epoch get_num_updates reset_meters progress_bar begin_epoch AverageMeter log validate_and_save avg get_smoothed_values get_training_stats GroupedIterator next_epoch_itr split get_num_updates save_checkpoint validate elapsed_time round get_perplexity log_metric items format isinstance get_valid_stats print progress_bar fixed_validation_seed AverageMeter avg append get_smoothed_values numpy set_torch_seed next_epoch_itr get_num_updates matthews_corrcoef hasattr format best_checkpoint_metric best save_checkpoint best_function get_perplexity f1_score main comet comet_real_tag print log_parameters Experiment add_tag set_name vars comet_tag format spawn distributed_main add_argument randint distributed_rank infer_init_method device_id get_training_parser load_model_ensemble_and_task valid_step vars get_validation_parser items list isinstance clone OrderedDict HalfTensor div_ float keys len int append group fullmatch ls compile inputs add_mutually_exclusive_group num_epoch_checkpoints last_n_checkpoints num_update_checkpoints average_checkpoints mosesdecoder_dir fast_align_dir print_keys mean load_indexed_dataset append fullmatch parse_checkpoints parse_checkpoints remove root_dirs exit copyfile save_last walk model main list parse_args_and_arch get_training_parser _create_dummy_data _create_dummy_alignment_data join mkdir _create_dummy_data main parse_args get_preprocessing_parser main get_validation_parser parse_args_and_arch get_training_parser stdin parse_args_and_arch get_generation_parser main StringIO main parse_args get_preprocessing_parser main parse_args_and_arch get_training_parser main parse_args_and_arch get_training_parser main get_validation_parser parse_args_and_arch get_training_parser main get_eval_lm_parser parse_args_and_arch main list parse_args_and_arch get_training_parser main parse_args_and_arch get_training_parser SGD input_size parameters Model FairseqBMUF manual_seed nb_classes cuda distributed_init CrossEntropyLoss backward model loss_fn train step data train_step randn setup_model_loss_criterion set_device input_size random_ parameters is_available nb_classes cuda range cat randint format distributed_world_size Namespace format add_symbol Dictionary range enumerate setup_task parse_args ArgumentParser add_args MagicMock MagicMock mock_dict view sizes mock_trainer TokenBlockDataset EpochBatchIterator LanguagePairDataset str finalize Dictionary range add_symbol DataLoader TestDataset enumerate len setup_task Namespace LongTensor build_model target_dictionary dummy_dictionary eos randn sort collate_tokens from_numpy index_select append randint range astype float32 from_numpy t_ randint basename format filename currentframe f_lineno _current_postion_info _current_postion_info append set_xscale format subplots arange plot set_yscale set_xlabel set_ylabel savefig legend len grad_func arange abs print Opt randint float step range randn stack append step range
zhuchen03/mva
4,329
zhunzhong07/CamStyle
['person re identification', 'data augmentation']
['Camera Style Adaptation for Person Re-identification']
CycleGAN-for-CamStyle/test.py reid/datasets/duke.py reid/evaluation_metrics/ranking.py reid/models/__init__.py CycleGAN-for-CamStyle/datasets/make_dataset_aligned.py reid/utils/serialization.py CycleGAN-for-CamStyle/models/networks.py CycleGAN-for-CamStyle/util/util.py CycleGAN-for-CamStyle/options/train_options.py CycleGAN-for-CamStyle/util/html.py CycleGAN-for-CamStyle/models/cycle_gan_model.py CycleGAN-for-CamStyle/scripts/test_before_push.py CycleGAN-for-CamStyle/models/base_model.py CycleGAN-for-CamStyle/options/base_options.py CycleGAN-for-CamStyle/models/pix2pix_model.py reid/evaluators.py reid/__init__.py CycleGAN-for-CamStyle/data/__init__.py CycleGAN-for-CamStyle/util/visualizer.py reid/evaluation_metrics/classification.py CycleGAN-for-CamStyle/data/unaligned_dataset.py CycleGAN-for-CamStyle/data/single_dataset.py CycleGAN-for-CamStyle/train.py reid/loss/triplet.py reid/datasets/market.py CycleGAN-for-CamStyle/data/base_data_loader.py reid/utils/meters.py reid/loss/__init__.py reid/loss/lsr.py reid/utils/data/sampler.py CycleGAN-for-CamStyle/models/test_model.py reid/utils/data/transforms.py reid/utils/data/__init__.py CycleGAN-for-CamStyle/data/image_folder.py reid/trainers.py reid/utils/data/preprocessor.py CycleGAN-for-CamStyle/datasets/combine_A_and_B.py CycleGAN-for-CamStyle/data/reid_dataset.py reid/utils/osutils.py CycleGAN-for-CamStyle/data/aligned_dataset.py main.py reid/utils/__init__.py reid/models/resnet.py reid/evaluation_metrics/__init__.py CycleGAN-for-CamStyle/data/base_dataset.py reid/datasets/__init__.py CycleGAN-for-CamStyle/util/get_data.py CycleGAN-for-CamStyle/models/__init__.py CycleGAN-for-CamStyle/util/image_pool.py reid/utils/logging.py CycleGAN-for-CamStyle/options/test_options.py get_data main AlignedDataset BaseDataset get_transform __scale_width BaseDataLoader is_image_file ImageFolder default_loader make_dataset ReidDataset SingleDataset UnalignedDataset CustomDatasetDataLoader CreateDataset CreateDataLoader get_file_paths align_images BaseModel CycleGANModel get_norm_layer GANLoss ResnetGenerator ResnetBlock define_D UnetGenerator UnetSkipConnectionBlock init_weights get_scheduler init_net NLayerDiscriminator PixelDiscriminator define_G Pix2PixModel TestModel get_option_setter create_model find_model_using_name BaseOptions TestOptions TrainOptions run_bash_command GetData HTML ImagePool print_numpy diagnose_network mkdirs mkdir save_image tensor2im save_images Visualizer mkdir_if_missing extract_cnn_feature evaluate_all pairwise_distance Evaluator reranking extract_features Trainer CamStyleTrainer BaseTrainer Duke Market names create accuracy cmc mean_ap _unique_sample average_precision_score LSRLoss TripletLoss ResNet resnet50 resnet152 resnet34 resnet18 resnet101 names create Logger AverageMeter mkdir_if_missing load_checkpoint save_checkpoint copy_state_dict to_numpy to_torch Preprocessor RandomIdentitySampler RandomErasing RectScale RandomSizedRectCrop join create gallery camstyle Compose query num_train_ids DataLoader Preprocessor Normalize train workers batch_size SGD Trainer get_data query save_checkpoint Logger arch dataset cuda create data_dir logs_dir map load_state_dict output_feature width range height format CamStyleTrainer camstyle Evaluator re set resume rerank join gallery evaluate print load_checkpoint parameters adjust_lr train epochs fineSize Lambda Resize RandomCrop BICUBIC RandomHorizontalFlip append int size is_image_file join sorted append walk CustomDatasetDataLoader name print initialize initialize print UnalignedDataset name AlignedDataset SingleDataset ReidDataset join sorted abspath append walk join format new makedirs len paste save range open BatchNorm2d partial InstanceNorm2d LambdaLR ReduceLROnPlateau StepLR print apply init_weights to DataParallel ResnetGenerator UnetGenerator get_norm_layer NLayerDiscriminator PixelDiscriminator get_norm_layer items list replace print exit import_module find_model_using_name initialize model print name find_model_using_name print system exit data isinstance transpose tile Tensor numpy print parameters fromarray save print float64 astype flatten shape mkdir makedirs makedirs str list basename join items print map groups append save_image tensor2im compile mkdir_if_missing to_torch model Variable eval cpu update extract_cnn_feature time format val print AverageMeter OrderedDict eval avg zip enumerate len view expand t addmm_ cat print format mean_ap zeros_like float16 max exp view transpose expand append sum range cat astype mean unique addmm_ minimum print t int32 zeros numpy len topk size t eq mul_ expand_as append sum max zeros list items choice asarray arange defaultdict astype argsort shape _unique_sample int32 zip append to_numpy range zeros enumerate len asarray arange astype average_precision_score argsort shape int32 append to_numpy range dirname save mkdir_if_missing load format print isfile data items list isinstance print size set copy_ add keys state_dict is_tensor
zhunzhong07/CamStyle
4,330
zhyack/SCC
['text generation']
['Automated Chess Commentator Powered by Neural Chess Engine']
chess-agent/alpha-zero-chess/pytorch_classification/models/imagenet/resnext.py data/surface/get_raw.py chess-agent/alpha-zero-chess/pytorch_classification/models/cifar/preresnet.py data/reform/form2sac.py chess-agent/alpha-zero-chess/pytorch_classification/utils/progress/progress/spinner.py data/mycrawler/crawler_utils.py chess-agent/alpha-zero-chess/pit.py chess-agent/alpha-zero-chess/chessai/tensorflow/NNet.py chess-agent/alpha-zero-chess/pytorch_classification/utils/progress/progress/helpers.py chess-agent/alpha-zero-chess/utils.py chess-agent/alpha-zero-chess/chessai/tensorflow/ComUtils.py chess-agent/alpha-zero-chess/pytorch_classification/imagenet.py data/mycrawler/ruleLabels.py chess-agent/tools/bleu.py chess-agent/tools/diversity.py chess-agent/alpha-zero-chess/pytorch_classification/utils/progress/setup.py chess-agent/tools/make_meteor_file.py chess-agent/alpha-zero-chess/pytorch_classification/utils/eval.py chess-agent/alpha-zero-chess/pytorch_classification/models/cifar/densenet.py chess-agent/alpha-zero-chess/pytorch_classification/utils/__init__.py chess-agent/alpha-zero-chess/pytorch_classification/models/cifar/wrn.py chess-agent/alpha-zero-chess/chessai/tensorflow/ConvUtils.py sunfish/xboard.py chess-agent/alpha-zero-chess/chessai/ChessGame.py chess-agent/alpha-zero-chess/pytorch_classification/utils/progress/progress/counter.py data/surface/crawler_utils.py chess-agent/alpha-zero-chess/chessai/tensorflow/ComAUtils.py data/surface/eutils.py sunfish/uci.py chess-agent/alpha-zero-chess/chessai/tensorflow/ResNUtils.py data/mycrawler/remap.py chess-agent/alpha-zero-chess/pytorch_classification/utils/progress/test_progress.py data/mycrawler/buildDict.py data/mycrawler/classify.py data/mycrawler/eutils.py data/mycrawler/parseData.py chess-agent/stat.py chess-agent/parse_game.py chess-agent/alpha-zero-chess/pytorch_classification/utils/logger.py chess-agent/alpha-zero-chess/Coach.py chess-agent/alpha-zero-chess/MCTS.py chess-agent/alpha-zero-chess/chessai/tensorflow/ChessNNet.py chess-agent/alpha-zero-chess/pytorch_classification/cifar.py chess-agent/Coach.py chess-agent/alpha-zero-chess/chessai/tensorflow/data_utils.py chess-agent/alpha-zero-chess/pytorch_classification/models/cifar/resnext.py chess-agent/alpha-zero-chess/pytorch_classification/utils/misc.py chess-agent/tools/meteor.py data/mycrawler/getData.py data/surface/import_list.py chess-agent/alpha-zero-chess/pytorch_classification/models/cifar/resnet.py chess-agent/alpha-zero-chess/NeuralNet.py chess-agent/alpha-zero-chess/pytorch_classification/models/cifar/alexnet.py chess-agent/alpha-zero-chess/main.py chess-agent/alpha-zero-chess/pytorch_classification/utils/progress/progress/bar.py chess-agent/alpha-zero-chess/Arena.py chess-agent/alpha-zero-chess/chessai/ChessPlayer.py chess-agent/main.py chess-agent/debug.py chess-agent/alpha-zero-chess/chessai/tensorflow/HAtt.py chess-agent/alpha-zero-chess/Game.py chess-agent/alpha-zero-chess/pytorch_classification/models/imagenet/__init__.py chess-agent/alpha-zero-chess/pytorch_classification/utils/progress/progress/__init__.py data/surface/data_utils.py chess-agent/alpha-zero-chess/pytorch_classification/models/cifar/__init__.py chess-agent/uci.py chess-agent/alpha-zero-chess/chessai/ChessLogic.py chess-agent/alpha-zero-chess/pytorch_classification/models/cifar/vgg.py data/mycrawler/data_utils.py Coach json2load save2json save2text initUCI read_all_games_2 getScore parse_game read_all_games read_games bb2array parse_dir json2load save2json Logger initUCI read_all_games_2 getScore saveTrainExamples parse_game read_all_games read_games parse_dir loadTrainExamples getScore parse_game read_all_games read_games parse_dir tell_me main json2load save2json Unbuffered Arena display_func Coach Game MCTS NeuralNet dotdict display ChessGame getActionDict extend2Vector buildActionDict getMappedMove getRealMove getActionFeatures getBoardFeatures ChessNNet modelRunDecoderForGreedyInfer modelInitBidirectionalEncoder updateBP modelRunBidirectionalEncoder Dense modelRunDecoderForTrain modelGetWordEmbedding modelInitAttentionDecoderCell modelInitWordEmbedding modelRunDecoderForBSInfer modelRunDecoderForGreedyInfer modelInitBidirectionalEncoder modelRunDecoderForBSInfer updateBP modelRunBidirectionalEncoder Dense modelRunDecoderForTrain modelGetWordEmbedding modelInitAttentionDecoderCell modelInitWordEmbedding modelInitHierarchicalAttentionDecoderCell calcLoss conv2d buildGraph loadDict getDecoderData buildDict dataLogits2Seq safe_cumprod _compute_attention _monotonic_probability_fn BahdanauAttention LuongMonotonicAttention _BaseMonotonicAttentionMechanism _BaseAttentionMechanism AttentionWrapperState AttentionWrapper LuongAttention BahdanauMonotonicAttention _bahdanau_score _prepare_memory monotonic_attention AttentionMechanism _maybe_mask_score HierarchicalLuongAttention HierarchicalBahdanauAttention hardmax _luong_score NNetWrapper buildGraph residual_block AlexNet alexnet densenet Transition DenseNet Bottleneck BasicBlock preresnet PreResNet Bottleneck conv3x3 BasicBlock ResNet Bottleneck conv3x3 resnet BasicBlock ResNeXtBottleneck resnext CifarResNeXt vgg19 VGG vgg16_bn vgg19_bn vgg11_bn make_layers vgg11 vgg13 vgg13_bn vgg16 wrn BasicBlock NetworkBlock WideResNet resnext50 ResNeXt Bottleneck resnext101 resnext152 accuracy plot_overlap savefig Logger LoggerMonitor AverageMeter sleep FillingSquaresBar FillingCirclesBar IncrementalBar ChargingBar ShadyBar PixelBar Bar Countdown Stack Counter Pie SigIntMixin WriteMixin WritelnMixin PieSpinner MoonSpinner Spinner PixelSpinner LineSpinner Progress Infinite incremental_bleu_count corpus_bleu bleu_count incremental_sent_bleu incremental_test_corpus_bleu ngramCnt corpus_diversity transit evaluate loadTrainExamples getRealUrl makeReqGetRes getPage json2load save2json s2uni econv printS econv_sth econv_dict save2json json2load get_codec econv_list MyHTMLParser saveTrainExamples getReplay buildMap loadExamples saveExamples assignPseudoLabel getData getBoardFen getRealUrl makeReqGetRes getPage json2load save2json s2uni econv printS econv_sth econv_dict save2json json2load get_codec econv_list main main Unbuffered close write dumps open join close write open join readlines close loads open print read_game open int piece_map zeros bool enumerate append popen_engine InfoHandler cp go position int str getScore parent move turn end min bb2array append board range len initUCI parse_game special_dtype print File read_games close create_dataset range flush len join replace read_all_games append listdir getCanonicalForm getNextState ChessGame chr ord getInitBoard uci getValidMoves closed makedirs print closed saveTrainExamples extend set add fen int print sum range len tell_me config_name Game dotdict getNextState load_model chr input parse_args append getInitBoard eval startswith pop int time getCanonicalForm ord MCTS NNet load_checkpoint print STARTING_FEN json2load getValidMoves split print join write close append mkstr range open readlines close enumerate open getNorm concatenate getPieces Board getValueFromBool getValuePlane ord is_check symbol piece_at append from_uci push restoreOriginBoard zeros sqrt random_uniform_initializer get_variable deepcopy BasicRNNCell BasicLSTMCell DropoutWrapper append GRUCell range stack_bidirectional_dynamic_rnn h LSTMStateTuple c split MultiRNNCell BasicRNNCell BasicLSTMCell BahdanauAttention AttentionWrapper DropoutWrapper append GRUCell LuongAttention range BasicDecoder dynamic_decode TrainingHelper GreedyEmbeddingHelper BasicDecoder dynamic_decode BeamSearchDecoder dynamic_decode MultiRNNCell BasicRNNCell BasicLSTMCell HierarchicalLuongAttention HierarchicalBahdanauAttention AttentionWrapper DropoutWrapper append GRUCell range print reshape Relu conv2d Dense BatchNormalization Dropout reshape get_collection UPDATE_OPS mean_squared_error softmax_cross_entropy str list dictSort write close dict open keys split dict readlines strip open getData array append argmax convert_to_tensor sequence_mask map_structure dtype squeeze matmul expand_dims get_variable dtype rsqrt square reduce_sum expand_dims get_variable convert_to_tensor safe_cumprod cumsum concat transpose scan clip_by_value cumprod zeros dtype sigmoid shape cast random_normal squeeze concat attention_mechanism matmul attention_layer expand_dims values str relu add conv2d batch_normalization dense tanh relu flatten batch_normalization softmax residual_block AlexNet CifarResNeXt Conv2d make_layers VGG make_layers VGG make_layers VGG make_layers VGG make_layers VGG make_layers VGG make_layers VGG make_layers VGG WideResNet ResNeXt ResNeXt ResNeXt topk size t eq mul_ expand_as append sum max asarray arange plot numbers enumerate len list dict split abs keys range len append exp bleu_count range deepcopy list sorted dict split append keys range len incremental_bleu_count exp append float range len incremental_bleu_count exp append float range len join add set split range len ngramCnt union set str strip readlines open append enumerate join popen Request urlopen add_header makeReqGetRes sleep geturl randint float read makeReqGetRes econv write close sleep randint float open decode isinstance lower s2uni append econv dict econv list econv_list isinstance print econv encoding getCanonicalForm getNextState parent ChessGame read_game chr end ord range getInitBoard uci append getValidMoves StringIO len closed closed makedirs dict list enumerate split join list sum keys upper range split getCanonicalForm pop rstrip getBoardFen chr ChessGame ord legal_moves Board getInitBoard uci startswith mirror append getValidMoves push enumerate split getRealUrl move pv mparse depth round basicConfig nodes get format _search debug upper FEN_INITIAL lower Searcher parseFEN sum range mrender any
zhyack/SCC
4,331
zide05/CDEvalSumm
['text summarization']
['CDEvalSumm: An Empirical Study of Cross-Dataset Evaluation for Neural Summarization Systems']
Data-bias-metrics/metrics/util.py Data-bias-metrics/metrics/rouge_functions.py Data-bias-metrics/metrics/utils/merge_dict.py Data-bias-metrics/all_metrics.py Data-bias-metrics/metrics/density.py Data-bias-metrics/metrics/novelty_repetition_unk.py Data-bias-metrics/metrics/sent_fusion.py Data-bias-metrics/metrics/ssi_functions.py Data-bias-metrics/metrics/utils/utils.py Data-bias-metrics/metrics/utils/logger.py Data-bias-metrics/metrics/data.py Data-bias-metrics/metrics/fragment.py Data-bias-metrics/metrics/Len.py get_metrics get_avg list_minus outputids2words abstract2sents show_art_oovs tokenizedarticle2ids abstract2ids show_abs_oovs Vocab article2ids is_valid_example example_generator density getlen get_ngram novelty repetition rouge_log _ngram_counts write_for_rouge rouge_n make_html_safe _safe_f1 rouge_eval _ngrams rouge_1 _counter_overlap _ngram_count rouge_2 _safe_divide process_one_example sent_fusion funsion_score create_example_list make_ssi_chronological calc_MMR_source_indices calc_ROUGE_L_score rouge_l_similarity_matrix combine_sim_and_imp_dict remove_stopwords bcolors get_first_item is_stopword create_token_to_indices flatten_list_of_lists remove_punctuation special_squash_dict unpack_tf_example my_lcs rouge_l_similarity reorder rouge_2_similarity_matrix get_first_available_sent special_squash get_config is_quotation_mark encode_text shuffle all_sent_selection_eval num_lines_in_file to_unicode is_content_word sent_selection_eval remove_period_ids replace_empty_ssis decode_text lemmatize_sent_tokens is_punctuation rouge_1_similarity_matrix fix_bracket_token remove_stopwords_punctuation matching_unigrams enforce_sentence_limit load_ckpt is_stopword_punctuation create_dirs chunks remove_start_stop_symbol chunk_file reshape_like print_execution_time is_list_type process_sent is_start_stop_symbol singles_to_singles_pairs combine_sim_and_imp merge_dict ranstr items list isinstance sum len Getlen Repetition funsion_score print sent_fusion Density Novelty get_avg value len unpack_tf_example append split sorted read glob FromString print shuffle open append word2id size index append word2id size index append word2id size index append id2word append index len word2id join split append word2id join split compression join coverage zip Fragments append append sum join word_tokenize range len list items get_ngram append items list get_ngram append keys range len deque append iteritems _safe_divide _ngram_counts _ngram_count len replace append join index enumerate join WARNING Rouge155 convert_and_evaluate setLevel print join join get_simple_source_indices_list print len write encode flatten_list_of_lists open append list range tqdm cpu_count Pool list sorted strftime imap encode append glob close mkdir create_example_list join create_dirs now tqdm rmtree ranstr len len decode strip split ConfigProto join restore OKGREEN get_checkpoint_state print model_checkpoint_path pretrained_path ENDC log_root use_pretrained append range len get_first_item word2id PERIOD is_list_type str max range len my_lcs append float max len append enumerate list remove_stopwords_punctuation sorted extend create_token_to_indices keys len all all zeros remove_period_ids calc_ROUGE_L_score enumerate calc_ROUGE_L_score remove_period_ids append zeros enumerate append zeros rouge_1 enumerate append zeros rouge_2 enumerate join open decode encode print append maximum list keys combine_sim_and_imp combine_sim_and_imp_dict special_squash_dict singles_to_singles_pairs rouge_l_similarity print fill min max special_squash list zip keys values localtime time asctime print permutation len makedirs str print append flatten_list_of_lists len list flatten_list_of_lists range len append get_first_available_sent enumerate print float operation_on_gt flatten_list_of_lists append join sent_selection_eval print lower word_tokenize split append enumerate load items list open range
zide05/CDEvalSumm
4,332
zijundeng/BDRAR
['shadow detection']
['Bidirectional Feature Pyramid Network with Recurrent Attention Residual Modules for Shadow Detection']
train.py resnext/resnext101_regular.py joint_transforms.py resnext/__init__.py resnext/resnext_101_32x4d_.py dataset.py misc.py config.py resnext/config.py infer.py model.py make_dataset ImageFolder main Resize RandomHorizontallyFlip Compose crf_refine _sigmoid AvgMeter check_mkdir BDRAR _AttentionModule main train ResNeXt101 Lambda LambdaBase LambdaReduce LambdaMap load join print eval load_state_dict cuda mkdir addPairwiseGaussian _sigmoid DenseCRF2D reshape addPairwiseBilateral astype flatten zeros setUnaryEnergy str check_mkdir write SGD train update data join AvgMeter backward print size step zero_grad write save float bce_logit cuda net enumerate state_dict
zijundeng/BDRAR
4,333
zillow/luminaire
['time series', 'anomaly detection']
['Root Cause Detection Among Anomalous Time Series Using Temporal State Alignment', 'Building an Automated and Self-Aware Anomaly Detection System']
luminaire/exploration/__init__.py luminaire/model/base_model.py luminaire/model/window_density.py luminaire/tests/conftest.py docs/conf.py luminaire/model/model_utils.py luminaire/tests/test_models.py luminaire/model/lad_filtering.py luminaire/optimization/hyperparameter_optimization.py luminaire/__init__.py luminaire/tests/test_hyper.py luminaire/model/lad_structural.py luminaire/optimization/__init__.py setup.py luminaire/model/__init__.py luminaire/exploration/data_exploration.py luminaire/tests/test_exploration.py DataExploration DataExplorationError BaseModel BaseModelHyperParams BaseModelObject LADFilteringModelError LADFilteringHyperParams LADFilteringModel LADStructuralError LADStructuralModel LADStructuralHyperParams LADHolidays WindowDensityModel WindowDensityHyperParams HyperparameterOptimization training_test_data_log window_density_model get_data_path training_test_data_zeroes lad_filtering_model_log_seasonal window_density_model_data_hourly scoring_test_data window_density_model_hourly_aggregated training_test_data change_test_data lad_structural_model window_density_model_data scoring_test_data_log get_model_path test_data_with_missing lad_filtering_model lad_structural_model_log_seasonal window_density_model_hourly_last_window exploration_test_array TestDataExploration TestHyperparameterOptimization TestLADStructural Holiday realpath up realpath up set_index get_data_path read_csv DatetimeIndex set_index get_data_path read_csv DatetimeIndex get_data_path read_csv DatetimeIndex values set_index get_data_path read_csv DatetimeIndex set_index zeros_like DatetimeIndex get_data_path array read_csv set_index get_data_path read_csv DatetimeIndex set_index DatetimeIndex get_data_path read_csv log set_index DatetimeIndex get_data_path read_csv log load close get_model_path open load close get_model_path open load close get_model_path open load close get_model_path open set_index get_data_path read_csv DatetimeIndex load close get_model_path open set_index get_data_path read_csv DatetimeIndex load close get_model_path open load close get_model_path open
zillow/luminaire
4,334
zisianw/FaceBoxes.PyTorch
['face detection']
['FaceBoxes: A CPU Real-time Face Detector with High Accuracy']
train.py data/__init__.py utils/nms_wrapper.py models/faceboxes.py data/wider_voc.py test.py layers/functions/prior_box.py layers/modules/__init__.py layers/modules/multibox_loss.py utils/build.py data/data_augment.py layers/__init__.py utils/nms/py_cpu_nms.py utils/box_utils.py data/config.py utils/timer.py remove_prefix load_model check_keys train adjust_learning_rate _mirror _distort _crop _expand _resize_subtract_mean _pad_to_square preproc VOCDetection AnnotationTransform detection_collate PriorBox MultiBoxLoss BasicConv2d Inception FaceBoxes CRelu decode nms intersect log_sum_exp matrix_iou jaccard center_size matrix_iof match point_form encode find_in_path customize_compiler_for_nvcc custom_build_ext locate_cuda nms Timer py_cpu_nms format print set keys len print format load remove_prefix format check_keys print load_state_dict current_device zero_grad DataLoader adjust_learning_rate save str VOCDetection iter ceil to next range state_dict resume_epoch format timedelta item net preproc int time criterion backward print step AnnotationTransform len param_groups minimum int all min maximum copy shape uniform matrix_iof randrange array range _convert COLOR_HSV2BGR astype copy COLOR_BGR2HSV randrange randint cvtColor int copy shape uniform randrange randint empty shape randrange copy shape empty max astype float32 resize is_tensor isinstance empty append float type enumerate clamp size min expand max intersect expand_as minimum prod maximum all minimum prod maximum all squeeze_ size jaccard index_fill_ point_form encode max range log cat max mul sort new clamp index_select resize_as_ long pathsep pjoin exists split find_in_path items list pjoin pathsep dirname sep append _compile compiler_so append maximum minimum
zisianw/FaceBoxes.PyTorch
4,335
ziyin-dl/word-embedding-dimensionality-selection
['word embeddings']
['On the Dimensionality of Word Embedding']
matrix/word2vec_matrix.py matrix/ppmi_lsa_matrix.py matrix/signal_matrix_factory.py test/test_tokenizer.py matrix/glove_matrix.py utils/reader.py utils/tokenizer.py matrix/PIP_loss_calculator.py main.py matrix/signal_matrix.py GloVeMatrix MonteCarloEstimator LSAMatrix SignalMatrixFactory Word2VecMatrix TestRawTextReader TestTokenizer ZipFileReader ReaderFactory RawTextReader _lower SimpleTokenizer
ziyin-dl/word-embedding-dimensionality-selection
4,336
zjonijordan/DeepFaceLab
['face swapping']
['DeepFaceLab: Integrated, flexible and extensible face-swapping framework']
models/Model_XSeg/Model.py mainscripts/VideoEd.py XSegEditor/QImageDB.py merger/MergerScreen/MergerScreen.py mainscripts/dev_misc.py merger/InteractiveMergerSubprocessor.py samplelib/SampleGeneratorImageTemporal.py core/leras/models/__init__.py samplelib/Sample.py core/joblib/__init__.py core/imagelib/estimate_sharpness.py core/joblib/MPFunc.py core/leras/layers/DenseNorm.py core/leras/nn.py samplelib/SampleProcessor.py core/leras/archis/__init__.py core/leras/layers/Conv2D.py core/stdex.py core/imagelib/text.py core/leras/models/PatchDiscriminator.py core/leras/__init__.py models/Model_XSeg/__init__.py core/leras/layers/DepthwiseConv2D.py core/imagelib/equalize_and_stack_square.py samplelib/__init__.py core/imagelib/sd/draw.py core/randomex.py core/joblib/MPClassFuncOnDemand.py core/leras/optimizers/__init__.py core/leras/initializers/__init__.py mainscripts/Extractor.py mainscripts/Sorter.py core/mathlib/__init__.py core/leras/optimizers/OptimizerBase.py core/imagelib/draw.py samplelib/SampleGeneratorBase.py core/leras/layers/BatchNorm2D.py core/leras/layers/ScaleAdd.py XSegEditor/QCursorDB.py models/__init__.py core/joblib/SubprocessGenerator.py DFLIMG/DFLIMG.py core/leras/layers/__init__.py models/ModelBase.py facelib/FaceEnhancer.py core/joblib/ThisThreadGenerator.py XSegEditor/QIconDB.py core/imagelib/blursharpen.py merger/MergeMasked.py core/cv2ex.py models/Model_Quick96/__init__.py main.py core/leras/archis/ArchiBase.py localization/localization.py facelib/LandmarksProcessor.py core/leras/layers/Dense.py models/Model_SAEHD/__init__.py mainscripts/Merger.py mainscripts/XSegUtil.py core/imagelib/filters.py XSegEditor/QStringDB.py core/leras/initializers/CA.py core/imagelib/__init__.py core/leras/models/ModelBase.py samplelib/SampleGeneratorFaceTemporal.py core/leras/layers/InstanceNorm2D.py facelib/S3FDExtractor.py samplelib/SampleLoader.py samplelib/SampleGeneratorFaceXSeg.py core/qtex/qtex.py DFLIMG/__init__.py core/leras/optimizers/RMSprop.py core/structex.py core/leras/layers/BlurPool.py facelib/__init__.py core/leras/archis/DeepFakeArchi.py core/imagelib/SegIEPolys.py mainscripts/FacesetEnhancer.py merger/FrameInfo.py models/Model_SAEHD/Model.py core/mplib/__init__.py samplelib/SampleGeneratorFacePerson.py merger/MergerScreen/__init__.py core/imagelib/common.py core/imagelib/sd/__init__.py core/leras/layers/AdaIN.py core/leras/layers/LayerBase.py facelib/FANExtractor.py core/leras/models/XSeg.py samplelib/SampleGeneratorFace.py merger/MergeAvatar.py core/pathex.py core/leras/layers/Conv2DTranspose.py core/qtex/QXMainWindow.py merger/__init__.py core/imagelib/morph.py core/joblib/SubprocessorBase.py mainscripts/Trainer.py samplelib/PackedFaceset.py core/mathlib/umeyama.py mainscripts/Util.py core/interact/__init__.py core/leras/layers/FRNorm2D.py core/leras/layers/Saveable.py core/leras/layers/TLU.py facelib/XSegNet.py core/mplib/MPSharedList.py core/leras/models/CodeDiscriminator.py facelib/FaceType.py XSegEditor/XSegEditor.py merger/MergerConfig.py core/leras/ops/__init__.py core/interact/interact.py core/leras/device.py core/imagelib/sd/calc.py core/imagelib/reduce_colors.py samplelib/SampleGeneratorImage.py localization/__init__.py DFLIMG/DFLJPG.py core/qtex/__init__.py core/qtex/QSubprocessor.py core/qtex/QXIconButton.py samplelib/SampleGeneratorFaceCelebAMaskHQ.py core/imagelib/warp.py core/osex.py core/imagelib/color_transfer.py models/Model_Quick96/Model.py process_dev_test process_merge process_videoed_cut_video process_train process_faceset_enhancer process_xsegeditor process_xsegapply process_xsegremove process_xsegremovelabels process_videoed_video_from_sequence process_xsegfetch process_util process_extract fixPathAction process_videoed_extract_video process_sort bad_args process_videoed_denoise_image_sequence cv2_imwrite cv2_imread set_process_dpi_aware get_screen_size set_process_lowest_prio get_image_paths move_all_files write_bytes_safe get_first_file_by_stem get_image_unique_filestem_paths get_all_dir_names get_file_paths delete_all_files scantree get_paths get_all_dir_names_startswith random_normal suppress_stdout_stderr struct_unpack LinearMotionBlur blursharpen _scale_array color_transfer color_transfer_idt color_transfer_mkl reinhard_color_transfer lab_image_stats linear_color_transfer channel_hist_match color_transfer_mix color_transfer_sot color_hist_match overlay_alpha_image cut_odd_image normalize_channels draw_polygon draw_rect equalize_and_stack_square compute _calculate_sharpness_metric marziliano_method get_block_contrast _simple_thinning estimate_sharpness is_edge_block sobel apply_random_motion_blur apply_random_rgb_levels apply_random_hsv_shift apply_random_bilinear_resize apply_random_gaussian_blur morphTriangle morph_by_points applyAffineTransform reduce_colors SegIEPolys SegIEPolyType SegIEPoly get_text_image draw_text_lines draw_text _get_pil_font get_draw_text_lines warp_by_params gen_warp_params dist_to_edges random_circle_faded circle_faded InteractBase InteractColab InteractDesktop MPClassFuncOnDemand MPFunc SubprocessGenerator Subprocessor ThisThreadGenerator Devices Device nn ArchiBase DeepFakeArchi CAInitializerSubprocessor initializers AdaIN BatchNorm2D BlurPool Conv2D Conv2DTranspose Dense DenseNorm DepthwiseConv2D FRNorm2D InstanceNorm2D LayerBase Saveable ScaleAdd TLU CodeDiscriminator ModelBase PatchDiscriminator XSeg dssim concat average_gv_list resize2d_bilinear flatten rgb_to_lab space_to_depth tf_gradients random_binomial style_loss gelu init_weights tf_get_value upsample2d reshape_4D batch_set_value max_pool average_tensor_list gaussian_blur depth_to_space OptimizerBase RMSprop umeyama get_power_of_two rotationMatrixToEulerAngles polygon_area ArrayFillerSubprocessor MPSharedList IndexHost Index2DHost ListHost DictHostCli DictHost QSubprocessor QDarkPalette QActionEx QSize_to_np QImage_from_np QImage_to_np QPixmap_from_np QPoint_to_np QPoint_from_np QXIconButton QXMainWindow DFLIMG DFLJPG FaceEnhancer FaceType FANExtractor blur_image_hull_mask mirror_landmarks get_face_struct_mask estimate_pitch_yaw_roll convert_98_to_68 expand_eyebrows get_rect_from_landmarks get_transform_mat draw_rect_landmarks get_cmask transform_points estimate_averaged_yaw calc_face_pitch alpha_to_color get_image_eye_mask draw_landmarks get_image_hull_mask S3FDExtractor XSegNet dev_test_68 dev_test1 dev_resave_pngs extract_vggface2_dataset extract_umd_csv dev_segmented_trash process_folder FacesetEnhancerSubprocessor extract_video video_from_sequence denoise_image_sequence cut_video remove_xseg remove_xseg_labels apply_xseg fetch_xseg FrameInfo InteractiveMergerSubprocessor MergeFaceAvatar process_frame_info MergeMasked MergeMaskedFace MergerConfigMasked MergerConfigFaceAvatar MergerConfig ScreenManager ScreenAssets Screen ModelBase import_model QModel SAEHDModel XSegModel PackedFaceset Sample SampleType SampleGeneratorBase SampleGeneratorFace SampleGeneratorFaceCelebAMaskHQ MaskType SampleGeneratorFacePerson Index2DHost SampleGeneratorFaceTemporal SampleGeneratorFaceXSeg SegmentedSampleFilterSubprocessor SampleGeneratorImage SampleGeneratorImageTemporal FaceSamplesLoaderSubprocessor SampleLoader SampleProcessor QCursorDB QIconDB QImageDB QStringDB ImagePreviewSequenceBar QUIConfig QCanvasOperator LoaderQSubprocessor CanvasConfig OpMode QCanvas DragType ViewLock ColorScheme QCanvasControlsLeftBar start QCanvasControlsRightBar MainWindow PTEditMode main set_process_lowest_prio main set_process_lowest_prio unpack_faceset pack save_faceset_metadata log_info restore_faceset_metadata_folder pack_faceset save_faceset_metadata_folder restore_faceset_metadata Path input_dir unpack recover_original_aligned_filename set_process_lowest_prio add_landmarks_debug_images main set_process_lowest_prio main set_process_lowest_prio output_ext fps extract_video output_dir input_file set_process_lowest_prio audio_track_id from_time bitrate to_time cut_video input_file set_process_lowest_prio factor denoise_image_sequence set_process_lowest_prio input_dir video_from_sequence set_process_lowest_prio Path set_process_lowest_prio input_dir process_folder dev_test set_process_lowest_prio input_dir start Path set_process_lowest_prio input_dir model_dir apply_xseg Path input_dir set_process_lowest_prio Path remove_xseg set_process_lowest_prio input_dir remove_xseg_labels Path set_process_lowest_prio input_dir Path fetch_xseg set_process_lowest_prio input_dir print_help exit loader_func asarray bytearray imencode suffix nice SetPriorityClass HANDLE GetCurrentProcess SetProcessDPIAware user32 write_bytes parent name unlink rename exists is_dir scandir str list scandir any Path scantree exists append remove get_image_paths name stem set add verbose_print_func Path exists Path exists Path exists str list lower scandir Path startswith append exists str sorted list path lower scandir Path exists name Path rename get_file_paths unlink Path get_file_paths normal empty prod range calcsize warpAffine ones getRotationMatrix2D zeros sum medianBlur addWeighted ones zeros GaussianBlur max dtype reshape astype copy argsort shape bilateralFilter fill empty range eps T clip reshape eig dot shape sqrt cov mean diag T reshape min astype float32 empty_like solve dot shape histogram interp max range _scale_array uint8 astype float32 merge lab_image_stats COLOR_LAB2BGR cvtColor split T reshape transpose mean dot eigh eye cholesky split min max float64 astype shape unique interp ravel dtype astype shape channel_hist_match range uint8 astype float32 COLOR_BGR2LAB color_transfer_sot COLOR_LAB2BGR cvtColor uint8 color_transfer_idt color_transfer_mkl astype float32 reinhard_color_transfer linear_color_transfer color_transfer_sot clip shape repeat len shape shape range tuple line range len draw_polygon concatenate shape resize expand_dims max enumerate T convolve square mean sqrt array shape zeros float64 marziliano_method astype canny sobel gradient atan2 shape any zeros round range int exp slice get_block_contrast shape flipud round zeros is_edge_block rot90 range cvtColor COLOR_BGR2GRAY rand random clip array COLOR_HSV2BGR random merge COLOR_BGR2HSV randint clip cvtColor split LinearMotionBlur randint random randint GaussianBlur random int rand random shape resize INTER_LINEAR float32 getAffineTransform float32 fillConvexPoly shape boundingRect int32 applyAffineTransform zeros expand_dims array shape morphTriangle zeros simplices fromarray uint8 convert astype COLOR_RGB2BGR array cvtColor truetype asarray Draw get_default_ttf_font_name concatenate text new _get_pil_font shape clip draw_text range len draw_text_lines zeros shape T random astype copy float32 getRotationMatrix2D dict uniform linspace random_normal warpAffine remap resize norm clip einsum concatenate norm reshape empty abs clip max random randint initializer inputs append batch_set_value run gradients expand_dims __enter__ __exit__ enumerate reduce_mean __enter__ __exit__ concat pow tanh sqrt pi as_list reshape tile transpose value resize transpose reshape transpose randint float32 pad make_kernel tile depthwise_conv2d gaussian_blur dtype constant arange reshape float32 square reduce_mean reducer cast softmax tile as_list reshape transpose as_list reshape transpose constant reshape multiply matmul cast svd T ones matrix_rank mean dot eye sum diag sqrt atan2 shape Format_Grayscale8 Format_BGR888 Format_ARGB32 height reshape convertToFormat width constBits setsize range squeeze invertAffineTransform shape transform expand_dims get norm getAffineTransform polygon_area astype float32 transform_points sqrt estimate_averaged_yaw array transform_points FULL_NO_ALIGN get_transform_mat float32 array copy concatenate expand_eyebrows fillConvexPoly convexHull zeros int getStructuringElement astype fillConvexPoly MORPH_ELLIPSE convexHull dilate zeros GaussianBlur shape zeros concatenate process copy blend alpha_to_color zeros get_image_hull_mask gdf max clip int blur getStructuringElement min erode argwhere MORPH_ELLIPSE expand_dims copy draw_landmarks zeros expand_eyebrows concatenate polylines tuple shape get_image_hull_mask array circle get_transform_mat draw_rect transform_points draw_polygon draw_landmarks array array rotationMatrixToEulerAngles concatenate astype float32 pi solvePnP zeros array clip get pop get_image_paths parent log_info name stem progress_bar_generator get_all_dir_names Path mkdir run fromString split cv2_imread Path normalize_channels exists input_bool str log_info name stem append get_image_paths get_rect_from_landmarks unlink mkdir parent cv2_imwrite progress_bar_generator read_text split get str get_image_paths parent log_info name len unlink Path mkdir split log_err run range exists fromString input_bool get_image_paths progress_bar_generator get_all_dir_names Path x get_image_paths cv2_imwrite progress_bar_generator cv2_imread Path get_image_paths parent name stem rename Path mkdir append input_bool join get_image_paths log_info parent name copy unlink rmtree mkdir run update str get_image_paths parent input_str stem output get_first_file_by_stem unlink input_int mkdir Path log_err input run str suffix parent input_str stem overwrite_output input_int log_err Path input max run update str suffix parent progress_bar_generator output input_int rename log_err Path run clip enumerate suffix input_str wait input_int Path max input_bool str stem input update run_async get_image_paths close mkdir parent overwrite_output get_first_file_by_stem log_err probe load extract initialize get_image_paths log_info set_xseg_mask progress_bar_generator astype float32 get_resolution ask_choose_device shape XSegNet resize save load str get_image_paths log_info parent name has_polys progress_bar_generator copy get_seg_ie_polys mkdir load get_image_paths log_info set_xseg_mask input_str progress_bar_generator has_xseg_mask save load get_image_paths log_info input_str has_seg_ie_polys progress_bar_generator save set_seg_ie_polys warpAffine get_transform_mat astype float32 cv2_imread normalize_channels filename clip sharpen_func sharpen_mode concatenate predictor_func add_source_image process_frame_info temporal_face_count append range sharpen_amount predictor_func color_transfer_mkl motion_power bicubic_degrade_power motion_blur_power linear_color_transfer color_transfer_mix boundingRect resize reduce_colors max clip face_enhancer_func hist_match_threshold medianBlur super_resolution_power WARP_INVERSE_MAP ones LinearMotionBlur shape pad blur_mask_modifier image_denoise_power masked_hist_match blursharpen range color_hist_match BORDER_TRANSPARENT warpAffine sharpen_mode xseg_256_extract_func seamlessClone color_transfer_idt astype copy reinhard_color_transfer empty_like motion_deg INTER_CUBIC MORPH_ELLIPSE color_transfer_sot dilate GaussianBlur get_image_hull_mask NORMAL_CLONE uint8 int erode_mask_modifier getStructuringElement get_transform_mat float32 erode argwhere blursharpen_amount color_degrade_power landmarks_list concatenate astype float32 cv2_imread shape normalize_channels MergeMaskedFace filepath clip enumerate str parent cv2_imread locals __import__ globals dict setApplicationName setPalette QDarkPalette Path show str initialize log_info setWindowIcon addApplicationFont AA_EnableHighDpiScaling setStyle setFont gettempdir setAttribute QApplication path_contains app_icon MainWindow exec_ parent QFont raise_ AA_UseHighDpiPixmaps
zjonijordan/DeepFaceLab
4,337
zju3dv/RVL-Dynamic
['camera localization', 'visual localization']
['Prior Guided Dropout for Robust Visual Localization in Dynamic Environments']
common/Analyser.py common/basic_layer.py common/utils.py experiments/config.py dataset_loader/cambridge.py dataset_loader/robotcar_sdk/image.py mapnet/train.py dataset_loader/composite.py common/img_utils.py dataset_loader/robotcar_sdk/transform.py dataset_loader/robotcar_sdk/project_laser_into_camera.py attentionmapnet/config.py dataset_loader/dataloaders.py dataset_loader/process_global_pose.py mapnet/config.py dataset_loader/robotcar_sdk/play_images.py dataset_loader/robotcar_sdk/build_pointcloud.py dataset_loader/robotcar.py experiments/train.py common/config.py attentionmapnet/AttentionPoseNet.py mapnet/select_failure_case.py common/evaluator.py posenet/PoseNet.py mapnet/eval.py mapnet/MapNet.py experiments/eval.py common/vis_utils.py attentionmapnet/SEAttentionPoseNet.py dataset_loader/robotcar_sdk/camera_model.py common/pose_utils.py posenet/SGPoseNet.py posenet/train.py common/data_preprocessing.py common/trainer.py attentionmapnet/train.py dataset_loader/robotcar_sdk/interpolate_poses.py attentionmapnet/eval.py common/Configurator.py posenet/config.py posenet/eval.py attentionmapnet/resnet.py common/data_preprocessing_cambridge.py AttentionPoseNet get_args ResNet resnet50 Bottleneck resnet152 conv3x3 resnet34 resnet18 BasicBlock resnet101 SEBlock SEAttentionPoseNet failure_case_selector ResidualAttentionBlock ResidualBlock Config Logger Configurator ResizeImages extract_frames safe_collate ResizeImages safe_collate read_grayscale_image align_3d_pts_noscale test_q_error PoseGraphFC calc_vo process_sensetime_poses test_align_camera_poses calc_vos_simple calc_vos_safe qlog_t qexp_t compose_pose_quaternion calc_vo_relative_logq_safe print_poses calc_vo_logq calc_vo_logq_safe skew dpsq_q dpsq_p test_align_3d_pts dpq_q dqstq_q quaternion_angular_error qlog_t_safe calc_vo_relative_logq normalize calc_vo_relative pgo_test_poses1 qexp_t_safe qinv pgo_test_poses rotate_vec_by_q PoseGraph calc_vos_safe_fc qlog np_qlog_t qexp m_rot align_2d_pts dqstq_t align_2d_pts_noscale log_quaternion_angular_error test_pose_utils test_pgo align_3d_pts vdot optimize_poses calc_vos process_poses qmult test_log_q_error invert_pose_quaternion calc_vos_relative align_camera_poses vis_tsne show_batch show_stereo_batch main Cambridge MFOnline OnlyPoses MaskMF MF main get_train_transforms get_mask_transforms get_posenet_train_dataloader get_test_dataloader get_rnn_test_dataloader get_maskmapnet_train_dataloader get_mapnet_train_dataloader lla2xyz pose_from_oxts concat_ts_and_pose RobotCar main build_pointcloud CameraModel load_image load_mask interpolate_ins_poses interpolate_poses interpolate_vo_poses so3_to_quaternion se3_to_components so3_to_euler build_se3_transform euler_to_so3 parse_args get_args get_args OnlineCriterion MapNet PaperCriterion Criterion get_args PoseNetTestConfig PoseNetConfig PoseNet Criterion SGPoseNet parse_args add_argument ArgumentParser load_url ResNet load_state_dict load_url ResNet load_state_dict load_url ResNet load_state_dict load_url ResNet load_state_dict load_url ResNet load_state_dict VideoCapture read format imwrite join print savetxt fromarray join format print data_dir loadtxt Compose len extend scene DataLoader savetxt save SenseTime numpy enumerate Cambridge mean shape astype sum mul norm unsqueeze mul vdot cross expand_as normalize cat cat clamp norm cat sin norm arccos clip clamp norm acos from_numpy asarray from_numpy asarray cross mul expand_as qmult rotate_vec_by_q qinv qexp_t calc_vo cat qlog_t qinv qmult qexp_t calc_vo_relative cat qlog_t qinv qmult qlog_t_safe qexp_t_safe qinv rotate_vec_by_q qmult qlog_t_safe qexp_t_safe append stack cat append stack cat append stack cat append stack cat calc_vo_logq_safe size stack unsqueeze append range cat zeros norm arccos all norm hstack squeeze len dot qlog zeros range mat2quat print transpose squeeze len dot qlog zeros range mat2quat arccos min pi dot abs max asarray zeros squeeze skew eye zeros skew eye zeros squeeze skew eye skew T cross dot eye zeros dot skew T eye dot vstack dpq_q optimize qinverse print qmult zeros range len svd transpose mean sqrt asscalar dot eye zeros range svd transpose mean sqrt asscalar dot eye zeros range svd transpose mean dot eye zeros range svd transpose mean dot eye zeros range svd squeeze transpose mean sqrt asscalar dot eye zeros range align_3d_pts print rand dot euler2mat align_camera_poses print rand dot zeros range euler2mat radians euler2mat zeros range mat2quat asarray len astype float32 deg2rad euler2mat qlog from_numpy qexp sqrt zeros numpy range enumerate mat2quat print mat2euler range quat2mat optimize print PoseGraph pgo_test_poses1 print_poses print squeeze rand quat2mat dot unsqueeze ra mat2quat eye compose_pose_quaternion invert_pose_quaternion cat euler2mat format print rad2deg quaternion_angular_error ra mat2quat euler2mat norm format arccos print rad2deg ra mat2quat log_quaternion_angular_error euler2mat show imshow transpose numpy show concatenate transpose imshow numpy show int ANTIALIAS thumbnail add_subplot astype min imshow figure zip zeros array show format make_grid print Compose MapNetConfigurator get_configuration show_batch Cambridge scatter DataLoader figure len size mean get_mapnet_train_dataloader join loadtxt Lambda Compose scene dict DataLoader MF dataset RobotCar join loadtxt Lambda Compose SevenScenes scene dict Cambridge DataLoader dataset SenseTime join print loadtxt Lambda Compose preprocessed_data_path ColorJitter Compose get_train_transforms dict DataLoader MF do_val RobotCar get_train_transforms SevenScenes dict Cambridge DataLoader SenseTime do_val get_train_transforms get_mask_transforms dict DataLoader MF MaskMF do_val tan cos log lla2xyz build_se3_transform split append str join range RobotCar plot vstack open str transpose build_se3_transform fromfile double range concatenate hstack group close interpolate_vo_poses interpolate_ins_poses empty pardir join dot zeros array len demosaic group camera undistort open undistort open sum arccos insert abs so3_to_quaternion multiply len square shape nonzero tile sin zeros ravel array range enumerate transpose euler_to_so3 identity matrix sqrt euler_to_so3 atan2 list sqrt trace max range transpose empty so3_to_euler print_opt config uniform_sampling model process_with_params devices load_from_json mask_image set_environmental_variables mask_sampling set_default_opts sampling_threshold opt
zju3dv/RVL-Dynamic
4,338
zju3dv/snake
['object localization', 'real time instance segmentation', 'instance segmentation', 'semantic segmentation']
['Deep Snake for Real-Time Instance Segmentation']
lib/datasets/coco/snake.py lib/utils/snake/active_spline.py lib/utils/base_utils.py external/cityscapesscripts/preparation/json2instanceImg.py lib/datasets/coco_test/snake.py lib/datasets/cityscapes/augmentation.py lib/train/trainers/ct_rcnn.py lib/train/__init__.py lib/datasets/cityscapes/snake.py external/cityscapesscripts/helpers/csHelpers.py lib/evaluators/cityscapes/snake.py lib/networks/rcnn_snake/evolve.py lib/networks/snake/ct_snake.py lib/networks/snake/evolve.py external/cityscapesscripts/preparation/createTrainIdLabelImgs.py lib/evaluators/cityscapes/rcnn_snake.py lib/datasets/make_dataset.py lib/config/config.py lib/networks/ct_rcnn/dla.py lib/networks/ct_rcnn/__init__.py lib/networks/rcnn_snake/snake.py lib/train/trainers/rcnn_snake.py lib/datasets/cityscapes_test/rcnn_snake.py lib/train/recorder.py external/cityscapesscripts/evaluation/evalPixelLevelSemanticLabeling.py lib/utils/snake/snake_decode.py lib/networks/make_network.py lib/datasets/kins/snake.py external/cityscapesscripts/preparation/createTrainIdInstanceImgs.py external/cityscapesscripts/evaluation/evalInstanceLevelSemanticLabeling.py lib/networks/snake/__init__.py lib/csrc/roi_align_layer/setup.py lib/csrc/dcn_v2/test.py lib/train/trainers/snake.py external/cityscapesscripts/evaluation/instances2dict.py external/cityscapesscripts/helpers/annotation.py lib/datasets/__init__.py tools/demo.py lib/evaluators/coco/snake.py lib/datasets/cityscapes/ct_rcnn.py lib/networks/rcnn_snake/dla.py lib/networks/snake/dla.py lib/utils/net_utils.py lib/utils/img_utils.py lib/evaluators/kins/snake.py lib/datasets/transforms.py lib/evaluators/cityscapes_test/snake.py lib/visualizers/snake.py lib/datasets/cityscapes_coco/rcnn_snake.py lib/datasets/sbd/snake.py external/cityscapesscripts/helpers/labels_cityPersons.py lib/datasets/cityscapes_coco/ct_rcnn.py lib/datasets/coco/augmentation.py lib/config/__init__.py lib/datasets/voc_test/snake.py lib/networks/dcn_v2.py lib/datasets/dataset_catalog.py lib/train/scheduler.py lib/utils/optimizer/radam.py lib/config/yacs.py lib/csrc/dcn_v2/setup.py lib/datasets/cityscapes/cityscapes_utils.py external/cityscapesscripts/helpers/labels.py lib/utils/data_utils.py lib/train/trainers/__init__.py lib/utils/optimizer/lr_scheduler.py tools/convert_sbd.py lib/datasets/voc/snake.py lib/networks/snake/snake.py lib/visualizers/rcnn_snake.py lib/train/trainers/make_trainer.py lib/datasets/kins/ct.py external/cityscapesscripts/evaluation/instance.py lib/visualizers/make_visualizer.py external/cityscapesscripts/evaluation/evalPanopticSemanticLabeling.py lib/utils/snake/snake_eval_utils.py lib/utils/snake/snake_coco_utils.py lib/networks/__init__.py lib/evaluators/sbd/cocoeval.py lib/networks/rcnn_snake/ct_rcnn_snake.py lib/evaluators/__init__.py lib/networks/ct_rcnn/cp_head.py lib/train/trainers/trainer.py external/cityscapesscripts/preparation/json2labelImg.py lib/networks/rcnn_snake/__init__.py lib/datasets/cityscapes/ct.py lib/datasets/cityscapes_coco/snake.py lib/csrc/roi_align_layer/roi_align.py lib/evaluators/cityscapes_test/rcnn_snake.py lib/datasets/cityscapes/rcnn_snake.py lib/utils/snake/snake_voc_utils.py lib/utils/rcnn_snake/rcnn_snake_config.py lib/evaluators/make_evaluator.py run.py lib/utils/rcnn_snake/rcnn_snake_utils.py lib/evaluators/sbd/snake.py lib/utils/snake/snake_cityscapes_utils.py lib/evaluators/cityscapes_coco/snake.py lib/utils/snake/snake_poly_utils.py lib/train/optimizer.py lib/datasets/samplers.py external/cityscapesscripts/preparation/createPanopticImgs.py lib/utils/snake/snake_kins_utils.py lib/networks/rcnn_snake/cp_head.py lib/datasets/cityscapes_test/snake.py lib/utils/snake/snake_config.py lib/utils/snake/visualize_utils.py lib/evaluators/cityscapes_coco/rcnn_snake.py lib/utils/snake/snake_gcn_utils.py lib/datasets/collate_batch.py lib/visualizers/__init__.py lib/csrc/extreme_utils/setup.py lib/utils/snake/snake_cityscapes_coco_utils.py lib/networks/ct_rcnn/ct_rcnn.py lib/evaluators/cityscapes_coco/ct_rcnn.py train_net.py run_dataset run_visualize run_network run_sbd run_evaluate run_demo main train test evaluateMatches readPredInfo CArgs computeAverages prepareJSONDataForResults evaluate assignGt2Preds getGtInstances setInstanceLabels filterGtInstances readGTImage getPrediction evaluateImgLists matchGtWithPreds main printResults PQStat get_traceback pq_compute_single_core pq_compute_multi_core PQStatCat average_pq evaluatePanoptic print_results rgb2id main Instance main instances2dict appendInstanceDict CsPoly CsObjectType CsBbox CsObject Annotation getCoreImageFileName printError getCsFileInfo getColorEntry getDirectory ensurePath writeDict2JSON colors assureSingleInstanceName main convert2panoptic main main printHelp createInstanceImage printError main json2instanceImg printHelp printError json2labelImg main createLabelImage parse_cfg make_cfg _check_and_coerce_cfg_value_type load_cfg CfgNode _load_module_from_file _load_cfg_from_file _to_dict _merge_a_into_b _load_cfg_from_yaml_str _load_cfg_py_source _assert_with_logging _decode_cfg_value _valid_type get_extensions example_dpooling conv_identify check_zero_offset example_mdpooling check_pooling_zero_offset check_gradient_dconv example_dconv check_gradient_dpooling get_extensions ROIAlign _ROIAlign get_extensions ext_snake_collator snake_collator rcnn_snake_collator make_collator dsnake_collator DatasetCatalog make_data_sampler _dataset_factory make_dataset make_data_loader make_batch_data_sampler ImageSizeBatchSampler IterationBasedBatchSampler ToTensor Compose Normalize make_transforms augment visualize_stat_num add_stat read_dataset visualize_bbox Dataset Dataset Dataset Dataset Dataset augment Dataset Dataset Dataset Dataset Dataset make_evaluator _evaluator_factory Evaluator Evaluator Evaluator DetectionEvaluator Evaluator DetectionEvaluator Params COCOeval Evaluator DetectionEvaluator _DCNv2Pooling DCNPooling _DCNv2 DCNv2 DCN DCNv2Pooling make_network get_network ComponentDetection fill_fc_weights get_network Network BottleneckX fill_fc_weights Interpolate Root dla34 Bottleneck get_model_url Tree IDAUp conv3x3 DLAUp DLASeg Identity fill_up_weights DeformConv BasicBlock DLA get_network ComponentDetection fill_fc_weights get_network Network BottleneckX fill_fc_weights Interpolate Root dla34 Bottleneck get_model_url Tree IDAUp conv3x3 DLAUp DLASeg Identity fill_up_weights DeformConv BasicBlock DLA Evolution Snake BasicBlock DilatedCircConv CircConv get_network get_network Network BottleneckX fill_fc_weights Interpolate Root dla34 Bottleneck get_model_url Tree IDAUp conv3x3 DLAUp DLASeg Identity fill_up_weights DeformConv BasicBlock DLA Evolution Snake BasicBlock DilatedCircConv CircConv get_network make_optimizer Recorder make_recorder SmoothedValue set_lr_scheduler make_lr_scheduler NetworkWrapper make_trainer _wrapper_factory NetworkWrapper NetworkWrapper Trainer project read_pickle save_pickle _gather_feat draw_distribution get_dir inter_from_polys lighting_ blur_aug get_edge draw_poly saturation_ get_border inter_from_poly blend_ clip_to_image compute_gaussian_1d get_area _nms select_point draw_heatmap_np _topk color_aug draw_umich_gaussian get_gt_mask contrast_ small_aug affine_transform brightness_ box_iou grayscale gaussian2D truncated_normal get_affine_transform inter_from_mask transform_small_gt gaussian_radius get_mask_img get_3rd_point gaussian_blur add_small_obj visualize_heatmap visualize_coco_ann visualize_coco_bbox draw_seg_prob_th visualize_color_aug bgr_to_rgb unnormalize_img visualize_coco_img_mask draw_seg_th draw_vertex_th _gather_feat save_model IndL1Loss1d load_model Ind2dRegL1Loss load_network FocalLoss remove_net_prefix AELoss replace_net_prefix add_net_prefix GeoCrossEntropyLoss _tranpose_and_gather_feat smooth_l1_loss sigmoid AttentionLoss SmoothL1Loss remove_net_layer PolyMatchingLoss _neg_loss WarmupMultiStepLR ManualStepLR AdamW RAdam PlainRAdam decode_cp_detection box_to_roi sample_point augment read_dataset clip_poly_to_image add_gaussian_noise get_cw_polys get_box get_octagon uniformsample polygon_to_mask transform_bbox get_extreme_points img_poly_to_can_poly uniform_sample_init xywh_to_xyxy get_valid_polys handle_break_point uniform_sample_segment get_inner_center get_quadrangle get_init get_ellipse process_info augment prepare_ct_off_mask transform_polys get_valid_shape_poly continuous_label_to_cityscapes_label filter_tiny_polys augment gather_feat nms topk decode_ext_hm get_quadrangle decode_ct_hm get_init transpose_and_gather_feat get_box gaussian_radius get_octagon rcnn_poly_to_mask rcnn_coco_poly_to_mask rcnn_coco_poly_to_rle poly_to_mask coco_poly_to_mask coco_poly_to_rle uniform_upsample collect_training prepare_training_box img_poly_to_can_poly get_pconv_ind prepare_testing_evolve prepare_training get_box_match_ind get_gcn_feature get_adj_mat zoom_poly prepare_testing_init prepare_training_evolve get_adj_ind prepare_training_init augment poly_iou get_shape_poly poly_nms get_poly_match_ind get_poly_iou_matrix clip_poly_to_image add_gaussian_noise get_cw_polys get_box get_octagon uniformsample polygon_to_mask transform_bbox get_extreme_points img_poly_to_can_poly uniform_sample_init xywh_to_xyxy get_valid_polys handle_break_point uniform_sample_segment get_inner_center get_quadrangle get_init augment prepare_ct_off_mask transform_polys get_valid_shape_poly filter_tiny_polys get_bbox visualize_snake_detection visualize_cp_detection visualize_snake_octagon visualize_snake_evolution make_visualizer Visualizer Visualizer convert_sbd binary_mask_to_polygon save_annotations generate_anno close_contour convert_labels read_txt Dataset demo tqdm make_data_loader print tqdm model_dir eval make_data_loader load_network cuda len evaluate summarize tqdm model_dir eval make_evaluator make_data_loader load_network cuda make_visualizer tqdm model_dir eval make_data_loader load_network cuda visualize convert_sbd demo make_trainer make_optimizer val epoch save_model load_model make_recorder model_dir make_evaluator make_data_loader step make_lr_scheduler range make_trainer val model_dir make_evaluator make_data_loader load_network make_network train test join predictionWalk format printError getCsFileInfo predictionPath realpath filter city sequenceNb dirname abspath append frameNb walk append name format printError gtInstancesFile print instances2dict appendInstanceDict isfile writeDict2JSON len readPredInfo format print assignGt2Preds filterGtInstances readGTImage abspath zip flush len count_nonzero deepcopy int instLabels name reshape convert logical_and id copy shape ignoreInEval append array enumerate open instLabels cumsum max printError ones append minRegionSizes copy unique zip float empty enumerate distanceConfs convolve distanceThs min overlaps argsort dot zeros len instLabels distanceAvailable distanceThs overlaps where nanmean average argmax isclose enumerate format instLabels distanceAvailable print enumerate tolist instLabels evaluateMatches computeAverages prepareJSONDataForResults exportFile getGtInstances JSONOutput setInstanceLabels matchGtWithPreds dirname ensurePath writeDict2JSON printResults format groundTruthSearch printError gtInstancesFile glob print getPrediction evaluateImgLists append abspath evaluateImgLists astype int32 PQStat join remove format uint64 get list items print rgb2id astype set add unique zip open array len PQStat format array_split print cpu_count apply_async append Pool enumerate len pq_average print sorted format keys time format printError pq_compute_multi_core print average_pq print_results append get join resultsFile gtJsonFile add_argument predictionJsonFile realpath evaluatePanoptic dirname ArgumentParser parse_args gtFolder predictionFolder toDict Instance unique abspath append array open format toDict print Instance len unique abspath append array flush open instances2dict print str exit format basename printError CsFile split len getCsFileInfo dirname makedirs save open basename printError dirname ignoreInEval append sum format replace glob realpath mkdir unique flush enumerate join print sort zeros array len outputFolder cityscapesPath convert2panoptic useTrainId replace sort json2instanceImg flush len json2labelImg print basename format format printHelp show hasInstances format trainId Draw deleted printError print new set_trace id imshow objects polygon label array createInstanceImage Annotation fromJsonFile save printHelp getopt exit format trainId Draw deleted printError print new id color objects polygon label createLabelImage Annotation fromJsonFile save join task det model record_dir result_dir model_dir merge_from_file cfg_file parse_cfg merge_from_list opts type format isinstance _assert_with_logging name splitext safe_load format hasattr _load_module_from_file cfg _assert_with_logging type update join deepcopy format list items isinstance key_is_deprecated _decode_cfg_value _assert_with_logging key_is_renamed raise_key_rename_error type _check_and_coerce_cfg_value_type literal_eval isinstance append type conditional_cast debug load_source spec_from_file_location exec_module module_from_spec glob join dirname abspath shape range zero_ max conv_mask conv_offset conv_identify print bias sigmoid zero_ dcn_v2 weight cuda sigmoid gradcheck cuda print join print new dpooling pooling zero_ float cuda print gradcheck float cuda cat dcn backward print new mean shape uniform_ cuda backward print new mean shape dpooling pooling uniform_ float cuda cat backward print new mean shape dpooling uniform_ float cuda cat update Tensor LongTensor default_collate zeros sum max range len update sum Tensor LongTensor default_collate zeros snake_collator max range len update Tensor LongTensor default_collate zeros sum max range len update Tensor LongTensor default_collate zeros sum max range len join Dataset get task dataset _dataset_factory SequentialSampler RandomSampler BatchSampler IterationBasedBatchSampler make_data_sampler batch_size make_collator num_workers make_dataset DataLoader make_transforms make_batch_data_sampler Compose warpAffine color_aug arange small_num get_affine_transform small_aug astype float32 copy choice transpose array get_border randint max len show subplots Polygon add_patch imshow range len dict show list read_dataset text set_trace bar zip keys range values len CLASSES join task Evaluator result_dir skip_eval heads get_model network head_conv join task isinstance bias Conv2d modules constant_ Network load_pretrained_model DLA data fabs size ceil range det_dir down_ratio weight_decay lr named_parameters milestones MultiStepLR ManualStepLR WarmupMultiStepLR gamma warmup Counter milestones gamma warmup join task NetworkWrapper _wrapper_factory format system dirname dot T sqrt min exp gaussian2D maximum gaussian2D maximum int max draw_umich_gaussian array getStructuringElement MORPH_RECT exp getAffineTransform get_dir float32 pi zeros get_3rd_point array dot T array any normal uniform blend_ uniform uniform blend_ grayscale f shuffle lighting_ mean blur_gaussian_ normal abs clip range gaussian_filter bool sum astype fillPoly zeros draw_poly inter_from_poly max_iter inter_from_polys randint array range array fillPoly transform_small_gt copy shape select_point get_mask_img fillPoly range len concatenate len copy append get_gt_mask range add_small_obj normal RandomState max_pool2d float view size expand expand_as gather int topk view size float clamp clamp get_area max min max min clone int float clone range long min max show subplots Polygon add_patch imshow range len show max uint8 subplots astype imshow resize array show imshow subplots show imshow subplots show imshow showAnns clamp pow float sum log sum view mean pow shape float abs size contiguous view _gather_feat load join format print system load_state_dict colored max join format min system save load join format print load_state_dict colored max OrderedDict list keys startswith OrderedDict list keys OrderedDict list keys startswith list keys startswith float cat nms topk max_cp_overlap view max_cp_det size transpose_and_gather_feat stack cp_hm_nms device append to range cat len int unsqueeze_ cumsum reshape size sqrt pow repeat device to sum cat detach clip append join array split uniform scale ravel clip outside_border append ravel range len affine_transform handle_break_point append range len Polygon is_valid polygonize MultiPolygon exterior intersection append get_valid_shape_poly extend contains any zeros range len append zeros fillPoly distance_transform_edt astype sqrt maximum_filter int32 sum get_inner_center polygon_to_mask append argmax argmin cos pi zeros array range list init_poly_num roll append uniform_sample_segment array range len arange concatenate reshape sort astype argsort shape sqrt int32 append sum range arange concatenate reshape astype argsort shape sqrt int32 append sum range min array int shape uniform gaussian_radius max clip int max_pool2d float view size expand expand_as gather gather_feat size contiguous view int view size float nms topk view size transpose_and_gather_feat float cat clamp pow ceil float nms topk view size min expand transpose_and_gather_feat gather float max cat size view size view size view int fillPoly append zeros range len decode len append frPyObjects range merge int fillPoly append zeros range len decode len append frPyObjects range merge decode len append frPyObjects range merge decode len append frPyObjects range merge size cat update byte uniform_upsample init_poly_num img_poly_to_can_poly get_init cat view max box_iou cat update items list train_pred_box_only img_poly_to_can_poly byte size get_octagon cat update prepare_training_box byte train_pred_box device to train_nearest_gt img_poly_to_can_poly roll_array get_octagon to img_poly_to_can_poly get_octagon zeros_like size clone unsqueeze permute device to range astype float32 zeros range Tensor LongTensor poly_num cat LongTensor clone cumsum clamp size roll argsort sqrt calculate_edge_num expand gather sum long calculate_wnp Polygon is_valid polygonize MultiPolygon exterior intersection area cascaded_union zeros range poly_iou len get_poly_iou_matrix argmax max ravel zeros append get_poly_iou_matrix range len show plot bgr_to_rgb imshow down_ratio blend_hm_img array range len show plot bgr_to_rgb imshow down_ratio array range len show plot bgr_to_rgb imshow scatter append show get_bbox subplots plot Polygon bgr_to_rgb reshape add_patch imshow scatter get_octagon append range len join task Visualizer join format vstack subtract tolist close_contour pad append find_contours flip approximate_polygon join int sum uint8 encode decode binary_mask_to_polygon astype copy shape boundingRect array unique fill zeros loadmat max append join format system join list save_annotations generate_anno tqdm range len append convert_labels read_txt Dataset make_visualizer tqdm model_dir eval load_network cuda visualize
zju3dv/snake
4,339
zjunlp/DiagnoseRE
['relation extraction']
['On Robustness and Bias Analysis of BERT-based Relation Extraction']
Q1/en_core_web_sm-2.3.1/setup.py Q1/random_perturb.py Q3/test_cf.py Q5/only_entity.py train.py Q2/filter_correct.py data/tacred/get_rel2id.py Q4/generate_rules.py Q5/select_debiased.py test.py Q5/mask_random.py Q2/victim.py Q2/attack.py Q3/train_cf.py Q3/fix_length.py data/tacred/convert_json.py Q1/en_core_web_sm-2.3.1/en_core_web_sm/__init__.py Q1/merge_dataset.py Q5/mask_frequency.py Q4/mask_by_rules.py Q3/integrated_gradient.py Q3/counterfactual.py Q4/train_weighted.py perturb_context_by_type read_dataset setup_package list_files list_requirements load_meta load attack_process sample2dataset sample2data data2sample dataset2sample REClassifier get_embed tokenize eval_na tokenize eval_na isinstance len copy nlp perturb_func append split append join walk get join str setup copy load_meta dirname abspath y qsize device open str generate_adv device_count InvokeLimitedAttackEval get format relation_path info model_path empty REClassifier load time max_seq_len dataset2sample len join sub append len append sample2data Dataset append data2sample convert_tokens_to_ids index unsqueeze zeros len format info float range len
zjunlp/DiagnoseRE
4,340
zl2860/InterpretableDL
['data augmentation']
['TorchIO: A Python library for efficient loading, preprocessing, augmentation and patch-based sampling of medical images in deep learning']
models/SiameseNet.py utils/visualize.py models/BasicModule.py detail/CheckPredict.py models/ContrastLoss.py config.py data/dataset.py models/AD_desgined.py main.py models/vgg16.py data/dataset_ADNI.py models/models.py DefaultConfig val_class val train train_class check_target_value create_train_val check_coverage visual_check_single im_show check_fa make_dataset display_slice create_dir_not_exist visual_check check_tensor_dim create_train_val make_dataset display_slice create_dir_not_exist im_show get_true_val get_predict flat AD_design BasicModule ContrastiveLoss WeightedMSELoss Conv3d SiameseNet vgg3d ADnetwork VisdomLinePlotter Visualizer data model zero_grad save tensor cuda list hasattr view squeeze len max_epoch Adam strftime MSELoss crop_size shape map add lr_decay range create_train_val SummaryWriter format val add_histogram param_groups display_slice add_image enumerate AverageValueMeter criterion backward print add_scalar named_parameters parameters empty_cache reset cpu im_show step makedirs eval train AverageValueMeter MSELoss data model batch_size zero_grad save tensor BCEWithLogitsLoss cuda max list hasattr view len max_epoch Adam strftime map crop_size shape add lr_decay range create_train_val SummaryWriter format add_histogram param_groups display_slice zeros add_image enumerate AverageValueMeter criterion backward print add_scalar named_parameters val_class parameters empty_cache reset cpu im_show step makedirs eval AverageValueMeter BCEWithLogitsLoss isnull format print shape SubjectsDataset zip append Subject Compose WeightedRandomSampler make_dataset SubjectsDataset DataLoader unsqueeze make_grid imshow clf permute print squeeze mean shape append range enumerate print squeeze shape append sum range enumerate makedirs format print Series shape display_slice savefig create_dir_not_exist append im_show DataFrame enumerate len show subplot format Image print squeeze shape imshow figure shuffle values use_gpu list format view print cpu train map crop_size shape eval device append tensor to enumerate append len range item list format print map item append tensor range enumerate len
zl2860/InterpretableDL
4,341
zlf1993/cy
['instance segmentation', 'semantic segmentation']
['EOLO: Embedded Object Segmentation only Look Once']
CenterNet.py coco/Taco.py utils/utils.py mobilenet_v3_block.py yolov3_layer_utils.py utils/tfrecord_voc_utils.py utils/tfrecord_imagenet_utils.py train.py pycocotools/mask.py pycocotools/coco.py utils/test_voc_utils.py utils/imagenet_classname_encoder.py mobilenet_v3_small.py coco/coco.py pycocotools/__init__.py test2.py utils/voc_classname_encoder.py pycocotools/cocoeval.py utils/test_imagenet_utils.py utils/image_augmentor.py utils/visualize.py config.py CentLoss log CenterNet EpochRecord Config BottleNeck h_swish h_sigmoid SEBlock MobileNetV3Small h_swish h_sigmoid darknet53_body upsample_layer yolo_block yolo_conv2d CenterNetTestConfig CocoDataset SequenceData build_coco_results evaluate_coco CenterNetCocoConfig CenterNetTestConfig TacoDataset SequenceData SequenceVal TacoConfig COCO _isArrayLike Params COCOeval encode decode area toBbox image_augmentor get_generator parse_function int64_feature bytes_feature dataset2tfrecord ImageReader get_generator parse_function int64_feature bytes_feature float_feature dataset2tfrecord xml_to_example compute_ap compose_image_meta norm_boxes compute_recall apply_box_deltas compute_overlaps compute_iou resize resize_image box_refinement_graph mold_mask compute_ap_range compute_overlaps_masks denorm_boxes unmold_mask gravity_center download_trained_weights non_max_suppression resize_mask extract_bboxes trim_zeros compute_matches batch_slice expand_mask box_refinement Dataset display_differences draw_box display_images draw_rois draw_boxes display_top_vector_masks apply_mask random_colors display_instances display_table display_weight_stats plot_overlaps plot_precision_recall display_top_masks ljust size print array h_swish conv2d range res_block yolo_conv2d resize_nearest_neighbor append around range time uint8 format evaluate COCOeval summarize print len astype extend accumulate build_coco_results loadRes load_image enumerate shape concat reduce_max cos boolean_mask where random_uniform resize_images transpose rotate pad cast sin less slice cond reshape float32 int32 reduce_min join int isdir print len shuffle warn ceil range MakeDirs append float listdir Session ImageReader decode_raw reshape float32 int64 cast int32 parse_single_example image_augmentor decode_jpeg TFRecordDataset output_types make_initializer from_structure repeat output_shapes join read parse int asarray text len float32 xpath Example int32 getroot zeros float range find Glob minimum maximum zeros range compute_iou T astype float32 dot sum astype delete float32 compute_iou append astype float32 stack cast float32 log astype float32 log dtype min pad resize randint max pad int uint8 threshold astype zeros moments range zeros array range list array astype resize zeros bool range zeros bool astype resize ones trim_zeros compute_overlaps_masks range len arange concatenate cumsum compute_matches astype float32 maximum sum range len compute_ap format print mean append compute_overlaps set argmax max len list graph_fn zip append range len print array array show subplot uint8 print min axis astype shape title imshow figure zip max len list shuffle range where subplots axis show set_title apply_mask imshow find_contours range set_xlim astype copy uint8 Circle Polygon print text add_patch Rectangle zeros fliplr set_ylim compute_matches display_instances concatenate len subplots arange rand axis Line2D unmold_mask shape title apply_mask imshow format set_xlim astype copy enumerate add_line print text add_patch Rectangle int32 set_ylim len format arange display_images unique append sum range sorted format concatenate display_images shape unique append zeros range format subplots set_title plot set_xlim set_ylim list format arange product yticks text xlabel tight_layout ylabel imshow figure xticks max range len subplots axis Line2D random_colors set_title apply_mask imshow find_contours range set_xlim astype copy add_line uint8 Polygon text add_patch Rectangle int32 zeros fliplr set_ylim HTML display get_trainable_layers name weights display_table append get_weights enumerate
zlf1993/cy
4,342
zongdaoming/point-cloud-completition
['data visualization']
['ShapeNet: An Information-Rich 3D Model Repository']
pytorch/utils/chamfer/dist_chamfer.py tensorflow/main.py shared/data_utils.py pytorch/utils/parse_args.py pytorch/models/PointNetFCAE.py pytorch/utils/emd/build.py pytorch/utils/emd/_ext/my_lib/__init__.py pytorch/utils/emd/functions/emd.py pytorch/_init_paths.py tensorflow/models/PCN.py tensorflow/models/common.py tensorflow/utils/train_utils.py tensorflow/models/Folding.py tensorflow/models/TopNet.py pytorch/models/AtlasNet.py tensorflow/utils/net_util.py pytorch/PointNet++/pointnet_utils.py tensorflow/utils/parse_args.py pytorch/utils/train_utils.py pytorch/utils/emd/modules/emd.py pytorch/models/common.py pytorch/utils/chamfer/setup.py tensorflow/utils/pc_distance/tf_approxmatch.py tensorflow/utils/pc_distance/tf_nndistance.py shared/data_process.py shared/vis.py tensorflow/_init_paths.py pytorch/main.py pytorch/utils/emd/test.py shared/datasets/shapenet.py main save_model addpath PointGenCon AtlasNet_step AtlasNet_setup AtlasNet AtlasNet_create_model PointNetfeat weights_init STN3d PointNetFCAE_step PointNetFCAE_create_model PointNetFCAE PointNetFCAE_setup feature_transform_reguliarzer PointNetEncoder STN3d STNkd parse_args parse_experiment cache_pred set_seed create_optimizer metrics samples data_setup benchmark_results test model_at batch_instance_metrics resume check_overwrite train chamferDist chamferFunction EMDFunction EMDModule _import_symbols print_error get_while_running DataProcess kill_data_processes test_process load_csv load_h5 augment_cloud pad_cloudN plot_pcds plot_xyz plot_pcds_patterns plot_colorxyzs test_process ShapenetDataProcess main save_model setup addpath average_gradients num_params create_multigpu_model create_pointnet_encoder create_pcn_encoder Folding_setup Folding_step Folding_create_model Folding PCN PCN_setup PCN_create_model PCN_step get_arch TopNet_setup TopNet_create_model TopNet TopNet_step mlp emd mlp_conv chamfer parse_args parse_experiment cache_pred set_seed metrics AverageValueMeter samples data_setup tf_resume train benchmark_results test model_at batch_instance_metrics check_overwrite set_optim get_available_gpus _match_cost_grad match_cost _match_cost_shape approx_match _approx_match_shape _nn_distance_grad nn_distance join odir save parse_experiment odir save_model data_setup benchmark_results model_at benchmark nworkers check_overwrite dec_params NET enc_params seed set_seed kill_data_processes samples append parse_args EMDModule range format create_optimizer start_epoch eval resume join cache_pred metrics print isnan epochs makedirs insert int print sqrt npts append range nb_primitives len format print nparams apply DataParallel AtlasNet sum cuda batch_size contiguous grid training mean numpy array forward cuda normal_ __name__ fill_ format print nparams DataParallel npts PointNetFCAE sum cuda batch_size contiguous training mean array numpy cuda bmm norm transpose mean cuda is_cuda add_argument ArgumentParser input isfile int read argmin readlines loads float max load read format create_optimizer print param_groups nparams loads load_state_dict lr dec_params enc_params Adagrad Adadelta Adam RMSprop SGD parameters filter seed manual_seed DataProcessClass start Queue append range batch_size zero_grad add append range get debug data_paths item enumerate int AverageValueMeter time backward print tqdm step len get int AverageValueMeter time batch_size print debug data_setup data_paths add tqdm kill_data_processes eval append step range enumerate len get int join odir batch_size print getcwd data_setup data_paths squeeze makedirs communicate tqdm kill_data_processes step range Popen len batch_size data_setup classmap str list defaultdict hasattr kill_data_processes append range get data_paths eval zip int items print tqdm step len mean get int defaultdict hasattr odir batch_size print data_setup data_paths tqdm kill_data_processes batch_instance_metrics eval append step range len dir _wrap_function getattr append callable get_nowait sleep get print close terminate sleep shutdown dtype items print DataProcess data_paths get_while_running kill_data_processes start shape Queue append range len __self__ arange concatenate astype float32 choice T axangle2mat pc_augm_jitter astype float32 pi dot uniform pc_augm_scale pc_augm_rot zfdir2mat append print File array close print set_axis_off view_init add_subplot set_xlim subplots_adjust scatter set_zlim figure set_ylim set_axis_off view_init add_subplot set_xlim subplots_adjust scatter set_zlim figure set_ylim show set_title suptitle view_init set_axis_off add_subplot set_xlim subplots_adjust close scatter set_zlim figure savefig zip range enumerate set_ylim len show set_title suptitle view_init set_axis_off add_subplot set_xlim subplots_adjust close scatter set_zlim figure savefig zip range enumerate set_ylim len plot_pcds T ArgumentParser nworkers parse_args ShapenetDataProcess sess str bool Variable print nparams float32 placeholder ConfigProto Saver dec_params global_variables_initializer set_optim enc_params Session run tf_resume setup len get_available_gpus int num_gpus get_or_create_global_step batch_size average_gradients concat get_collection reduce_mean UPDATE_OPS concat reduce_mean zip append expand_dims int npts sqrt grid_size format print nparams num_params create_multigpu_model int num_coarse npts grid_size format print nparams num_params create_multigpu_model int log2 int get_arch npts NLEVELS prod format print nparams num_params create_multigpu_model fully_connected enumerate relu conv1d enumerate relu reduce_mean nn_distance approx_match cast float32 match_cost restore format sess read print loads resume constant AdagradOptimizer MomentumOptimizer momentum AdamOptimizer lr RMSPropOptimizer AdadeltaOptimizer set_random_seed list_local_devices with_rank with_rank match_cost_grad
zongdaoming/point-cloud-completition
4,343
zouchangjie/T-GCN--------
['traffic prediction']
['T-GCN: A Temporal Graph ConvolutionalNetwork for Traffic Prediction']
visualization.py main.py tgcn.py input_data.py utils.py gru.py baselines.py aa.py gcn.py preprocess_data evaluation GCN GRUCell preprocess_data load_los_data load_sz_data TGCNz evaluation tgcnCell calculate_laplacian sparse_to_tuple weight_variable_glorot normalized_adj plot_result plot_error int mat append range len var norm mean_absolute_error sqrt mean_squared_error sum mat read_csv mat read_csv array MultiRNNCell static_rnn reshape transpose tgcnCell matmul unstack append diags tocoo astype float32 flatten coo_matrix sum array data tocoo transpose shape SparseTensor normalized_adj csr_matrix astype float32 eye sqrt random_uniform show plot savefig figure legend show plot savefig figure legend
zouchangjie/T-GCN--------
4,344
zphang/usc_dae
['text summarization', 'denoising', 'sentence compression']
['Unsupervised Sentence Compression using Denoising Auto-Encoders']
src/tests/test_conf.py src/models/attention.py sample_scripts/dae_json.py src/tests/test_data.py src/utils/misc.py src/models/top.py src/utils/devices.py src/models/nli.py sample_scripts/simple_inference.py src/utils/logs.py src/models/length_control.py src/utils/conf.py src/models/generators.py src/models/encoders.py src/datasets/data.py src/runners/inference.py sample_scripts/file_stats.py src/models/autoencode.py sample_scripts/simple_inference_nli_init.py src/models/decoders.py src/datasets/preprocess.py src/utils/operations.py src/runners/dae_train.py get_stats run_inference run_inference CorpusReader transform_ids read_embeddings remove_oov_map oov_map load_vocabulary special_ids raw_length HybridEmbeddings resolve_embeddings_and_dictionary resolve_corpus is_oov oov_map_list Dictionary NCorpusReader tokenize generate_vocabulary_file GlobalAttention additive_noise get_autoencode_loss resolve_special_vocab AttnRNNDecoder RNNDecoder StackedLSTM StackedGRU RNNEncoder LinearGenerator WrappedEmbeddingGenerator EmbeddingGenerator resolve_generator get_length_penalty get_length_data_from_desired sample_length_data get_fixed_length_data sample_desired_lengths resolve_nli_mapper get_nli_loss resolve_nli_model LSTMNLIMapper get_nli_model NLIMapper Optimizers TwoModel add_optimizer SimpleModel DAETrainer Inference test_configuration_json_consistency test_read_embeddings_and_special_ids_and_word_ids test_corpus test_dictionary EnvConfiguration update_parser path_or_none argparse_attr read_parser Configuration _is_true cpu device_from_env gpu device_from_conf SimpleFileLogger log_context get_date_log_path EmptyLogger AbstractLogger PrintLogger get_named_date_log_path datetime_format get_base_dir repackage_hidden simple_loss_function shuffle mask mm3d2d zero_loss update_learning_rate clip_gradients shuffle_2_grams masked_nllloss load device_from_env corpus_inference learned_embeddings write Inference resolve_embeddings_and_dictionary resolve_corpus ids2sentences from_env get_oov_dicts open corpus_inference_nli_init get_nli_model Dictionary list sorted print Embedding set copy_ from_numpy oov_map_list HybridEmbeddings array len read_embeddings device split Series sort_values Counter device max initial_output FloatTensor transpose mask encode encoder additive_noise masked_nllloss LongTensor sentences2ids decoder Variable initial_hidden get_fixed_length_data zeros nli_mapper len astype shuffle floor ceil next_batch shuffle_2_grams array range enumerate len LinearGenerator WrappedEmbeddingGenerator EmbeddingGenerator device Variable length_criterion BCEWithLogitsLoss device reshape arange tile get_length_data_from_desired sample_desired_lengths get_length_data_from_desired load get_glove print set_glove_path parameters cuda nli_model embed_onehot LongTensor Variable embed_ids device mapper_class enc_lstm_dim parameters Adam to_json get_conf read_embeddings sentence2ids isinstance __attrs_attrs__ add_argument copy default dict items list class_with_attributes attr argparse_attr isinstance isinstance use_gpu datetime_format max range fill_ len load_state_dict state_dict MSELoss NLLLoss view criterion ones shape enumerate clip_grad_norm module_ls parameters shuffle
zphang/usc_dae
4,345
zsef123/PointRend-PyTorch
['instance segmentation', 'semantic segmentation']
['PointRend: Image Segmentation as Rendering']
model/pointrend.py train.py model/deeplab.py model/resnet.py model/sampling_points.py infer.py utils/metrics.py datas/__init__.py datas/transforms.py utils/gpus.py model/__init__.py configs/parser.py main.py infer amp_init parse_args set_loggging train step arg_parse Parser YamlStructure RandomFlip ToTensor Compose Resize RandomCrop Normalize ConvertMaskID get_cityscapes get_voc get_loader SmallDeepLab deeplabv3 PointHead PointRend resnet53 ResNetXX3 resnet103 sampling_points point_sample synchronize get_world_size reduce_dict all_gather get_rank is_main_process reduce_tensor ConfusionMatrix update ConfusionMatrix eval mIoU info to argmax enumerate add_argument ArgumentParser init_process_group synchronize set_device distributed local_rank setFormatter basicConfig addHandler makedirs Formatter FileHandler train zero_grad enumerate interpolate info to long net cross_entropy reduce_tensor infer epochs save step range state_dict add_argument ArgumentParser Compose Compose print get_voc DistributedSampler get_cityscapes dataset SmallDeepLab squeeze unsqueeze grid_sample int topk arange view sort float min rand point_sample shape device zeros to barrier get_world_size from_buffer dumps get_world_size loads zip append to max cat reduce get_world_size sorted reduce get_world_size stack append keys
zsef123/PointRend-PyTorch
4,346
zswang666/PnP-Depth
['depth estimation']
['Plug-and-Play: Improve Depth Estimation via Sparse Data Propagation']
sparse-to-dense.pytorch/dataloaders/dataloader.py sparse-to-dense.pytorch/utils.py Super-LiDAR/losses.py sparse-to-dense.pytorch/metrics.py sparse-to-dense.pytorch/main_pnp.py Super-LiDAR/kitti_depth_to_tfrecord.py sparse-to-dense.pytorch/main.py sparse-to-dense.pytorch/dataloaders/kitti_dataloader.py Super-LiDAR/dataloading.py sparse-to-dense.pytorch/criteria.py Super-LiDAR/deep_cnn.py sparse-to-dense.pytorch/dataloaders/nyu_dataloader.py Super-LiDAR/main_pnp.py Super-LiDAR/sparse_cnn.py sparse-to-dense.pytorch/models.py Super-LiDAR/errors.py Super-LiDAR/admm.py sparse-to-dense.pytorch/dataloaders/transforms.py Super-LiDAR/main.py sparse-to-dense.pytorch/dataloaders/dense_to_sparse.py MaskedL1Loss MaskedMSELoss main train create_data_loaders validate main train create_data_loaders validate Result log10 AverageMeter Unpool ResNet DeConv Decoder UpConv choose_decoder weights_init UpProj merge_into_row_with_gt colored_depthmap parse_command adjust_learning_rate save_checkpoint get_output_directory save_image add_row merge_into_row is_image_file find_classes MyDataloader make_dataset h5_loader SimulatedStereo DenseToSparse rgb2grayscale UniformSampling KITTIDataset NYUDataset Rotate CenterCrop ToTensor HorizontalFlip NormalizeTensor Resize NormalizeNumpyArray _is_tensor_image adjust_gamma adjust_saturation _is_numpy_image Crop Lambda Compose adjust_hue adjust_brightness _is_pil_image adjust_contrast ColorJitter make_admm maxpool make_admm_pnp count make_selection_datasets count_examples make_train_dataset make_kitti_datasets make_interleaved_dataset count_records make_val_dataset kitti_parse_function get_shuffled_train_paths make_take kitti_normalize_function kitti_augment_function get_train_paths basicblock relu build_net18 maxpool shortcut upproj conv unpool bn ErrorLogger depth_path_to_raw convert_dataset read_images get_shards convert make_record encode_images depth_selection_path_to_img depth_selection_path_to_raw get_date_and_drive convert_depth_selection make_small_dataset get_date get_shuffled_train_paths get_img_num get_train_paths depth_path_to_img given_l1_loss mae_loss weight_decay_loss scale_inv_l2_loss del_i rmse_loss l1_loss scale deltas mre_loss mse_loss main sparsify main sparsify make_sparse_cnn_pnp sparse_conv relu make_sparse_cnn maxpool conv data join print KITTIDataset DataLoader NYUDataset SimulatedStereo UniformSampling validate SGD adjust_learning_rate save_checkpoint abspath arch save_image cuda dirname modality range format ResNet resume lr load join decoder evaluate print makedirs parameters create_data_loaders get_output_directory train epochs len data model zero_grad update Result format synchronize size enumerate time criterion backward evaluate print AverageMeter average step len data save_image merge_into_row str update Result format synchronize size eval enumerate time merge_into_row_with_gt evaluate print AverageMeter average add_row len sign cuda pnp_forward_rear range pnp_forward_front criterion Variable fill_ isinstance out_channels in_channels Conv2d normal_ sqrt zero_ BatchNorm2d ConvTranspose2d int modality_names print add_argument ArgumentParser names parse_args set_defaults join str remove copyfile save exists param_groups data join format decoder criterion batch_size num_samples sparsifier pretrained lr arch modality min max colored_depthmap transpose squeeze min hstack numpy max colored_depthmap transpose squeeze min hstack numpy max fromarray astype save sort is_image_file join sorted append expanduser listdir walk transpose File array ColorJitter Brightness enhance enhance Contrast Color enhance fromarray convert mode array split uint8 convert array clip mode ones W count get_variable list reduce_sum shape cast range format phi zip total_variation as_list constant print greater float32 pow reduce_mean do_iter Wt zeros len while_loop optimization count get_variable list list2lzy reduce_sum shape cast range format phi zip as_list constant print greater float32 pow reduce_mean Wt zeros len walk extend permutation get_train_paths len reshape squeeze float32 cast sparse_tensor_to_dense parse_single_example decode_png set_shape greater pi rotate random_uniform cond from_tensor_slices prefetch shuffle map interleave zip prefetch repeat map make_interleaved_dataset prefetch map make_interleaved_dataset realpath sum sub isfile join isdir print prefetch map placeholder zip batch get_train_paths make_train_dataset map placeholder make_val_dataset batch zeros choice conv2d as_list conv2d_transpose constant stack zeros range resize_images format print reduce_sum pow reduce_mean add_n zip sum range get_date_and_drive basename get_date group join insert sort extend listdir walk decode depth_path_to_raw depth_selection_path_to_img depth_selection_path_to_raw depth_path_to_img expand_dims array open encode_png cast Example format from_tensor_slices zip print prefetch map make_one_shot_iterator get_next isfile len ConfigProto get_train_paths format print get_shards eval input ConfigProto sum len from_tensor_slices output_types make_initializer placeholder choice count_records interleave batch from_structure output_shapes get_next zip zeros ConfigProto Session get_train_paths run reduce_mean abs boolean_mask greater pow reduce_mean boolean_mask greater reduce_mean abs boolean_mask greater pow reduce_sum boolean_mask greater expand_dims l1_loss add_n maximum boolean_mask greater reduce_sum sum maximum float32 greater reduce_sum cast abs float32 greater cast scale abs logical_and greater float32 cast tile sample expand_dims count_records ConfigProto ErrorLogger get_train_paths relu sparse_conv reduce_sum pow reduce_mean conv relu while_loop sparse_conv model_rear reduce_sum pow reduce_mean
zswang666/PnP-Depth
4,347
ztoString/CRNN_CTC_OCR_TensorFlow
['optical character recognition', 'scene text recognition']
['An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition']
tools/train_crnn_ctc.py data/create_synth90k_tfrecord.py crnn_model/model.py tools/inference_crnn_ctc.py tools/eval_crnn_ctc.py tools/create_crnn_ctc_tfrecord.py CRNNCTCNetwork _string_to_int _int64_feature _write_tfrecord _convert_dataset _bytes_feature main _string_to_int _int64_feature _write_tfrecord _convert_dataset _bytes_feature main _sparse_matrix_to_list _int_to_string _read_tfrecord main _eval_crnn_ctc main _sparse_matrix_to_list _int_to_string _inference_crnn_ctc _sparse_matrix_to_list _int_to_string _read_tfrecord _train_crnn_ctc main load char_map_json_file append open data_dir join makedirs int shuffle shuffle_list _write_tfrecord validation_split_fraction len _convert_dataset load join list _int_to_string ones char_map_json_file dense_shape len indices append keys enumerate values open load list char_map_json_file keys open read TFRecordReader string_input_producer float32 set_shape cast int32 parse_single_example decode_jpeg ctc_beam_search_decoder batch_size model_dir Saver open _read_tfrecord data_dir placeholder latest_checkpoint char_map_json_file tf_record_iterator ConfigProto CRNNCTCNetwork batch load join float32 sparse_placeholder int32 _eval_crnn_ctc load ctc_beam_search_decoder latest_checkpoint char_map_json_file placeholder model_dir Saver int32 CRNNCTCNetwork open _inference_crnn_ctc ctc_beam_search_decoder localtime model_dir Saver exponential_decay open decay_rate str _read_tfrecord data_dir ctc_loss decay_steps get_collection merge_all placeholder strftime cast format char_map_json_file create_global_step ConfigProto CRNNCTCNetwork batch load join time learning_rate float32 sparse_placeholder edit_distance reduce_mean UPDATE_OPS int32 global_variables_initializer scalar makedirs _train_crnn_ctc
ztoString/CRNN_CTC_OCR_TensorFlow
4,348
zwenwang/CTPN_Pytorch
['optical character recognition', 'scene text detection', 'scene text recognition']
['An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition', 'Detecting Text in Natural Image with Connectionist Text Proposal Network']
Dataset/__init__.py proposal_connector/text_proposal_graph_builder.py Net/__init__.py generate_config.py other/trans_MSRA_TD500.py train.py Net/loss.py val_func.py Dataset/dataset.py Net/im2col.py Dataset/port/__init__.py Net/tag_anchor.py Dataset/port/for_icdar2015.py Dataset/generate_gt_anchor.py proposal_connector/__init__.py test.py other/generate_pretrained_model.py proposal_connector/text_proposal_connector.py rctw.py Net/net.py Dataset/create_dataset.py other/deprecated.py other/utils.py other/__init__.py main to_db read_gt_file detect filter_boxes val LMDB get_json_str scale_img read_gt_file check_img LmdbDataset generate_gt_anchor cal_y_top_and_bottom create_dataset_icdar2015 Im2col CTPNLoss VGG_16 CTPN BLSTM valid_anchor cal_IoU cal_y tag_anchor cal_y_crossover_pt box_list2str generate_VGG_16_model read_file get_box_img cal_line_y np_img2base64 img_slicing draw_box_4pt draw_boxes bi_range draw_box_2pt init_weight draw_box_h_and_c perspective_trans base642np_image normalize trans_to_2pt clip_boxes threshold TextProposalConnector Graph TextProposalGraphBuilder int readlines close open append split LMDB create format print to_db sum join sum format insert print read_gt_file imread listdir get_text_lines where filter_boxes open transpose tolist TextProposalConnector load_state_dict append normalize imread trans_to_2pt draw_boxes eval zip net load join deepcopy print write cpu_nms CTPN pow Tensor array time format criterion print tag_anchor transpose min range DataLoader iter info float next cuda net len update dumps generate_gt_anchor append len int min resize append float range len int min floor cal_y_top_and_bottom append float max range len deepcopy draw_box_4pt min append max range len join format print splitext create_dataset append listdir cal_y max min int float cal_y cal_IoU min where log10 append zeros float max range cal_line_y append append join update vgg16 save append range state_dict pow sqrt float atan int split append float open line rectangle int float int line fabs tuple waitKey randint copy sqrt imshow zeros int float b64encode squeeze b64decode fromstring COLOR_RGB2BGR imdecode len float int bias constant_ normal_ weight range all_weights len int float32 distance getPerspectiveTransform warpPerspective mode min max int imwrite shape resize ceil float round range append threshold
zwenwang/CTPN_Pytorch
4,349
zwxu064/MPLayers
['denoising', 'semantic segmentation']
['Fast and Differentiable Message Passing on Pairwise Markov Random Fields']
MPLayers/main.py trash/main_old.py dataloaders/custom_transforms.py utils/model_init.py pytorch/test_multi_batch.py modeling/sync_batchnorm/unittest.py pytorch/MP_module_hard_soft.py dataloaders/datasets/pascal.py mean_field.py mpnet.py MPLayers/MP_module_manual.py utils/metrics.py pytorch/test_parallel_grad.py utils/saver.py utils/summaries.py modeling/backbone/xception.py utils/test_bn.py dataloaders/__init__.py modeling/backbone/mobilenet.py utils/test_filters.py dataloaders/datasets/sbd.py modeling/backbone/resnet.py utils/label_context.py modeling/sync_batchnorm/__init__.py inference.py modeling/sync_batchnorm/batchnorm.py options.py MPLayers/extra_exp_edge_weights.py MPLayers/setup.py MPLayers/test_compute_terms.py utils/__init__.py modeling/backbone/drn.py modeling/sync_batchnorm/comm.py tools/python/utils.py utils/lr_scheduler.py modeling/sync_batchnorm/replicate.py utils/edge_weights.py dataloaders/datasets/combine_dbs.py main.py modeling/decoder.py modeling/backbone/__init__.py utils/mypath.py utils/visualize.py modeling/deeplab.py pytorch/unittest_mp.py modeling/aspp.py MPLayers/test_parallel_grad.py dataloaders/datasets/coco.py MPLayers/extra_exp_naive_ISGM.py pytorch/message_passing.py pytorch/MP_module.py utils/loss.py dataloaders/utils.py utils/calculate_weights.py dataloaders/datasets/cityscapes.py main Trainer MeanField MPNet set_config set_seed NormalizeImage FixedResize RandomRotate ToTensor AutoAdjustSize denormalizeimage RandomGaussianBlur Normalize RandomHorizontalFlip FixScaleCrop FixScaleCropImage ToTensorImage RandomScaleCrop decode_seg_map_sequence encode_segmap decode_segmap get_pascal_labels get_cityscapes_labels make_data_loader CityscapesSegmentation COCOSegmentation CombineDBs VOCSegmentation SBDSegmentation build_aspp _ASPPModule ASPP Decoder build_decoder DeepLab drn_d_54 drn_c_58 drn_d_40 drn_d_38 drn_c_26 Bottleneck drn_d_105 DRN_A drn_d_22 conv3x3 DRN drn_a_50 drn_d_24 drn_c_42 BasicBlock fixed_padding InvertedResidual conv_bn MobileNetV2 ResNet Bottleneck ResNetSerial fixed_padding Block AlignedXception SeparableConv2d build_backbone _sum_ft SynchronizedBatchNorm2d _unsqueeze_ft _SynchronizedBatchNorm SynchronizedBatchNorm1d SynchronizedBatchNorm3d SyncMaster FutureResult SlavePipe execute_replication_callbacks CallbackContext DataParallelWithCallback patch_replication_callback TorchTestCase as_numpy get_steps multi_edge_weights test_mp_module get_seg_all_iter parse_unary_cost message_sum_all_back get_param test_mp_module_manual message_sum_all message_norm_one_back message_norm message_norm_back MRFParams compute_terms_py isgmr_auto_grad_expand isgmr_auto_grad test_mp_module trwp_auto_grad MessagePassingFunction MessagePassingModule Params MPModule ISGMRFunction TRWPFunction MPModule TRWPFunction test_mp_module softmax_message softmax_backward softmax_forward softmax_message_grad weight_fixed save_disp_image split_weight_bias check_data_input StereoLoss CenterCrop fast_hist RandomGaussianBlur RandomCrop adjust_learning_rate FlipChannels get_upsampling_weight MaskToTensor write_to_tensorboard CrossEntropyLoss2D print_info RandomHorizontalFlip get_model_state_dict remove_tree to_tensor_custom RandomVerticalFlip weight_init check_valid get_adaptive_crop_size cal_accuracy get_params_per DeNormalize colorize_mask evaluate load_optimizer_state_dict AverageMeter SlidingCrop parse_json GTToTensor check_dir visualize_context test_mp_module get_seg_all_iter calculate_weigths_labels get_steps multi_edge_weights getEdgeShift create_label_context SegmentationLosses LR_Scheduler Evaluator init_params Path Saver TensorboardSummary mymodel run_sobel run_canny run_batch DeNormalize visualization_png visualize_prediction apply_mask visualization_dff visualization Softmax model axis patch_replication_callback n_class DataParallel unsqueeze ArgumentParser save argmax cuda fromarray show str colorbar imshow decode_segmap savefig load_state_dict parse_args range densecrflosslayer format Compose astype close eval softmax item float checkpoint load join time uint8 backward print Variable add_argument output_directory figure DenseCRFLoss DeepLab numpy makedirs seed str manual_seed_all manual_seed parse_args add_argument ArgumentParser transpose numpy append transpose decode_segmap from_numpy show copy imshow get_pascal_labels get_cityscapes_labels zeros range zeros astype get_pascal_labels enumerate NUM_CLASSES VOCSegmentation SBDSegmentation DataLoader server CombineDBs use_sbd load_url load_state_dict DRN_A load_url DRN load_state_dict load_url DRN load_state_dict load_url DRN load_state_dict load_url DRN load_state_dict load_url DRN load_state_dict load_url DRN load_state_dict load_url DRN load_state_dict load_url DRN load_state_dict load_url DRN load_state_dict pad ResNet list hasattr __data_parallel_replicate__ modules enumerate len replicate data isinstance print get_steps exp grid_sample size squeeze new_zeros mean pow unsqueeze repeat append range cat list reader len astype float32 from_numpy append array range open size astype float32 from_numpy append range sum backward MessagePassingModule randint to forward retain_grad clone range range range range range message_sum_all_back get_param size clone new_zeros message_sum_all permute empty_cache message_norm long range message_norm_back context grad_thresh view ones n_disp compute_all_terms left_img_path data_type shape right_img_path grad_penalty truncated n_channels zeros imread format backward print grad stack append sum range format backward print grad stack sum retain_grad format backward print clone grad sum range time size train eval device exp min sum sum join remove walk mkdir list isinstance print zip keys range len fromarray uint8 multiply squeeze transpose astype numpy save round list add_scalar keys add_image reshape zeros abs size min zeros zip subtract size less_equal absolute numpy sum isinstance ConvTranspose2d bias xavier_uniform_ modules weight constant_ enumerate parameters range len convert putpalette fromarray numpy max detach isinstance hasattr state_dict items list isinstance load_state_dict cpu Tensor cuda values show isinstance size pause add_subplot close sqrt imshow floor figure permute ceil param_groups format print int8 numpy sum uint8 join print astype close tqdm db_root_dir save bincount zeros numpy array log append get_steps exp size squeeze new_zeros mean pow unsqueeze float abs range len interpolate float enumerate getEdgeShift Parameter triu_indices list min power n_classes from_numpy cuda mpnet_term_weight zeros mpnet_smoothness_trunct_value range fill_ normal_ modules xavier_normal_ weight seed join sorted format glob extend exists canny time print print time sobel max range where imsave transpose astype shape lower apply_mask zeros bool array range join uint8 format make_grid convert astype float32 shape stack zeros save_image max uint8 make_grid astype stack save_image join uint8 format make_grid astype float32 stack save_image max
zwxu064/MPLayers
4,350
zxytim/EAST
['optical character recognition', 'scene text detection', 'curved text detection']
['EAST: An Efficient and Accurate Scene Text Detector']
icdar.py eval.py nets/resnet_v1.py locality_aware_nms.py multigpu_train.py nets/resnet_utils.py model.py get_images sort_poly resize_image detect main generator get_images load_annoataion line_verticle shrink_poly crop_area polygon_area point_dist_to_line get_batch fit_line restore_rectangle_rbox line_cross_point generate_rbox check_and_validate_polys sort_rectangle restore_rectangle rectangle_from_parallelogram standard_nms weighted_merge nms_locality intersection model dice_coefficient mean_image_subtraction unpool loss average_gradients main tower_loss Block conv2d_same subsample resnet_arg_scope stack_blocks_dense resnet_v1_152 resnet_v1_101 bottleneck resnet_v1_200 resnet_v1_50 resnet_v1 join test_data_path format endswith print append walk len shape float int resize time format zeros_like print reshape float64 fillPoly astype argwhere int32 zeros restore_rectangle enumerate nms_locality sum argmin gpu_list glob training_data_path extend polygon_area print zip append clip min astype choice shape int32 zeros range max clip arctan polyfit print norm arccos line_verticle fit_line dot line_cross_point sum arctan print argmin argmax concatenate reshape transpose zeros array norm point_dist_to_line ones fillPoly min argmin fit_line sort_rectangle line_cross_point argwhere zip append zeros sum array range rectangle_from_parallelogram enumerate load_annoataion arange subplots resize dataset abs max show ones shape imshow generate_rbox check_and_validate_polys append imread format replace crop_area close shuffle copy choice add_artist tight_layout astype float get_images Polygon print text set_yticks min float32 set_xticks zeros array generator get is_running start sleep GeneratorEnqueuer reshape area Polygon append array append weighted_merge range split mean_image_subtraction scalar reduce_sum minimum cos dice_coefficient reduce_mean scalar split REGULARIZATION_LOSSES get_collection image add_n loss scalar concat reduce_mean zip append expand_dims trainable_variables checkpoint_path pretrained_model_path MkDir moving_average_decay Saver exponential_decay get_variable global_variables average_gradients merge_all placeholder apply apply_gradients get_default_graph FileWriter get_trainable_variables assign_from_checkpoint_fn enumerate learning_rate float32 DeleteRecursively AdamOptimizer ExponentialMovingAverage split global_variables_initializer scalar len pad
zxytim/EAST
4,351
zyasjtu/CNN-RNN-CTC
['optical character recognition', 'scene text recognition']
['An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition']
train.py valid.py crnn_model.py data_processor.py CRNN next_batch __write_list __int_to_char __char_to_int dense_convert get_data split_data __sparse_convert train cal_acc valid append list keys list asarray __char_to_int extend zip range enumerate len join int ndarray astype float32 shape sample zeros imread enumerate append split join list ones __int_to_char dense_shape indices append keys enumerate values len len astype float32 mean enumerate ctc_beam_search_decoder localtime Saver exponential_decay open str ctc_loss get_collection placeholder build strftime cast format create_global_step ConfigProto CRNN load join time sparse_placeholder edit_distance split_data reduce_mean UPDATE_OPS int32 makedirs load ctc_beam_search_decoder latest_checkpoint float32 placeholder build get_data Saver ConfigProto CRNN open
zyasjtu/CNN-RNN-CTC
4,352
zyasjtu/EAST
['optical character recognition', 'scene text detection', 'curved text detection']
['EAST: An Efficient and Accurate Scene Text Detector']
east_model.py resnet_v1.py resnet_utils.py train.py east_utils.py test.py data_processor.py valid.py shrink_pts shrink_edge pt_in_quad generate_gt write_lines reorder_pts read_ant split_data next_batch read_lines restore_rectangle dist_to_line resize_with_padding EAST standard_nms la_nms weighted_merge intersection Block conv2d_same subsample resnet_arg_scope stack_blocks_dense resnet_v1_152 resnet_v1_101 bottleneck resnet_v1_200 resnet_v1_50 resnet_v1 post_process test train valid int copyMakeBorder shape resize BORDER_CONSTANT array list remove zeros_like argsort zip zeros range len cos sin sign argmax int shrink_edge concatenate abs reshape arctan square copy sqrt sum zeros pt_in_quad boxPoints atan2 amin minAreaRect range array dist_to_line amax imwrite save resize_with_padding shrink_pts append imread range generate_gt astype shuffle read_ant listdir enumerate join print reshape write_lines zeros len load join rstrip sample imread append concatenate reshape transpose zeros array reshape area Polygon append array append weighted_merge pad time format zeros_like print reshape float64 fillPoly astype la_nms argwhere int32 zeros restore_rectangle enumerate float32 EAST placeholder build ConfigProto read_lines get_collection float32 EAST placeholder build get_trainable_variables ConfigProto UPDATE_OPS Saver exponential_decay assign_from_checkpoint_fn loss get_variable float32 EAST placeholder build ConfigProto read_lines loss
zyasjtu/EAST
4,353
zyf12389/GC-Net
['stereo lidar fusion']
['End-to-End Learning of Geometry and Context for Deep Stereo Regression']
read_sceneflow.py gc_net.py read_data.py python_pfm.py utils.py readFile.py main.py read_testFile.py GC_NET ThreeDConv GcNet BasicBlock loss main train normalizeRGB test readPFM writePFM sceneDisp format_time init_params progress_bar get_mean_and_std pow sqrt sum mul L1Loss data mul imwrite zero_grad copy_ DataLoader numpy save abs cuda open str view transpose RMSprop shape load_state_dict iter append next sum range cat astype close float net load backward Variable sceneDisp print cpu write parameters loss_fn randint step len mul imwrite copy_ DataLoader abs cuda transpose load_state_dict iter append sum next range cat astype eval float load Variable sceneDisp print cpu randint numpy train test list rstrip readline reshape map groups match flipud fromfile float open byteorder tofile write flipud open print DataLoader div_ zeros range len normal constant isinstance kaiming_normal Conv2d bias modules BatchNorm2d weight Linear int time join format_time write append range flush len int
zyf12389/GC-Net
4,354
zyf12389/LayoutGAN-Alpha
['scene generation']
['LayoutGAN: Generating Graphic Layouts with Wireframe Discriminators']
model.py layoutgan.py dataset.py Dataset Generator Attention Discriminator real_loss fake_loss Log print write flush ones squeeze size BCEWithLogitsLoss crit size squeeze zeros BCEWithLogitsLoss crit
zyf12389/LayoutGAN-Alpha
4,355
zykls/performative-prediction
['stochastic optimization']
['Stochastic Optimization for Performative Prediction']
experiments/icml2020/data_prep.py experiments/neurips2020/strategic.py experiments/icml2020/strategic.py experiments/neurips2020/data_prep.py experiments/neurips2020/logistic_regression.py experiments/icml2020/optimization.py load_data sigmoid logistic_regression evaluate_loss best_response load_data evaluate_loss run_gd best_response permutation concatenate ones len scale append dropna array read_csv drop norm exp best_response multiply copy sum log norm exp print multiply square copy shape append zeros sum evaluate_loss log range copy norm exp square copy shape append zeros sum evaluate_loss
zykls/performative-prediction
4,356
zzwells/jdd2018-population-forecast
['traffic prediction']
['Revisiting Spatial-Temporal Similarity: A Deep Learning Framework for Traffic Prediction']
train.py attention.py data_process.py model.py features.py Attention FeatureFactory STDNModel rmsle STDNTrainer CustomStopper log
zzwells/jdd2018-population-forecast
4,357
zzzace2000/dropout-feature-ranking
['time series']
['Dropout Feature Ranking for Deep Learning Models']
exp/DFRdatasets/data_utils.py arch/sensitivity/DNetBase.py exp/DFRdatasets/dataloaders/ARCENE.py exp/DFRdatasets/fig_utils.py exp/DFRdatasets/feature_utils.py arch/sensitivity/DFSNet.py exp/DFRdatasets/dataloaders/OnlineNewsPopularityLoader.py exp/DFRdatasets/dataloaders/MIMIC_new.py exp/DFRdatasets/simulate.py exp/DFRdatasets/dataloaders/YearMSD.py exp/DFRdatasets/dataloaders/GaussSimulation.py exp/DFRdatasets/dataloaders/MiniBooNE.py exp/DFRdatasets/dataloaders/RNNLoaderBase.py exp/DFRdatasets/models/LSTM.py exp/DFRdatasets/dataloaders/Objectives.py exp/DFRdatasets/dataloaders/InteractionSimulation.py arch/binary/ConcreteNeuron.py exp/DFRdatasets/dataloaders/CreditCard.py exp/DFRdatasets/dataloaders/MIMIC.py exp/DFRdatasets/dataloaders/WineQaulityLoader.py exp/DFRdatasets/dataloaders/HIGGS.py exp/DFRdatasets/dataloaders/LoaderBase.py exp/DFRdatasets/dataloaders/MLPLoaderBase.py exp/DFRdatasets/models/GRU.py arch/binary/VBDBase.py arch/sensitivity/DFR_BDNet.py exp/DFRdatasets/models/ProblemType.py exp/DFRdatasets/models/MLP.py exp/DFRdatasets/test_nn_hyperparam.py exp/DFRdatasets/dataloaders/GISETTE.py exp/DFRdatasets/dataloaders/Support2Loader.py exp/DFRdatasets/models/_BaseNN.py arch/binary/VBDLinear.py arch/binary/StochasticBinaryNeuron.py arch/sensitivity/BDNet.py exp/DFRdatasets/dataloaders/FMA.py arch/MLP.py exp/DFRdatasets/linear_simulation.py exp/DFRdatasets/dataloaders/DEXTER.py exp/DFRdatasets/mlp_predict.py arch/binary/VarDropoutWrapper.py exp/DFRdatasets/dataloaders/DOROTHEA.py exp/DFRdatasets/dataloaders/LinearSimulation.py exp/DFRdatasets/dataloaders/MADELON.py concrete_dropout_neuron multiclass_concrete_neuron concrete_neuron test_val DeterministicBinaryNeuron SoftNeuron sb_neuron hard_sigmoid StochasticBinaryNeuron soft_neuron VarDropoutWrapper VBDClassification VBDLinear VBDSharedWeight VBDLinearBCE MiddleBDNet logit REINFORCE_L1BDNet BDNet plot_bd_loss TrainWeightsL1BDNet SigmoidBDNet DFSNet BinaryDFSNet EarlyStoppingScheduler PhysionetDataHelper perturb gen_simulate_data cal_spearman_rank_coef _gen_simulate_data decompose_loader Container vis_corrcoef run_std_err_params compose_loader change_name_table sum_all_the_dict sum_all_container_by_filenames cal_rnn_rf_sig_in_table plot_figs cal_rnn_zero_sig_in_table cal_sig_in_table plot_scatter parse_args run_with_test_fold run parse_args run_with_identifier run parse_args write_to_tsv run_with_test_fold run ARCENE CreditCard DEXTER DOROTHEA FMA GaussSimulation GISETTE HIGGS NoInteractionSimulation InteractionSimulation MoreInteractionSimulation CorrelatedInteractionSimulation CorrelatedNoInteractionSimulation LinearSimulation LoaderBase MADELON MIMIC MIMIC_new MiniBooNE logit MLPLoaderBase Regression Classification OnlineNewsPopularityLoader ClassificationONPLoader RNNLoaderBase Support2Loader RegSupport2Loader WineQaulityLoader YearMSD ClfLSTM ClassificationMLP MLP RegressionNN ClassificationNN fill_ Variable sigmoid uniform_ log Variable log sigmoid uniform_ Variable exp log uniform_ ones print log Variable masked_fill_ fill_ show arange plot xlabel close ylabel title numpy log _gen_simulate_data mean normalize std cat normal int list multivariate_normal astype from_numpy DataLoader TensorDataset eye randint float array range show imshow colorbar corrcoef deepcopy size perturb_val_func evaluate_loader repeat zeros range view FloatTensor DataLoader TensorDataset float numpy list print record_vals val_func append range max OrderedDict join sort_values enumerate subplots set_title print text change_name_table get_pandas_table sig_method mean axhline tsplot print argmin add iter next enumerate load join append show xlabel ylabel title scatter pearsonr load join format print dataset get_top_indices run_std_err_params mkdir split float listdir log no_rank_cache run_with_test_fold format identifier get_total_folds mkdir save dataset seed print set_device add_argument ArgumentParser manual_seed cuda evaluate clear_cache float get_ols_error split pop create arange run_std_err_params str list std OrderedDict mean get_array_of_key keys exists nn_test_hyperparams random_sample_hyperparams hyper_params get_data_loader_by_dataset write_to_tsv range gpu_ids current_device
zzzace2000/dropout-feature-ranking
4,358