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
|
---|---|---|---|---|---|
tmiranda101/OC-NN_remote | ['anomaly detection'] | ['Anomaly Detection using One-Class Neural Networks', 'Robust, Deep and Inductive Anomaly Detection'] | src/models/RCAE_Cifar10.py src/data/modules.py src/data/base.py src/data/main.py src/utils/misc.py src/utils/visualization/filters_plot.py models/LSTM_AE_OCSVM_models.py models/CAE_OCSVM_models.py models/synthetic_models.py src/data/cifar10.py models/sklearn_OCSVM_explicit_model.py src/utils/visualization/line_plot.py models/mnist_ae2.py models/models.py src/models/Fake_Noise_FF_NN.py models/keras_tl_oc_nn_cifar.py src/models/FF_NN.py models/tf_OneClass_NN_model_plot_scores.py models/plot_syn_scores.py models/sklearn_isolation_forest.py models/spam_models.py src/models/Deep_SVDD.py setup.py models/OCSVM_dogs_vs_cats.py models/plot_mnist_scores.py models/OCSVM_cifar.py models/sklearn_OCSVM_explicit_plot_scores.py models/tf_OneClass_NN_model.py models/DBN2_OCSVM_models.py models/OneClass_NN_model.py models/img_to_vec.py src/utils/visualization/five_number_plot.py src/models/svm.py models/AE_SVDD_models.py models/tflearn_OneClass_NN_model_plot_scores.py models/plot_scores.py models/test2.py models/plot_pfam_scores.py src/data/preprocessing.py src/models/Lenet.py src/models/RCAE_Verion1.py src/utils/visualization/mosaic_plot.py models/mnist_models.py models/cifar10vgg.py models/plot_cifar_scores.py src/data/iterator.py src/utils/pickle.py src/models/OC_NN.py models/dataset.py src/models/RCAE.py models/tf_OneClass_CNN_model.py src/models/Copy of OneClass_SVDD.py models/RDA_models.py src/models/ocnn.py models/sklearn_OCSVM_model.py src/models/OneClass_SVDD.py src/models/isoForest.py src/models/ocsvmSklearn.py src/utils/__init__.py src/data/Copy of mnist.py models/OneClass_NN_model_plot_scores.py src/utils/monitoring.py models/RCAE_models.py src/config.py src/data/__local__.py models/plot_spam_scores.py models/tf_Cifar_OC_NN_Models.py models/test.py src/debug/debug_mnist.py models/fake_news_models.py models/plot_fake_news_scores.py src/models/kernels/__init__.py src/models/kernels/weighted_degree.py src/models/SupervisedNN.py src/models/fakeNoiseNN.py models/OCSVM_Autoencoder_model.py models/plot_synthetic_scores_old.py models/pfam_models.py src/models/ocnnFakeNoise.py models/test_without_OC_nn.py src/data/GTSRB.py src/utils/visualization/diagnostics_plot.py models/plot_synthetic_scores.py models/tflearn_OneClass_NN_model.py src/debug/debug_ocnn.py models/plot_syn_scores_with_subplots.py models/cifar_models.py src/models/kernels/degree.py src/utils/diag.py models/usps_models.py models/sklearn_OCSVM_rpca.py src/models/config.py src/utils/log.py src/data/make_dataset.py src/data/mnist.py models/r_pca.py src/models/kde.py models/plot_usps_scores.py src/utils/visualization/scatter_plot.py src/utils/visualization/images_plot.py src/models/DCAE.py func_getDecision_Scores_CIFAR_10 func_getDecision_Scores_FAKE_NEWS func_getDecision_Scores_USPS func_getDecision_Scores_SPAM_VS_HAM plot_decision_scores_USPS plot_decision_scores_USPS_new plot_decision_scores prepare_cifar_data_for_cae_ocsvm AE2_SVDD_Linear add_new_last_layer prepare_usps_data_for_cae_ocsvm prepare_mnist_data_for_cae_ocsvm AE2_SVDD_RBF prepare_cifar_data_for_cae_ocsvm add_new_last_layer CAE_OCSVM_RBF prepare_usps_data_for_cae_ocsvm write_decisionScores2Csv prepare_mnist_data_for_cae_ocsvm plotNNFilter CAE_OCSVM_Linear prepare_cifar_data_with_anamolies cifar10vgg func_getDecision_Scores_cifar write_training_test_results load_test load_train DataSet read_test_set read_train_sets add_new_last_layer nnScore relu func_getDecision_Scores_fake_news Img2Vec add_new_last_layer nnScore relu tf_OneClass_LSTM_AE_NN_sigmoid LSTMAE_OCSVM_Linear tf_OneClass_LSTM_AE_NN_linear AE_OCSVM_Linear add_new_last_layer AE_OCSVM_RBF LSTMAE_OCSVM_RBF prepare_data_LSTM_AE_OCSVM build_deep_autoencoder prepare_mnist_mlfetch tf_mnist_OneClass_NN_linear AE2_SVDD_Linear func_getDecision_Scores_usps_old CAE_OCSVM_RBF usps_autoencoder_representation CAE_OCSVM_Linear write_decisionScores2Csv prepare_usps_mlfetch tf_mnist_OneClass_NN_sigmoid write_training_test_results tf_mnist_OneClass_NN_Relu func_getDecision_Scores_mnist AE2_SVDD_RBF add_new_last_layer nnScore relu add_new_last_layer nnScore relu add_new_last_layer nnScore relu ocnn_obj One_Class_NN_explicit_linear relu ocnn_grad nnScore One_Class_NN_explicit_sigmoid dRelu func_getDecision_Scores_One_Class_NN_explicit plot_decision_scores_One_Class_NN_explicit tf_OneClass_LSTM_AE_NN_sigmoid LSTMAE_OCSVM_Linear tf_OneClass_LSTM_AE_NN_linear prepare_pfam_data_for_ocsvm_isolationForest add_new_last_layer write_decisionScores2Csv encode_pfam_data_for_ae_ocsvm LSTMAE_OCSVM_RBF tf_OneClass_LSTM_AE_NN_Relu prepare_data_LSTM_AE_OCSVM write_training_test_results func_getDecision_Scores_pfam plot_decision_scores_CIFAR_10 plot_decision_scores_CIFAR plot_decision_scores_FAKE_NEWS plot_decision_scores_MNIST plot_decision_scores_pfam plot_decision_scores_USPS plot_decision_scores plot_decision_scores_SPAM plot_decision_scores plot_decision_scores_SYNTHETIC plot_decision_scores_USPS plot_decision_scores plot_decision_scores_SYN_new plot_decision_scores plot_decision_scores_Synthetic plot_decision_scores_SYN plot_decision_scores add_new_last_layer nnScore relu add_new_last_layer nnScore relu R_pca sklearn_IsolationForest func_getDecision_Scores_sklearn_OCSVM_explicit ocsvm_obj sklearn_OCSVM_explicit_sigmoid relu sklearn_OCSVM_explicit_linear ocsvm_grad svmScore dRelu plot_decision_scores_sklearn_OCSVM_explicit sklearn_OCSVM_linear write_decisionScores2Csv sklearn_OCSVM_rbf func_getKerasModelfeatures func_getDecision_Scores_sklearn_OCSVM sklearn_RPCA_OCSVM_Linear sklearn_RPCA_OCSVM_rbf sklearn__RPCA_OCSVM func_getDecision_Scores_spam prepare_usps_mlfetch func_getDecision_Scores_synthetic write_decisionScores2Csv plotNNFilter plotNNFilter tflearn_OneClass_NN_linear func_getDecision_Scores_tflearn_OneClass_NN tflearn_OneClass_NN_Sigmoid plot_decision_scores_tflearn_OneClass_NN tf_OneClass_NN_linear relu nnScore write_decisionScores2Csv tf_OneClass_NN_relu tf_OneClass_NN_sigmoid func_get_ImageVectors ocnn_obj g relu nnScore getConv_features init_weights tf_OneClass_CNN_linear init_weights_2 create_ConvFeatureInputs func_getKerasModelfeatures init_weights_1 tf_OneClass_CNN_sigmoid forwardprop write_decisionScores2Csv tf_OneClass_NN_linear tf_OneClass_NN_Relu tf_OneClass_NN_sigmoid plot_decision_scores_tf_One_Class_NN AE2_SVDD_Linear func_getDecision_Scores_usps_old func_getDecision_Scores_usps CAE_OCSVM_RBF usps_autoencoder_representation CAE_OCSVM_Linear write_decisionScores2Csv prepare_usps_mlfetch write_training_test_results AE2_SVDD_RBF Configuration DataLoader CIFAR_10_DataLoader debug_visualise_anamolies_detected load_mnist_images MNIST_DataLoader RcaeParamSaver load_mnist_labels readTrafficSigns_asnparray PIL2array GTSRB_DataLoader debug_visualise_anamolies_detected readTrafficSigns plot_cifar indices_generator iterate_batches MyScheme load_dataset CreateDataSet load_mnist_images MNIST_DataLoader RcaeParamSaver load_mnist_labels addConvModule crop_to_square learn_dictionary extract_norm_and_out zca_whitening center_data rescale_to_unit_interval normalize_data pca gcn make_unit_norm global_contrast_normalization downscale Configuration Adjust_svdd_Radius OneClass_SVDD DCAE Deep_SVDD SupervisedFakeNoiseNN Fake_Noise_FF_NN FF_NN IsoForest KDE LeNet OCNN OCNNFakeNoiseNN OCSVM OC_NN Adjust_svdd_Radius OneClass_SVDD debug_visualise_anamolies_detected RCAE_AD debug_visualise_anamolies_detected RCAE_AD debug_visualise_anamolies_detected RCAE_AD SupervisedNN SVM degree_kernel weighted_degree_kernel NNetParamDiag NNetDataDiag log_isoForest AD_Log Log log_NeuralNet log_exp_config log_AD_results log_SVM log_KDE flush_last_line get_five_number_summary performance print_obj_and_acc ae_performance load_isoForest dump_svm load_svm dump_kde load_weights load_kde dump_isoForest dump_weights plot_random_reconstructions plot_parameter_norms plot_diagnostics plot_ae_diagnostics plot_accuracy plot_scores plot_objective_with_parts plot_representation_norms plot_auc plot_center_c_diagnostics plot_objectives plot_filters plot_five_number_summary plot_outliers_and_most_normal plot_line plot_mosaic plot_2Dscatter print print print print subplots set_title suptitle hist legend setp list subplots title hist savefig legend xticks range yticks items list title hist legend DataFrame layers to_categorical decision_function resize sorted list load_model shape Model OneClassSVM list_images input append imread predict update img_to_array add_new_last_layer get_layer time print fit output summary array len layers to_categorical decision_function resize sorted list load_model shape Model OneClassSVM list_images input append imread predict update img_to_array add_new_last_layer get_layer time print fit output summary array len print shape Model layers to_categorical resize sorted list load_model Model list_images input append imread predict update img_to_array add_new_last_layer get_layer print output summary array len layers to_categorical resize sorted list load_model Model list_images input append imread predict update img_to_array add_new_last_layer get_layer print output summary array len layers to_categorical resize sorted list load_model Model list_images input append imread predict update img_to_array add_new_last_layer get_layer print output summary array len print tolist close zip_longest subplot print reshape axis imshow savefig figure ceil range time print OneClassSVM decision_function write_decisionScores2Csv savemat fit time print OneClassSVM decision_function write_decisionScores2Csv fit where concatenate tf_OneClass_NN_linear sklearn_IsolationForest sklearn_OCSVM_linear print AE2_SVDD_Linear CAE_OCSVM_RBF sklearn__RPCA_OCSVM tf_OneClass_NN_relu sklearn_OCSVM_rbf write_training_test_results tf_OneClass_NN_sigmoid CAE_OCSVM_Linear AE2_SVDD_RBF print str write open join format basename print glob len index resize append zeros imread array INTER_LINEAR join sorted basename glob print astype resize append imread array INTER_LINEAR load_train print shuffle DataSets len load_test sklearn_OCSVM_explicit_sigmoid One_Class_NN_explicit_linear tf_OneClass_NN_linear sklearn_OCSVM_explicit_linear print sklearn_OCSVM_linear One_Class_NN_explicit_sigmoid sklearn_OCSVM_rbf tf_OneClass_NN_sigmoid output input time print OneClassSVM decision_function fit time print OneClassSVM decision_function fit load asarray print reshape shape OneClassSVM decision_function append fit load asarray print reshape shape OneClassSVM decision_function append fit load asarray print reshape shape append normal ocnn_obj global_variables_initializer minimize print close nnScore placeholder set_random_seed init_weights run reset_default_graph range Session get_variable forwardprop normal ocnn_obj global_variables_initializer minimize print close nnScore placeholder set_random_seed range init_weights run reset_default_graph argmax Session get_variable load_data where concatenate Reshape Sequential add Dense InputLayer Flatten where concatenate tf_mnist_OneClass_NN_linear sklearn_IsolationForest sklearn_OCSVM_linear print AE2_SVDD_Linear CAE_OCSVM_RBF sklearn__RPCA_OCSVM tf_mnist_OneClass_NN_sigmoid sklearn_OCSVM_rbf write_training_test_results tf_mnist_OneClass_NN_Relu CAE_OCSVM_Linear AE2_SVDD_RBF print reshape astype predict shape Model summary append Input compile fit sklearn_OCSVM_explicit_sigmoid One_Class_NN_explicit_linear tf_OneClass_NN_linear sklearn_OCSVM_explicit_linear print sklearn_OCSVM_linear One_Class_NN_explicit_sigmoid sklearn_OCSVM_rbf tf_OneClass_NN_sigmoid nnScore set_random_seed reset_default_graph argmax Session forwardprop run ocnn_obj get_variable placeholder write_decisionScores2Csv range normal close init_weights time minimize print global_variables_initializer nnScore set_random_seed reset_default_graph argmax Session forwardprop run ocnn_obj get_variable placeholder write_decisionScores2Csv range normal close init_weights time minimize print global_variables_initializer forwardprop normal ocnn_obj global_variables_initializer minimize print close nnScore placeholder set_random_seed range init_weights run reset_default_graph argmax Session get_variable ones relu reshape nnScore mean sum reshape concatenate nnScore dRelu seed normal minimize print check_grad reshape sort nnScore x seed normal minimize print check_grad reshape sort nnScore x One_Class_NN_explicit_sigmoid One_Class_NN_explicit_linear add_subplot tight_layout title hist figure legend tf_OneClass_LSTM_AE_NN_sigmoid sklearn_RPCA_OCSVM_Linear tf_OneClass_LSTM_AE_NN_linear LSTMAE_OCSVM_Linear sklearn_IsolationForest sklearn_OCSVM_linear print AE_OCSVM_Linear sklearn_RPCA_OCSVM_rbf AE_OCSVM_RBF LSTMAE_OCSVM_RBF tf_OneClass_LSTM_AE_NN_Relu sklearn_OCSVM_rbf write_training_test_results time write_decisionScores2Csv time write_decisionScores2Csv time write_decisionScores2Csv write_decisionScores2Csv time forwardprop normal ocnn_obj global_variables_initializer minimize print close nnScore placeholder set_random_seed range init_weights run reset_default_graph argmax Session get_variable to_vecs asarray print load_protvec shape append range read_csv len layers load_model print add_new_last_layer output Model get_layer summary input predict len subplots set_title suptitle hist legend setp subplots set_title suptitle hist legend setp subplots set_title suptitle title hist legend setp subplots set_title suptitle print hist legend setp subplots set_title suptitle hist legend setp title subplots set_title suptitle title hist legend setp subplots set_title suptitle hist legend setp subplots arange set_title hist legend setp xticks list subplots title hist savefig legend xticks range yticks subplots set_title suptitle hist legend setp time print shape IsolationForest predict fit mean sum svmScore relu append mean svmScore dRelu seed normal minimize print check_grad svmScore seed normal minimize print check_grad svmScore sklearn_OCSVM_explicit_sigmoid sklearn_OCSVM_explicit_linear add_subplot tight_layout title hist figure legend format print File close shape type array time print OneClassSVM decision_function write_decisionScores2Csv fit time print OneClassSVM decision_function write_decisionScores2Csv fit sklearn_OCSVM_rbf sklearn_OCSVM_linear R_pca time print shape OneClassSVM predict fit R_pca time print shape OneClassSVM predict fit R_pca time print shape OneClassSVM predict fit print sklearn_OCSVM_rbf sklearn_OCSVM_linear sklearn_OCSVM_explicit_sigmoid One_Class_NN_explicit_linear tf_OneClass_NN_linear sklearn_IsolationForest sklearn_OCSVM_explicit_linear print sklearn_OCSVM_linear CAE_OCSVM_RBF tf_OneClass_NN_Relu sklearn__RPCA_OCSVM One_Class_NN_explicit_sigmoid sklearn_OCSVM_rbf tf_OneClass_NN_sigmoid CAE_OCSVM_Linear fully_connected variable get_value input_data nnScore DNN is_training reset_default_graph Session W set_weights seed run percentile set_value get_training_mode append initialize_all_variables get_weights predict normal astype eval constant_initializer print reshape float32 oneClassNN fit fully_connected variable get_value input_data nnScore DNN is_training reset_default_graph Session W set_weights seed run percentile set_value get_training_mode append initialize_all_variables get_weights predict normal astype eval constant_initializer print reshape float32 oneClassNN fit tflearn_OneClass_NN_linear tolist tflearn_OneClass_NN_Sigmoid add_subplot tight_layout title hist figure legend normal ocnn_obj time global_variables_initializer minimize print close nnScore placeholder set_random_seed init_weights run reset_default_graph range Session get_variable nnScore set_random_seed reset_default_graph argmax Session forwardprop run ocnn_obj get_variable placeholder range normal close init_weights time minimize print data_rep savemat global_variables_initializer forwardprop normal ocnn_obj global_variables_initializer minimize print close nnScore placeholder set_random_seed range init_weights run reset_default_graph argmax Session get_variable asarray iglob print get_vec Img2Vec append open wrap train infer random_normal load load get_shape print float32 matmul cast cast float32 float32 reduce_sum reduce_mean cast ocnn_obj minimize print close nnScore range set_random_seed shape init_weights_2 run global_variables_initializer func_getKerasModelfeatures argmax Session init_weights_1 forwardprop ocnn_obj minimize print close nnScore range set_random_seed init_weights_2 run global_variables_initializer func_getKerasModelfeatures argmax Session init_weights_1 forwardprop argmax forwardprop write_decisionScores2Csv write_decisionScores2Csv forwardprop normal ocnn_obj global_variables_initializer minimize print close nnScore placeholder set_random_seed range init_weights run reset_default_graph argmax Session get_variable add_subplot tight_layout title hist figure legend tf_OneClass_NN_linear sklearn_IsolationForest sklearn_OCSVM_linear print AE2_SVDD_Linear CAE_OCSVM_RBF tf_OneClass_NN_Relu sklearn__RPCA_OCSVM sklearn_OCSVM_rbf write_training_test_results tf_OneClass_NN_sigmoid CAE_OCSVM_Linear AE2_SVDD_RBF float32 floatX str list uint8 ndarray imsave print reshape astype range astype float32 int sum format reader rollaxis len close float32 resize append zeros imread next range open int format asarray reader ANTIALIAS close PIL2array resize append next open uint8 subplots divmod astype axis tight_layout imshow savefig range indices_generator len int arange min shuffle ceil check_all load_data StandardScaler leaky_relu addConvLayer addDropoutLayer addLeakyReLU GlorotUniform Constant addMaxPool addReLU addUpscale mean reshape reshape std max min array newaxis array svd T reshape mean shape dot sqrt prod diag newaxis print reshape PCA transform fit shape min fromarray rollaxis newaxis ones reshape any zeros sum len print reshape components_ MiniBatchDictionaryLearning shuffle choice transform len StandardScaler StandardScaler cifar10_normal ones logical_and shape newaxis sum range ones zeros logical_and shape newaxis sum range zca_whitening out_frac mnist_normal pca gcn mnist_outlier open seed str mnist_rep_dim cifar10_normal format mnist_bias cifar10_rep_dim close gtsrb_rep_dim unit_norm_used mnist_architecture cifar10_architecture cifar10_outlier weight_dict_init write cifar10_bias leaky_relu batch_size R_update_solver c_mean_init_n_batches get_value ae_lr_drop block_coordinate lr_drop weight_decay ae_loss open lr_decay_after_epoch dropout_architecture lr_decay hard_margin R_update_lp_obj R_update_scalar_method reconstruction_penalty format pretrain lr_drop_in_epoch dropout close center_fixed ae_weight_decay k_update_epochs lr_drop_factor use_batch_norm warm_up_n_epochs ae_lr_drop_factor write c_mean_init ae_lr_drop_in_epoch svm_GridSearchCV format write close open format write close kde_GridSearchCV open format write close open format test_time write close train_time round open write range flush percentile median min max print title format save_objective_and_accuracy softmax_loss floatX batch_size forward n_val get_epoch min n_train track_best_results flatten print_obj_and_acc save_diagnostics n_test save_network_diagnostics svdd_loss empty get_epoch batch_size n_val min n_train ae_forward save_ae_diagnostics flatten n_test empty trainable_layers print get_value all_layers dict pickle_filename isbatchnorm trainable_layers set_value print all_layers pickle_filename svdd_loss isbatchnorm print print print print print print plot_random_reconstructions reconstruction_penalty plot_parameter_norms plot_accuracy plot_scores plot_objective_with_parts plot_representation_norms svdd_loss plot_auc plot_center_c_diagnostics plot_objectives plot_scores plot_objective_with_parts plot_auc plot_objectives OrderedDict plot_line OrderedDict title plot_line OrderedDict plot_line _y_test OrderedDict plot_line _y_train _y_val OrderedDict plot_line trainable_layers str isdense isconv OrderedDict plot_line num_units range _y_test OrderedDict plot_five_number_summary _y_train _y_val _y_test OrderedDict plot_five_number_summary _y_train _y_val str n_train choice plot_mosaic forward auc_best_epoch str plot_mosaic get_value set_palette arange grid clf max percentile show ylabel ylim title savefig legend plot xlim zeros yscale xlabel min set_style median fill_between len str int _X_test _X_val n_val n_train _X_train argsort auc_best_epoch title load_data n_test plot_mosaic yscale show plot xlabel min grid ylabel set ylim title savefig clf legend zeros max len show int ones squeeze range shape imshow set_visible floor title savefig clf gca newaxis moveaxis zeros show set title scatter savefig clf legend | tmiranda101/OC-NN_remote | 3,900 |
tnlin/SMDN | ['intent detection'] | ['A Post-processing Method for Detecting Unknown Intent of Dialogue System via Pre-trained Deep Neural Network Classifier'] | train.py eval_BiLSTM.py eval_HCNN-DOC.py eval.py eval_HCNN.py train_HCNN-DOC.py models.py swda.py train_BiLSTM-DOC.py eval_BiLSTM-DOC.py utils.py train_HCNN.py train_BiLSTM.py preprocessing_swda.py BiLSTM Metrics_HCNN HCNN expand_dims_output_shape expand_dims get_speaker_change CorpusReader Utterance Metadata Transcript get_coefs get_coefs get_coefs get_coefs get_score load_single preprocessing _ECELoss create_logger get_stat plot_confusion_matrix ModelWithTemperature set_allow_growth get_swda str concatenate Embedding embedding_layer dense1 plot_model Adam shape Dense Model info append Conv1D Input compile Bidirectional Embedding plot_model Sequential Adam add Dense LSTM Activation compile Dropout append iterrows tqdm ConfigProto set_session Session setFormatter basicConfig getLogger addHandler StreamHandler Formatter setLevel CorpusReader append iter_transcripts T list defaultdict print tolist head apply mean keys distplot max len pos replace caller concat damsl_act_tag lower sub append utterances DataFrame append round range arange xticks max yticks list ylabel set_printoptions imshow title savefig range format product astype tight_layout print text xlabel figure len | tnlin/SMDN | 3,901 |
tnybny/Frame-level-anomalies-in-videos | ['semi supervised anomaly detection', 'abnormal event detection in video', 'anomaly detection'] | ['Learning Temporal Regularity in Video Sequences'] | src/max_unpool.py src/conv_AE_2D.py src/create_streetscene_frame_annotation.py src/create_tfrecords.py src/plots.py src/train.py src/experiment.py src/conv_lstm_cell.py src/create_ped2_frame_annotation.py src/data_iterator.py src/create_ped1_frame_annotation.py src/utils.py main.py src/spatial_temporal_autoencoder.py ConvAE2d ConvLSTMCell DataIteratorStae DataIteratorNormal DataIterator Experiment unpool max_pool_with_argmax plot_loss plot_auc plot_pfe SpatialTemporalAutoencoder train test per_video_normalize compute_eer get_mean_frame _with_flat_batch stop_gradient max_pool ones_like reshape size transpose scatter_nd shape stack range join list plot xlabel close ylabel savefig figure legend range len join list plot xlabel close ylabel savefig figure range len join sorted format arange plot glob xlabel close ylabel savefig figure range axvspan len batch_train time format save_model join test restore_model localtime mean plot_loss asctime save info append plot_auc range compute_eer save resize roc_auc_score open sorted transpose append sum range format plot_pfe concatenate glob mean lower info per_video_normalize load join get_recon_errors makedirs roc_curve extend zfill ch zeros array len min max range len list abs zip join sorted arange glob zeros choice shape open randint expand_dims array range len | tnybny/Frame-level-anomalies-in-videos | 3,902 |
tomMoral/post_training | ['unsupervised pre training'] | ['Post Training in Deep Learning with Last Kernel'] | last_kernel/conv_network.py last_kernel/neural_network.py medium_conv_xps/faces.py recurrent_nn/ptb_word_lm.py datasets_handler/parkinson_updrs.py main_ecml.py last_kernel/utils.py datasets_handler/cifar10_inputs.py recurrent_nn/push_data.py main_kernel.py datasets_handler/simulated_regression.py recurrent_nn/reader.py recurrent_nn/ptb_experiment.py medium_conv_xps/mnist_tf.py print_mnist_conv_weight print_mnist_image save_results maybe_download_and_extract Cifar10Inputs ParkinsonUPDRSInputs SimulatedRegressionInputs ConvNetwork max_pool_2x2 conv2d create_bias_variable create_weight_variable NeuralNetwork n2 start_handler soft_thresholding SmallConfig FACESModel multisample max_pool_2x2 dropout LargeConfig get_config conv2d data_type get_rotations FACESInput get_faces_data MediumConfig extract_subimages bias_variable run_epoch weight_variable SmallConfig MNISTInput max_pool_2x2 dropout LargeConfig get_config conv2d data_type MediumConfig MNISTModel bias_variable run_epoch weight_variable smooth_curves get_config LearningConfig data_type PTBInput PTBModel main run_epoch LargeConfig smooth_curves get_config data_type PTBInput PTBModel main run_epoch load_session save_lstm length last_relevant ptb_producer _file_to_word_ids ptb_raw_data _read_words _build_vocab show reshape title pcolor argmax show subplot title pcolor range join urlretrieve format print extractall stat makedirs truncated_normal constant setFormatter addHandler StreamHandler Formatter setLevel truncated_normal constant append range extract_subimages load close print open time get_next_batch get_test_data print range run initial_state h c enumerate get_config ptb_raw_data append range data_path print restore Saver print Saver save reduce_max reduce_sum sign cast int32 abs gather int range reshape items list sorted Counter dict zip _read_words range len _read_words join _file_to_word_ids _build_vocab len | tomMoral/post_training | 3,903 |
tonyngjichun/SOLAR | ['image retrieval', 'patch matching'] | ['SOLAR: Second-Order Loss and Attention for Image Retrieval'] | solar_global/layers/loss.py solar_global/layers/normalization.py solar_global/utils/evaluate.py solar_local/models/soa_block.py demo/interactive_soa.py solar_global/utils/download.py solar_global/layers/functional.py solar_local/utils.py solar_global/examples/test.py solar_global/datasets/datahelpers.py solar_global/datasets/traindataset.py solar_global/utils/general.py solar_global/datasets/genericdataset.py solar_global/examples/test_1m.py data/train/gl18/create_db_pickle.py solar_global/examples/extract_1m.py solar_global/__init__.py solar_global/utils/plots.py solar_global/utils/whiten.py solar_global/examples/train.py solar_local/models/__init__.py solar_global/datasets/testdataset.py solar_global/networks/imageretrievalnet.py solar_global/networks/networks.py solar_local/__init__.py solar_local/models/model.py solar_global/utils/networks.py solar_local/example.py solar_global/layers/pooling.py _id_to_qid nothing click_and_crop imcrop imresize collate_tuples unnormalise default_loader cid2filename accimage_loader flip pil_loader imthumbnail ImagesFromList ImagesFromDataList config_qimname read_imlist configdataset config_imname TuplesBatchedDataset main main tb_setup main tb_setup validate AverageMeter test save_checkpoint set_batchnorm_eval main train tb_setup l2n triplet_loss mac rmac spoc contrastive_loss roipool gem sos_loss powerlaw ContrastiveLoss TripletLoss SOSLoss PowerLaw L2N RMAC MAC SPoC Rpool GeMmp GeM extract_ss extract_vectors init_network SOLAR_Global_Retrieval extract_ms constant_init ResNet ResNetSOAs extract_features_from_e2e weights_init SOABlock download_distractors download_test compute_ap compute_map compute_map_and_print get_data_root get_root htime sha256_hash load_network draw_soa_map plot_examples plot_ranks plot_embeddings pcawhitenlearn cholesky whitenlearn whitenapply main describe_opencv SOLAR_LOCAL SOSNet32x32 weights_init SOABlock weights_init const_init append tqdm append imshow rectangle crop thumbnail ANTIALIAS size view clamp to device join read_imlist format lower startswith len htime extract_vectors gpu_id save cuda list load_network parse_args get_data_root format Compose eval Normalize image_size multiscale join download_distractors time print meta_repr configdataset network join remove SummaryWriter listdir fnmatch makedirs compute_map_and_print plot_ranks plot_embeddings download_test T dot argsort numpy tb_setup split cat load pool TuplesDataset init_network SGD pretrained DataLoader whitening save_checkpoint device arch seed exp p Adam epochs flatten_desc load_state_dict pretrained_type regional to append range manual_seed_all val directory lr resume soa_layers manual_seed isfile local_whitening startswith sos ExponentialLR training_dataset min TuplesBatchedDataset parameters unfreeze_last train step soa makedirs data model zero_grad plot_examples DataParallel view p apply _lambda flatten_desc permute to module range update val format unnormalise avg item float sos enumerate criterionB unsqueeze_ time criterion backward print add_scalar AverageMeter step len data model DataParallel view p len permute to module update val format eval avg create_epoch_tuples item enumerate criterionB time criterion print AverageMeter add_scalar htime compute_map_and_print extract_vectors whitenapply to whitenlearn get_data_root format Compose eval Normalize join time T print dot argsort configdataset test_whiten numpy split copyfile join save eval __name__ list max_pool2d size min tolist expand_as floor item Tensor abs max range int size min tolist unsqueeze floor item append Tensor abs max range eps clamp size pow sqrt permute sum size pow permute item sum size pow permute item sum get children list format basename join get_data_root print load_url SOLAR_Global_Retrieval load_state_dict startswith ReLU append Rpool Linear eval cuda ImagesFromList DataLoader pow zeros clone interpolate data isinstance ReLU BatchNorm2d kaiming_normal_ constant_ data isinstance ReLU BatchNorm2d constant_ OrderedDict items list startswith join format print len system mkdir range makedirs join remove format urlretrieve print extractall close rename mkdir open range exists makedirs float arange len compute_ap max arange min zeros float sum array len format compute_map concatenate print add_text around append range len round sha256 load join get_data_root format get print init_network load_state_dict add_figure add_subplot floor values str list set_title set_edgecolor set_linewidth imshow add_gridspec ceil range format sqrt default_loader int suptitle print set_yticks min add_patch tqdm set_xticks figure Rectangle len list transform print Compose add_embedding tqdm stack default_loader permute append range len p reshape set_yticks Compose add_subplot draw fromstring tostring_rgb COLOR_RGB2BGR set_xticks Normalize figure cuda cvtColor set_title add_figure set_yticks add_subplot imshow set_xticks figure permute dot norm T eig inv mean dot sqrt diag T inv eig mean dot cholesky eye SOLAR_LOCAL train_set weights_path warpAffine angle pt float size model cos pi unsqueeze sin append matrix cuda orthogonal_ Conv2d constant_ data isinstance Conv2d | tonyngjichun/SOLAR | 3,904 |
torchmd/torchmd | ['protein folding'] | ['TorchMD: A deep learning framework for molecular simulations'] | torchmd/parameters.py torchmd/mycalc.py tests/test_torchmd.py torchmd/forces.py scripts/run_omm_compare.py scripts/analysis.py torchmd/forcefields/ff_parmed.py torchmd/minimizers.py torchmd/utils.py torchmd/integrator.py setup.py torchmd/neighbourlist.py torchmd/forcefields/ff_yaml.py torchmd/wrapper.py torchmd/forcefields/forcefield.py torchmd/run.py torchmd/systems.py printenergy compareForces _TestTorchMD compareEnergies compareForces disableDispersionCorrection getTorchMDSystem keepForcesAmber openmm_energy fixParameters keepForces evaluate_LJ evaluate_repulsion_CG Forces evaluate_electrostatics calculate_distances evaluate_LJ_internal evaluate_angles wrap_dist evaluate_bonds evaluate_repulsion evaluate_torsion kinetic_energy langevin _first_VV maxwell_boltzmann _second_VV Integrator kinetic_to_temp minimize_pytorch_bfgs minimize_bfgs MyCalc discretize_box Parameters calculate_AB detect_improper_center improper_graph viewFrame get_args setup dynamics System save_argparse LoadFromFile LogWriter Wrapper calculate_molecule_groups ParmedForcefield load_parmed_parameters YamlForcefield ForceField _ForceFieldBase print get_potential_energy get_kinetic_energy len setUseDispersionCorrection getForces isinstance setDefaultPeriodicBoxVectors isinstance angstrom picoseconds getPlatformByName setPositions energy_decomposition value_in_unit LangevinIntegrator disableDispersionCorrection kilocalories_per_mole createSystem kelvin Quantity getState Context femtoseconds dihedral_types print atoms residues OrderedDict improper_types improper_periodic_types atom_types angle_types bond_types dihedral_types print atoms residues improper_types angle_types range bond_types len print list sum values replace name write close NamedTemporaryFile open System set_positions set_box numAtoms box coords unsqueeze round norm unsqueeze wrap_dist norm zeros_like clamp sqrt sum acos norm all scatter_add_ cos cross unsqueeze sin zeros sum range len sum type_as sqrt append range len randn_like format minimize print float64 reshape astype tensor format print requires_grad_ LBFGS step cartesian_prod arange unsqueeze repeat tensor len sqrt Graph add_nodes_from add_edges_from unique numpy viewForces view join log_dir isinstance add_argument save_argparse ArgumentParser forceterms parse_args output_period makedirs System temperature device forceterms masses structure seed create set_positions set_velocities External manual_seed_all Parameters astype maxwell_boltzmann Molecule import_module numAtoms replicas manual_seed box extended_system read coordinates print Forces forcefield float32 set_box repeat topology coords save device output_period seed list timestep minimize_bfgs append range manual_seed_all pos copy stack numAtoms splitext manual_seed Integrator LogWriter replicas Wrapper box compute int join log_dir write_row output tqdm wrap step steps forces copy isinstance list add_edges_from connected_components Graph astype add_nodes_from int64 to range endswith from_structure AmberParm AmberParameterSet CharmmParameterSet | torchmd/torchmd | 3,905 |
tpepin96/NYCDatasetProcessing | ['traffic prediction'] | ['Revisiting Spatial-Temporal Similarity: A Deep Learning Framework for Traffic Prediction'] | script_data_to_stdn.py tests.py utils.py script_compile_STDN.py main.py script_compile_STDN_small.py GPSUtils.py gps_to_xy pgps_to_xy gps_distance get_next process print_time UtilsMiscTest UtilsUpdateDataTest UtilsProcessEntryTest GPSUtilsTest get_t gen_empty_vdata no_days_in_mo gen_empty_fdata generate_dates update_data check_valid no_samples_in_mo process_entry inv array matmul matmul radians cos atan2 sqrt sin print strftime str gen_empty_vdata print_time gen_empty_fdata print generate_dates zfill get_next zeros savez_compressed get_t strptime strip group pgps_to_xy gps_distance seconds float split append no_samples_in_mo no_samples_in_mo floor | tpepin96/NYCDatasetProcessing | 3,906 |
trakaros/MPIIGaze | ['gaze estimation'] | ['MPIIGaze: Real-World Dataset and Deep Appearance-Based Gaze Estimation'] | python/keras/generator.py python/pytorch/models/lenet.py python/pytorch/model_trace.py python/pytorch/diagrams/resnet6_basic/histobar.py python/tensorflow/dataset.py python/tensorflow/dataset_3fold.py python/pytorch/diagrams/zhang_basic_60_epochs/histobar.py python/keras/TensorResponseBoard.py python/pytorch/diagrams/resnet8_preact_basic/histobar.py python/pytorch/preprocess_multiview.py python/pytorch/multiviewDB.py python/pytorch/models/mynet.py python/pytorch/preprocess_data.py python/pytorch/models/resnet_preact.py python/pytorch/torch2caffe.py python/pytorch/diagrams/plots.py python/pytorch/dataloader.py python/pytorch/modelLoader.py python/pytorch/models/zhang.py python/pytorch/diagrams/per_participant_mpiigaze/histogram.py python/tensorflow/train.py python/pytorch/forestDB.py python/pytorch/diagrams/plots_std.py python/pytorch/forestDB_3fold.py python/keras/dataset.py python/pytorch/main_resnet18.py python/pytorch/diagrams/resnet8_preact_bottleneck/histobar.py python/pytorch/diagrams/cross_dataset/histogram.py python/pytorch/main_resnet18_PARAMETRIC.py python/pytorch/models/myresnet_basic.py python/keras/popa.py python/pytorch/MPIIGaze/Data/Normalized/dataset_3fold.py python/pytorch/main.py python/keras/train.py python/pytorch/models/resnet_basic.py make_dataset randomize read_mat open_file train_model train_model TensorBoardWrapper euclidean_distance_loss get_loader_per_person MPIIGazeDatasetTrain get_loader_cross_dataset get_train_loader_multiview MPIIGazeDatasetTest get_loader_person_specific get_person_loader_mpiigaze MPIIGazeDataset find_R_nearest_groups find_nearest_group can_be_center find_R_nearest_groups find_nearest_group can_be_center convert_to_unit_vector AverageMeter test main parse_args train str2bool compute_angle_error convert_to_unit_vector AverageMeter test test_person main parse_args train str2bool compute_angle_error convert_to_unit_vector AverageMeter test main parse_args train str2bool compute_angle_error find_R_nearest_groups find_nearest_group can_be_center convert_gaze get_subject_data convert_pose main get_eval_info main convert_pose convert_gaze initialize_weights Model Model ResNetEncoder ResidualBlock ResnetDecoder activation_func conv_bn ResNetBottleNeckBlock ResNet6 ResNetLayer ResNetBasicBlock ResNetResidualBlock Conv2dAuto ResNetEncoder ResidualBlock ResNet ResnetDecoder activation_func conv_bn ResNetBottleNeckBlock ResNetLayer resnet50 resnet152 ResNetBasicBlock ResNetResidualBlock resnet34 Conv2dAuto resnet18 resnet101 initialize_weights Model BasicBlock Model calcs open_file convert_gaze randomize make_dataset convert_pose read_mat make_dataset randomize read_mat open_file calcs randomize open_file make_dataset read_mat loadmat append join read_mat walk join open_file print getcwd append walk permutation train_feat_gen merge_generator fit_generator val_feat_gen flow save ImageDataGenerator fit fromarray join uint8 concatenate reshape TensorBoardWrapper savetxt print DataLoader MPIIGazeDataset ConcatDataset DataLoader ConcatDataset print DataLoader format MPIIGazeDataset MPIIGazeDatasetTrain format print MPIIGazeDatasetTest DataLoader DataLoader ConcatDataset print range print abs range len append abs range milestones add_argument loads ArgumentParser sqrt cos sin convert_to_unit_vector model zero_grad len update val format size mean avg item info add_image enumerate time make_grid criterion backward AverageMeter step add_scalar update time format make_grid criterion add_scalar add_histogram size AverageMeter named_parameters mean eval avg item info enumerate add_image batch_size outdir SGD MultiStepLR save arch export_scalars_to_json dataset seed tensorboard MSELoss OrderedDict epochs Model parse_args range format test import_module manual_seed info vars test_id join dumps num_workers parameters get_loader train step makedirs pow abs sqrt cuda tolist array std compute_angle_error cuda tolist array update add_histogram size mean eval avg item enumerate add_image time make_grid criterion AverageMeter named_parameters std compute_angle_error add_scalar fold cuda std get_loader_person_specific get_person_loader_mpiigaze valid_type test_person get_train_loader_multiview get_loader_per_person personID close mean print ResNet6 zeros testset get_loader_multiview_mpiigaze arctan2 astype float32 Rodrigues arcsin arcsin arctan2 join format apply read_csv drop join sorted listdir convert_gaze append iterrows pose astype float32 convert_pose gaze image day loadmat array get_eval_info savez get_subject_data add_argument ArgumentParser convert_gaze isdir sort astype float32 choice convert_pose append imread listdir array values len isinstance Conv2d xavier_uniform_ bias weight constant_ Linear data kaiming_normal_ BatchNorm2d join int dump print getcwd loadmat round open walk range len astype float32 choice convert_pose append array load savez len range open print | trakaros/MPIIGaze | 3,907 |
tranbahien/CTC-OCR | ['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 utils/build_dataset.py ops/inputs.py quick_test.py inference_wrapper.py ops/image_extractor.py run_inference.py ops/layer_norm.py configuration.py evaluate.py ops/image_processing.py ctc_ocr_model.py TrainingConfig ModelConfig CtcOcrModel main run_once evaluate_model run InferenceWrapper main main main vgg process_image parse_sequence_example convert_to_sparse make_batch prefetch_input_data LayerNormalizedLSTMCell ln _process_dataset _process_image_files _int64_feature Vocabulary _bytes_feature_list _create_vocab _load_and_process_metadata _bytes_feature ImageDecoder _to_sequence_example main _int64_feature_list int time flush info batch_size add add_summary ceil num_eval_examples range Summary run latest_checkpoint checkpoint_dir info Graph MakeDirs info eval_dir run checkpoint_dir Graph input_file_pattern info ModelConfig Glob len extend finalize input_files split ctc_ocr_checkpoint_file TrainingConfig vgg_checkpoint_file DeleteRecursively MakeDirs train_dir list summarize_activation values resize_images mul concat image_summary convert_image_dtype sub rgb_to_grayscale parse_single_sequence_example enqueue fatal string_input_producer len FIFOQueue cast append range add_queue_runner size Glob info QueueRunner read extend float32 RandomShuffleQueue scalar split astype shape coo_matrix int32 array batch_join ones to_int32 shape sparse_reshape append sqrt moments Features word FeatureLists SequenceExample decode_jpeg range ord Vocabulary int join arange TFRecordWriter print astype write SerializeToString close output_dir _to_sequence_example range flush len seed int Thread join print min astype shuffle Coordinator start num_threads ImageDecoder append range len join int print ImageMetadata lower append split int _process_dataset val_shards image_dir output_info_file _create_vocab train_shards _load_and_process_metadata test_shards imglist_file | tranbahien/CTC-OCR | 3,908 |
tranbahien/CTPN-TensorFlow | ['scene text detection'] | ['Detecting Text in Natural Image with Connectionist Text Proposal Network'] | proposals_connector/connector.py train.py text_detector.py proposals_connector/graph_builder.py ops/image_processing.py ops/inputs.py proposals_connector/connect_proposals.py inference_wrapper.py ops/image_extractor.py ops/utils.py run_inference.py tools/anchor.py proposals_connector/inference_utils.py configuration.py evaluate.py data_utils/build_icdar_2013_data.py tools/data_labelling.py TrainingConfig InferenceConfig ModelConfig main run_once evaluate_model run InferenceWrapper main TextDetector main _process_dataset _process_image_files _float_feature_list parse_bbox_icdar_2013 _int64_feature _bytes_feature_list _load_and_process_metadata _bytes_feature ImageDecoder _float_feature _to_sequence_example main _int64_feature_list vgg16 process_image parse_sequence_example main prefetch_input_data generate_anchors rescale_bboxes connect_proposals convert_box_to_veritical_coords smooth_l1 apply_horizontal_deltas_to_anchors get_patches convert_to_vertical_deltas apply_vertical_deltas_to_anchors convert_to_horizontal_deltas get_intersect TextProposalConnector connect_proposals filter_boxes TextProposalGraphBuilder threshold Graph clip_boxes reduce_offsets normalize basic_anchors generate_basic_anchors scale_anchor locate_anchors AnchorLabeller int time flush info batch_size add add_summary ceil num_eval_examples range Summary run latest_checkpoint checkpoint_dir info Graph MakeDirs info eval_dir run Graph Glob len extend finalize input_files info split TrainingConfig vgg_checkpoint_file DeleteRecursively input_file_pattern MakeDirs model_checkpoint_file ModelConfig train_dir generate_anchors Features print tolist bboxes filename FeatureLists SequenceExample decode_jpeg int join arange TFRecordWriter print astype write SerializeToString close output_dir _to_sequence_example range flush len seed int Thread join print min astype shuffle Coordinator start num_threads ImageDecoder append range len join glob sort ImageMetadata zip append array print parse_bbox_icdar_2013 int _process_dataset val_shards output_info_file AnchorLabeller train_shards _load_and_process_metadata train_imgs_dir train_gts_dir list l2_regularizer summarize_activation values image_summary dict parse_single_sequence_example enqueue fatal string_input_producer len FIFOQueue cast append range add_queue_runner size Glob info QueueRunner read extend float32 RandomShuffleQueue scalar split _test_dataset reshape conv2d constant float32 to_float int32 py_func stack exp stack log reshape stack to_float stack float32 py_func to_int64 to_int32 py_func less abs cast float32 nms get_text_lines hstack TextProposalConnector TEXT_LINE_NMS_THRESH normalize TEXT_PROPOSALS_NMS_THRESH filter_boxes threshold min max list sort reshape append abs enumerate apply_along_axis array int32 copy ones column_stack array len basic_anchors int32 zeros array range | tranbahien/CTPN-TensorFlow | 3,909 |
travisdesell/exact | ['time series'] | ['Investigating Recurrent Neural Network Memory Structures using Neuro-Evolution'] | visualization/plot_worst_best.py visualization/plot_cyclone_heatmap.py visualization/plot_many_correlations.py visualization/plot_examm_fitness.py visualization/plot_rnn_progress.py visualization/plot_multi_time_series.py graphviz_models/gru_graphviz.py cli/island_purging_args.py visualization/plot_correlation_heatmap.py visualization/plot_progress.py cli/rec_args.py visualization/plot_scatterplots.py visualization/plot_time_series_predictions.py visualization/plot_hyperparameters.py cli/__main__.py cli/examm_task.py cli/config_to_arg.py ConfigToArg ExammTask IslandPurgingArgs RecArgs get_config main write_file listdir_fullpath generate_percentage_plot plot_min_avg_max write_file plot_island main plot_island_individual get_ratio ConfigToArg ExammTask IslandPurgingArgs RecArgs get_config main write_file listdir_fullpath generate_percentage_plot plot_min_avg_max write_file plot_island main plot_island_individual get_ratio argv to_command print config_files get_config add_argument call ExammTask ArgumentParser parse_args n_runs range loads list subplots set_title plot set_xlabel grid set_ylabel savefig legend fill_between range len subplots set_title plot set_xlabel grid close relim ylim set_ylabel savefig clf legend fill_between cla get_position gist_ncar subplots set_title plot set_position rc set_xlabel grid set_ylabel savefig legend range len print xlabel ylabel title clf append reshape range show plot suptitle grid scatter savefig mkdir figure subplot2grid range show str plot grid title scatter savefig figure range plot_island int arange plot_island_individual shape mkdir get_ratio read_csv | travisdesell/exact | 3,910 |
tristandeleu/ntm-one-shot | ['one shot learning'] | ['One-shot Learning with Memory-Augmented Neural Networks'] | mann/utils/test_metrics.py mann/utils/generators.py mann/utils/metrics.py mann/utils/theano_utils.py mann/utils/init.py mann/utils/similarities.py mann/utils/test_similarities.py mann/model.py mann/utils/images.py examples/omniglot.py mann/test_model.py omniglot memory_augmented_neural_network test_batch_size test_shape OmniglotGenerator get_shuffled_images time_offset_input load_transform shared_one_hot weight_and_bias_init shared_zeros shared_glorot_uniform accuracy_instance cosine_similarity test_accuracy_instance test_cosine_similarity shared_floatX accuracy_instance categorical_crossentropy time train_fn function memory_augmented_neural_network print tensor3 imatrix OmniglotGenerator mean flatten adam accuracy_fn append argmax shared_one_hot dimshuffle weight_and_bias_init shared_floatX ones reshape concatenate shared_glorot_uniform scan flatten dot shape softmax to_one_hot zeros posterior_fn1 function set_value zeros_like memory_augmented_neural_network rand astype get_value zip posterior_fn2 tensor3s range imatrices function memory_augmented_neural_network rand astype tensor3 imatrix posterior_fn shuffle list zip minimum asarray imresize shift maximum rotate imread max sqrt sum prod isinstance zeros foldl arange mean shared zeros dimshuffle batched_dot accuracy_instance function astype mean accuracy_fn binomial zeros range imatrices function zeros_like rand dot sqrt cosine_similarity_fn cosine_similarity sum tensor3s range | tristandeleu/ntm-one-shot | 3,911 |
trneedham/Spectral-Gromov-Wasserstein | ['graph partitioning'] | ['Generalized Spectral Clustering via Gromov-Wasserstein Learning'] | benchmark_regularized_wikicats.py benchmark_village.py plot_matchings.py plot_gwa_village.py partition_village.py sbmAmiModularity.py randomGraphPartitioning.py plot_energy.py GromovWassersteinFramework.py spectralGW.py benchmark_regularized_village.py supervisedPartitionExperiment.py benchmark_eu.py DataIO.py benchmark_regularized_amazon.py GromovWassersteinGraphToolkit.py gromovWassersteinAveraging.py partition_amazon.py partition_wiki.py benchmark_amazon.py plot_node_correctness.py benchmark_regularized_eu.py hkscaleCouplings.py gwaTools.py graphProcessing.py benchmark_wikicats.py partition_eu.py geodesicVisualization.py EvaluationMeasure.py sinkhorn_knopp_iteration node_cost node_cost_st gromov_wasserstein_discrepancy softmax_grad update_distribution node_distribution_similarity gromov_wasserstein_barycenter gromov_wasserstein_average process_sgwl_amazon process_sgwl_eu process_sgwl_amazon process_sgwl_eu process_sgwl_village process_sgwl_wiki process_sgwl_village process_sgwl_wiki csv2tab_edge_files load_txt_community_file load_layer_edge_file add_noisy_edges extract_graph_info add_noisy_nodes load_multilayer_edge_file load_txt_edge_file annotate_heatmap calculate_edge_correctness tab2pairs calculate_node_correctness plot_adjacency_matrix heatmap split_cost_coupling_probabilities_insert_nodes split_cost_and_probability_by_column_insert_nodes draw_weighted_graph draw_filtered_graph align_graphs_fixed_coupling split_nodePos_one_point split_cost_and_probability_by_row_insert_nodes align_graphs preprocess_nodes draw_geodesic_with_threshold draw_node_weighted_graph fix_probability_vector draw_geodesic_with_node_weights draw_geodesic_with_node_weights_fixed_coupling align_nodes split_nodePos_all_points draw_geodesic average_nodePos draw_node_weighted_graph_with_threshold load_graph split_matrix_one_point loss_fun gwloss frobenius split_all_rows split_column print_shapes geodesic gen_inv network_compress log_map_compressed gwloss_init log_map_simple split_row find_bad_rows network_compress_list split_cost_and_probability_by_column split_probability_all_points gromov_wasserstein gwa_cg twoTLB expand log_map init_matrix frechet_gradient gromov_wasserstein_asym_fixed_initialization normalized_threshold split_cost_coupling_probabilities tensor_product coupling_threshold gwggrad split_matrix_all_points network_karcher_mean_compressed find_bad_columns network_karcher_mean_armijo split_probability_one_point exp_map geod_plot frechet_loss gwggrad_asym tile network_karcher_mean_armijo_sched_compress network_log_compress geod network_karcher_mean network_pdist split_coupling frechet_gradient_compressed gromov_wasserstein_asym split_cost_and_probability_by_row gwloss_asym network_karcher_mean_armijo_sched geod_plot_shapes split_all_columns recursive_graph_partition recursive_multi_graph_partition estimate_target_distribution recursive_graph_partition_gd multi_graph_partition recursive_direct_graph_matching indrect_graph_matching graph_partition_gd recursive_indirect_graph_matching node_set_assignment node_cluster_assignment node_pair_assignment direct_graph_matching graph_partition forwardCycleFrag_at cycleFrag_at cycleFrag draw_geodesic_with_node_weights_fixed_coupling_v2 graph_partition_gd2 get_partition t_selection_pipeline_undirected_amazon process_sgwl_amazon process_sgwl_eu t_selection_pipeline_directed_eu graph_partition_gd2 get_partition t_selection_pipeline_undirected_eu graph_partition_gd2 t_selection_pipeline_undirected_village get_partition process_sgwl_village process_sgwl_wiki t_selection_pipeline_undirected_wiki t_selection_pipeline_directed_wiki graph_partition_gd2 get_partition run_frechet draw_geodesic_with_node_weights_fixed_coupling_v2 draw_geodesic_with_node_weights_fixed_coupling node_correctness graph_partition_gd2 get_partition get_sbm get_gw_ami undirected_heat_kernel markov_hit_and_run_step extract_HK_data_normalized_Laplacian laplacian_eig heat_kernel gw_equality_constraints project_mu undirected_normalized_heat_kernel node_distribution coupling_ensemble directed_heat_kernel get_benchmark_amis get_gw_ami get_sbm optimize_specgwl_v2 optimize_specgwl get_adj_ami T repeat reshape softmax_grad log matmul softmax T exp inf ones abs matmul sum T repeat log matmul T matmul list exp keys sinkhorn_knopp_iteration T inf node_cost ones node_cost_st abs matmul softmax zeros sum update_distribution list T inf csr_matrix gromov_wasserstein_average abs matmul gromov_wasserstein_discrepancy append sum keys diag len argmax time format estimate_target_distribution print adjusted_mutual_info_score graph_partition_gd zeros sum sum format estimate_target_distribution print adjusted_mutual_info_score graph_partition_gd zeros argmax graph_partition graph_partition time format estimate_target_distribution print adjusted_mutual_info_score argmax graph_partition sum format estimate_target_distribution print adjusted_mutual_info_score zeros argmax graph_partition graph_partition_gd zeros sum graph_partition_gd int list lil_matrix csr_matrix len close append zeros keys find iterrows list lil_matrix print csr_matrix append zeros range keys read_csv len iterrows list lil_matrix csr_matrix append zeros keys read_csv len list lil_matrix csr_matrix len close append zeros keys find range close read_csv len lil_matrix nodes edges zeros range len int deepcopy list add_edge nodes choice edges range add_node len int list deepcopy add_edge nodes choice edges len append find range items list arange set_xticklabels set_yticklabels set_yticks get_xticklabels grid colorbar imshow set_visible set_ylabel set_xticks setp gca tick_params update norm isinstance valfmt text get_array dict StrMethodFormatter append max range format close imshow savefig edges zeros draw_networkx_nodes list axis nodes draw_networkx_edges set edges append sum len insert range len split_nodePos_one_point range len split_probability_all_points split_nodePos_all_points find_bad_rows split_matrix_all_points T split_probability_all_points split_matrix_all_points find_bad_columns split_nodePos_all_points split_cost_and_probability_by_row_insert_nodes split_coupling split_cost_and_probability_by_column_insert_nodes normalized_threshold gromov_wasserstein_asym split_cost_coupling_probabilities_insert_nodes T matmul mean norm svd T transpose matmul preprocess_nodes subplot draw_weighted_graph align_graphs from_numpy_array linspace figure range align_nodes zeros list range len draw_networkx_nodes list axis nodes draw_networkx_edges set edges append sum len subplot align_graphs draw_node_weighted_graph from_numpy_array fix_probability_vector linspace figure range align_nodes align_graphs align_nodes append zeros sum range len concatenate draw_node_weighted_graph from_numpy_array unique round draw_networkx_nodes list axis nodes draw_networkx_edges set edges append sum len subplot align_graphs from_numpy_array fix_probability_vector linspace figure range draw_node_weighted_graph_with_threshold align_nodes split_cost_coupling_probabilities_insert_nodes T matmul subplot draw_node_weighted_graph from_numpy_array fix_probability_vector align_graphs_fixed_coupling linspace figure range align_nodes int max add_edges_from Graph tuple min to_numpy_array from_numpy_array split append array range open T h1 reshape h2 dot f1 tensor_product init_matrix gwloss init_matrix cg tensor_product gwloss transpose init_matrix gwa_cg line_search_armijo format emd print cost outer df append abs gwloss transpose init_matrix gwa_cg argsort cumsum Finv gen_inv linspace emd2 zeros range Ginv gromov_wasserstein_asym tile expand ones shape min matmul coupling_threshold array diag matmul T ones insert tile zeros range split_matrix_one_point range len count_nonzero range append len insert delete split_probability_one_point range len split_probability_all_points find_bad_rows split_matrix_all_points count_nonzero range append len split_probability_all_points find_bad_columns T split_matrix_all_points count_nonzero zeros range len insert split_row zeros range len count_nonzero zeros range len insert split_column zeros range len T find_bad_columns split_all_rows find_bad_rows split_all_columns split_cost_and_probability_by_row split_coupling split_cost_and_probability_by_column normalized_threshold split_cost_coupling_probabilities gromov_wasserstein_asym T matmul add_subplot geod_curve axis imshow figure range geod list MDS add_subplot geod_curve axis scatter figure embedding_ geod range fit split_cost_coupling_probabilities gromov_wasserstein_asym T matmul split_cost_coupling_probabilities T matmul split_cost_coupling_probabilities T asarray extend matmul mean shape append zeros range find_bad_rows normalized_threshold split_matrix_all_points range gromov_wasserstein_asym log_map_compressed find_bad_rows log_map_simple zeros float sum normalized_threshold append len sum split_matrix_all_points log_map append float range find_bad_rows len gromov_wasserstein_asym append sum range len norm print exp_map frechet_loss frechet_gradient append norm frechet_gradient_compressed print exp_map frechet_loss append line_search_armijo norm str print divide exp_map frechet_loss frechet_gradient append abs line_search_armijo str print min exp_map index frechet_loss frechet_gradient append abs line_search_armijo str frechet_gradient_compressed print min exp_map index frechet_loss append abs concatenate cluster_centers_ len mean labels_ unique zeros sum range fit append network_compress range len concatenate mean labels_ unique zeros sum range fit T print gromov_wasserstein_asym zeros range len print range len list linspace interp zeros keys append list range remove list remove append keys range sum list sort append argmax keys range len csr_matrix gromov_wasserstein_discrepancy node_cluster_assignment diag asarray flatten gromov_wasserstein_asym_fixed_initialization node_cluster_assignment diag list estimate_target_distribution toarray flatten gromov_wasserstein_asym append node_cluster_assignment range keys diag len list estimate_target_distribution csr_matrix gromov_wasserstein_discrepancy append node_cluster_assignment range keys diag len list csr_matrix graph_partition append node_cluster_assignment range keys diag gromov_wasserstein_barycenter estimate_target_distribution multi_graph_partition append max range len gromov_wasserstein_discrepancy node_pair_assignment node_set_assignment gromov_wasserstein_barycenter recursive_multi_graph_partition list keys append max range direct_graph_matching len list recursive_multi_graph_partition inf estimate_target_distribution indrect_graph_matching append keys range len arange ones randint delete matmul zeros arange ones delete matmul zeros len zeros arange delete subplot draw_node_weighted_graph from_numpy_array fix_probability_vector align_graphs_fixed_coupling linspace figure range align_nodes asarray flatten gromov_wasserstein_asym_fixed_initialization node_cluster_assignment diag set append argmax max range graph_partition_gd2 int time process_sgwl_amazon print coverage undirected_normalized_heat_kernel get_partition append round range len graph_partition_gd2 int time process_sgwl_eu print coverage undirected_normalized_heat_kernel get_partition append round range len int time process_sgwl_eu print coverage get_partition append round range directed_heat_kernel len graph_partition_gd2 int time print coverage undirected_normalized_heat_kernel get_partition process_sgwl_village round range append len graph_partition_gd2 process_sgwl_wiki int time print coverage undirected_normalized_heat_kernel get_partition append round range len process_sgwl_wiki int time print coverage get_partition append round range directed_heat_kernel len time gromov_barycenters gromov_wasserstein append sum range sum astype stochastic_block_model triu_indices print append zeros range len argmax estimate_target_distribution modularity gromov_wasserstein undirected_normalized_heat_kernel add node_distribution adjusted_mutual_info_score ravel diag enumerate sum array list toarray nodes kamada_kawai_layout unif eigh array values len eigh toarray T exp diag matmul directed_laplacian_matrix asarray eigh eigh toarray eigh toarray concatenate reshape tile zeros array range len reshape matmul normal norm reshape project_mu min matmul uniform max T markov_hit_and_run_step matmul append orth range argmax estimate_target_distribution toarray gromov_wasserstein node_distribution adjusted_mutual_info_score ravel diag get_gw_ami dot append argmax enumerate sum get_gw_ami append argmax enumerate run list asyn_fluidc nodes tree Infomap edges append range is_leaf adjusted_mutual_info_score greedy_modularity_communities add_link zeros add_node items module_id best_partition len | trneedham/Spectral-Gromov-Wasserstein | 3,912 |
truas/LexicalChain_Builder | ['document classification', 'word embeddings'] | ['Enhanced word embeddings using multi-semantic representation through lexical chains'] | lexicon/token_data.py lexicon/lc_management.py lexicon/read_write.py lexicon/lc_builder.py calculateChainRepresentative convertFixedChain validateDocumentToken representProspectiveChain chunker closest_synset_rep build_synset_relations matching_hypernyms makeKey initialize_weights hypernyms_path checkChainSize start_FlexChain weightPOS relatedSynsetChainUpdate build_FixedChain cosine_similarity build_FlexChain retrieveModelKey select_weight process_token chain_ouput_file doclist_multifolder fname_splitter checkChainType ChainData idData DocumentData SemanticSynsetData TokenData iword ioffset idData start_FlexChain build_synset_relations set ipos chain_relation_tokens synset_from_pos_and_offset append relatedSynsetChainUpdate representProspectiveChain enumerate len iword ioffset ChainData idData build_synset_relations ipos synset_from_pos_and_offset append dict synset_from_pos_and_offset update copy convertFixedChain checkChainSize append chunker representProspectiveChain append ChainData average prospective_tokens calculateChainRepresentative closest_synset_rep iword ioffset cosine_similarity ipos makeKey retrieveModelKey enumerate iword ioffset prospective_tokens ipos weightPOS makeKey retrieveModelKey append word_vec list values choice round cosine append full append list hypernyms_path append split endswith join walk append iword str ioffset write close ipos isyn open print | truas/LexicalChain_Builder | 3,913 |
tsaishien-chen/SPAN | ['vehicle re identification'] | ['Orientation-aware Vehicle Re-identification with Semantics-guided Part Attention Network'] | PartAttGen.py BGRemove_DL.py visualize.py BGRemove_GrabCut.py resnet.py main.py model.py close_huge_loss VeRI implement evaluation train implement grabcut Generator_Block PartAtt_Generator Foreground_Generator VeRI implement Loss VeRI_eval train conv1x1 ResNet resnet50 Bottleneck resnet152 conv3x3 resnet34 resnet18 BasicBlock resnet101 load join print Compose VeRI eval DataLoader load_state_dict makedirs sum view model zero_grad DataLoader save len Adam MSELoss set_postfix range state_dict update Compose close close_huge_loss VeRI enumerate join criterion backward print tqdm parameters evaluation step makedirs Compose uint8 GC_INIT_WITH_RECT grabCut float64 astype zeros flip update BORDER_REPLICATE imwrite replace copyMakeBorder glob close tqdm grabcut resize open array VeRI_eval zeros_like FloatTensor size ReLU MSELoss criterion_mask expand_as criterion_area repeat criterion_div mean device to sum range axis Loss numpy subplot imshow title savefig iter train_test_split next to tile figure read_csv ResNet load_state_dict_from_url load_param ResNet load_state_dict_from_url load_param ResNet load_state_dict_from_url load_param ResNet load_state_dict_from_url load_param ResNet load_state_dict_from_url load_param | tsaishien-chen/SPAN | 3,914 |
tsattler/visuallocalizationbenchmark | ['visual localization', 'autonomous driving'] | ['Reference Pose Generation for Long-term Visual Localization via Learned Features and View Synthesis'] | local_feature_evaluation/modify_database_with_custom_features_and_matches.py local_feature_evaluation/camera.py local_feature_evaluation/reconstruction_pipeline_aachen_v1_1.py local_feature_evaluation/reconstruction_pipeline.py local_feature_evaluation/utils.py local_feature_evaluation/matchers.py Camera mutual_nn_matcher mutual_nn_ratio_matcher ratio_matcher match_features import_features geometric_verification image_ids_to_pair_id recover_database_images_and_ids array_to_blob recover_query_poses reconstruct match_features register_queries import_features preprocess_reference_model generate_empty_reconstruction geometric_verification image_ids_to_pair_id recover_database_images_and_ids array_to_blob recover_query_poses reconstruct match_features register_queries import_features preprocess_reference_model generate_empty_reconstruction geometric_verification image_ids_to_pair_id recover_database_images_and_ids array_to_blob quaternion_to_rotation_matrix camera_center_to_translation t arange device topk arange min t sqrt stack device topk arange min t sqrt stack device cursor database_path close connect execute commit join cursor list items database_path print astype connect float32 tqdm tostring image_path close execute join commit cursor database_path print astype connect close set add image_path tostring tqdm image_ids_to_pair_id execute uint32 to split print call int print Camera set_pose camera_center_to_translation set_intrinsics array split print empty_model_path mkdir call mkdir database_model_path call mkdir final_model_path join print write close dataset_path call set add mkdir prediction_path open final_txt_model_path split norm array quaternion_to_rotation_matrix | tsattler/visuallocalizationbenchmark | 3,915 |
tsborkar/Selective-feature-regeneration | ['adversarial defense'] | ['Defending Against Universal Attacks Through Selective Feature Regeneration'] | unseenresnet152_ilsvrc.py samenorm_ilsvrc_eval.py unseencaffenet_ilsvrc.py defense_example.py crossnorm_ilsvrc_eval.py compute_test_accuracy get_test_acc compute_test_accuracy get_test_acc compute_test_accuracy get_test_acc compute_test_accuracy get_test_acc print str float range data resize forward str transpose input range asarray size astype copy lower listdir empty compute_test_accuracy dnn print reshape convert File float32 randint load | tsborkar/Selective-feature-regeneration | 3,916 |
tsingqguo/efficientderain | ['rain removal', 'single image deraining', 'data augmentation'] | ['EfficientDeRain: Learning Pixel-wise Dilation Filtering for High-Efficiency Single-Image Deraining', 'Uncertainty-Aware Cascaded Dilation Filtering for High-Efficiency Deraining'] | pytorch_ssim/__init__.py train.py result2test.py validation.py network.py augment_and_mix.py trainer.py dataset.py augmentations.py utils.py sharpness equalize translate_x sample_level float_parameter contrast zoom_x brightness rotate shear_y color posterize solarize translate_y int_parameter zoom_y autocontrast shear_x normalize augment_and_mix apply_op RandomCrop DenoisingValDataset DenoisingDataset KernelConv Basic LossBasic LossAnneal KPN weights_init TensorGradient LossFunc str2bool Pre_train create_generator get_jpgs psnr text_save recover_process save_sample_png load_dict save_sample_png_test get_last_2paths text_readlines savetxt check_path get_files grey_psnr ssim str2bool create_window gaussian _ssim SSIM ssim sample_level int_parameter sample_level int_parameter sample_level int_parameter sample_level float_parameter sample_level float_parameter sample_level int_parameter width sample_level height int_parameter sample_level float_parameter sample_level float_parameter sample_level float_parameter sample_level float_parameter sample_level float_parameter width sample_level float_parameter height fromarray uint8 astype op augmentations zeros_like apply_op dirichlet float32 copy choice beta normalize max range print apply L1Loss generator save_model zero_grad DataParallel DataLoader adjust_learning_rate sample_path cuda create_generator multi_gpu Adam SSIM MSELoss epochs device_count check_path DenoisingDataset cudnn_benchmark range save_path criterion_L1 timedelta enumerate time backward print save_sample_png step len load load_name burst_length sep_conv channel_att kernel_size upMode print load_dict color spatial_att KPN weights_init blind_est core_bias update load_state_dict state_dict join imwrite COLOR_BGR2RGB range resize numpy clip cvtColor len join imwrite COLOR_BGR2RGB astype float32 range numpy clip cvtColor len COLOR_BGR2RGB astype float32 resize numpy clip cvtColor mean mul sum log10 item compare_ssim numpy makedirs array append sort walk append walk append join walk readlines close open range len str write close open range len Tensor Variable contiguous unsqueeze pow conv2d create_window size type_as get_device cuda is_cuda | tsingqguo/efficientderain | 3,917 |
tsudalab/PrefInt | ['experimental design'] | ['Leveraging Legacy Data to Accelerate Materials Design via Preference Learning'] | PrefInt/candidate.py ver-python2.7/PrefInt/utility/__init__.py ver-python2.7/PrefInt/utility/gpranking.py PrefInt/utility/__init__.py PrefInt/preference_generate.py PrefInt/evaluate.py PrefInt/ibo/gaussianprocess/kernel.py ver-python2.7/PrefInt/utility/bopredict.py PrefInt/__init__.py ver-python2.7/PrefInt/evaluate.py ver-python2.7/PrefInt/ibo/gaussianprocess/kernel.py ver-python2.7/PrefInt/visuallization.py ver-python2.7/PrefInt/__init__.py ver-python2.7/PrefInt/ibo/acquisition/__init__.py ver-python2.7/PrefInt/candidate.py PrefInt/ibo/gaussianprocess/__init__.py ver-python2.7/PrefInt/ibo/__init__.py ver-python2.7/PrefInt/ibo/gaussianprocess/prior.py PrefInt/ibo/acquisition/__init__.py PrefInt/ibo/__init__.py PrefInt/utility/bopredict.py ver-python2.7/PrefInt/preference_generate.py ver-python2.7/PrefInt/ibo/gaussianprocess/__init__.py PrefInt/visuallization.py PrefInt/ibo/gaussianprocess/prior.py PrefInt/utility/gpranking.py predict_old predict fitcan ndcg generate_pair boitrboxplot gperrvioplot boitrsucrate gperrboxplot EI Kernel GaussianKernel_iso RBFNMeanPrior GPMeanPrior GaussianProcess erf PDF PrefGaussianProcess CDF BOpred GPranking predict_old predict fitcan ndcg generate_pair boitrboxplot gperrvioplot boitrsucrate gperrboxplot EI Kernel GaussianKernel_iso RBFNMeanPrior GPMeanPrior GaussianProcess erf PDF PrefGaussianProcess CDF BOpred GPranking list norm min index append range len _predict list f index append float max range len print arange range len show T zip print set title savefig figure boxplot tick_params DataFrame array subplots arange grid tick_params violinplot percentile show title scatter savefig set_xticklabels set_xlim set zip T vlines print set_xticks array len show T print set title figure boxplot tick_params DataFrame array show list arange plot xlabel ylabel title savefig figure legend append tick_params xticks range len property exp abs time GaussianKernel_iso print extend generate_pair posteriors firstgen PrefGaussianProcess addPreferences array range len | tsudalab/PrefInt | 3,918 |
tsujuifu/pytorch_graph-rel | ['joint entity and relation extraction', 'relation extraction'] | ['GraphRel: Modeling Text as Relational Graphs for Joint Entity and Relation Extraction'] | model.py main.py lib.py dataset.py DS train_dl eval_dl get_args GCN GraphRel parse_args add_argument ArgumentParser backward model zero_grad weight_alpha tqdm step cuda model set add tqdm zip cuda range len | tsujuifu/pytorch_graph-rel | 3,919 |
tticoin/LSTM-ER | ['relation extraction', 'relation classification'] | ['End-to-End Relation Extraction using LSTMs on Sequences and Tree Structures'] | data/common/fix_sentence_break.py data/ace2004/ace2ann.py data/ace2005/ace2ann.py data/semeval-2010/conv_test.py data/semeval-2010/conv_train.py data/common/conll2txt.py data/common/standoff.py | tticoin/LSTM-ER | 3,920 |
ttthy/ure | ['relation extraction'] | ['Revisiting Unsupervised Relation Extraction'] | ure/train_eval.py ure/feature/main.py ure/alias_sampling.py ure/feature/hyperparams.py ure/etypeplus/encoder.py ure/hyperparams.py ure/vocabulary.py ure/link_predictor.py ure/pcnn/encoder.py ure/preprocessing/filter_word2vec.py ure/scorer.py ure/feature/encoder.py ure/dataset.py ure/utils.py ure/preprocessing/feature_extractor.py ure/feature/dataset.py ure/pcnn/main.py ure/rel_dist.py ure/etypeplus/main.py alias_draw alias_setup Dataset TSVDataset parse_args set_seet_every_where load_config LinkPredictor RelDist v_measure check_with_bcubed_lib bcubed_correctness bcubed_recall bcubed_precision bcubed_score load_vocabularies train test evaluate get_etype_pair embedding_3D get_etype_with_subjobj bcolors is_stopword get_frequency cuda load_feature_ids_to_keep to_long_tensor load_voca_embs tokgreen make_equal_len embedding_bag_3D is_important_word tfail BaseModel to_float_tensor tokblue Sim Vocabulary Encoder eval_etype Dataset TSVDataset Encoder parse_args set_seet_every_where load_config evaluate linkpredictor_evaluate test get_data train Encoder bow_clean lexicalPattern arg1_lower arg2 get_features loadExamples posPatternPath entity1Type getFeaturesThreshold loadTACRED entity2Type trigger entityTypes arg1 get_lexicon arg2_lower FeatureLexicon getFeatures getBasicCleanFeatures pop len append zeros enumerate int rand floor len seed is_available manual_seed makedirs getattr __dict__ mode seed add_argument ArgumentParser set_seet_every_where int IntTensor len ones where shape float sum ones where shape float sum bcubed_correctness bcubed_recall bcubed_precision completeness_score homogeneity_score v_measure_score format fscore print dict precision recall load get_etype_pair print size get_etype_with_subjobj get_frequency model zero_grad save Adam get_minibatch range state_dict format shuffle item join ExponentialLR evaluate backward print min step len format v_measure print min tolist extend Counter adjusted_rand_score eval predict_relation get_minibatch bcubed_score argmax len load join update evaluate load_state_dict state_dict float load print uniform append zeros max shape cuda view embedding_bag embedding shape cuda view is_available zeros size append load_from_list append format load_from_list strip close any append open v_measure format print adjusted_rand_score append bcubed_score split Adagrad int model print min tolist searchsorted psi eval dev shape zip get_minibatch numpy len load load_feature_ids_to_keep print size get_frequency type TSVDataset len punctuation strip lower append split append enumerate split split append range enumerate len getId f getOrAdd append __name__ getId f getOrAddPruned append __name__ print getFeatures FeatureLexicon loadExamples enumerate getBasicCleanFeatures print id2StrPruned from_file len id2Str FeatureLexicon id2freq loadTACRED getBasicCleanFeatures | ttthy/ure | 3,921 |
tttthomasssss/acl2017 | ['semantic composition'] | ['Improving Semantic Composition with Offset Inference'] | apt_toolkit/utils/__init__.py apt_toolkit/composition/__init__.py apt_toolkit/distributional_inference/distributional_inference.py apt_toolkit/utils/vector_utils.py setup.py apt_toolkit/distributional_inference/di_utils.py apt_toolkit/composition/mozart.py apt_toolkit/distributional_inference/__init__.py apt_toolkit/__init__.py union_apts intersect_apts wordnet_synsets density_window static_top_n perform_distributional_inference split_path_from_word apply_offset_path create_offset_vector collapse_offset_vector save_vector_cache load_vector_cache get merge_fn keys set merge_fn keys set init_sims isinstance csr_matrix copy from_dict_of_dicts get_vector get_nearest_neighbours init_sims isinstance copy from_dict_of_dicts append get_vector get_nearest_neighbours init_sims isinstance csr_matrix multiply copy add from_dict_of_dicts set append sum synsets enumerate pop isinstance inference_function pop join insert reversed split join split_path_from_word format startswith split apply_offset_path list keys startswith rsplit join defaultdict format list keys split pop commit dump format isinstance info len | tttthomasssss/acl2017 | 3,922 |
tttthomasssss/le-augmentation | ['data augmentation'] | ['Data Augmentation for Hypernymy Detection'] | code/io.py code/gan_training_loop.py code/pytorch_layers.py code/util.py code/pytorch_models.py code/wittgenstein.py load_pytorch_model save_pytorch_model save_structured_resource load_structured_resource FeedforwardBatchNormLayer GANDALF create_function create_instance create_partial_function prepare_invocation_on_obj get_staticmethod_from_class getattr_from_module pop makedirs isinstance split save state_dict rsplit import_module getattr class_ rsplit isinstance eval import_module getattr Callable create_function partial getattr import_module getattr getattr getattr_from_module | tttthomasssss/le-augmentation | 3,923 |
tuananh1007/CNN-Image-Retrieval-in-PyTorch | ['image retrieval'] | ['Fine-tuning CNN Image Retrieval with No Human Annotation', 'CNN Image Retrieval Learns from BoW: Unsupervised Fine-Tuning with Hard Examples'] | cirtorch/__init__.py cirtorch/datasets/testdataset.py cirtorch/examples/test_e2e.py cirtorch/examples/test.py cirtorch/networks/imageretrievalnet.py cirtorch/utils/download_win.py cirtorch/utils/whiten.py cirtorch/utils/download.py cirtorch/utils/general.py cirtorch/layers/functional.py cirtorch/layers/pooling.py cirtorch/datasets/datahelpers.py cirtorch/layers/loss.py cirtorch/utils/evaluate.py cirtorch/layers/normalization.py cirtorch/datasets/genericdataset.py cirtorch/examples/train.py cirtorch/datasets/traindataset.py imresize collate_tuples default_loader cid2filename accimage_loader flip pil_loader ImagesFromList ImagesFromDataList config_qimname configdataset config_imname TuplesDataset main main validate AverageMeter test save_checkpoint set_batchnorm_eval main train l2n triplet_loss mac rmac spoc contrastive_loss roipool gem powerlaw ContrastiveLoss TripletLoss PowerLaw L2N RMAC MAC SPoC Rpool GeMmp GeM extract_ss ImageRetrievalNet extract_vectors init_network extract_ssl extract_regional_vectors extract_ms extract_local_vectors extract_ssr download_train download_test download_train download_test compute_ap compute_map compute_map_and_print get_data_root get_root htime sha256_hash pcawhitenlearn cholesky whitenlearn whitenapply thumbnail ANTIALIAS size view join lower format len htime compute_map_and_print init_network extract_vectors gpu_id whitening save whitenapply cuda list load_state_dict parse_args download_test whitenlearn get_data_root get format Compose load_url network_path eval network_offtheshelf Normalize item image_size multiscale load download_train time join T print meta_repr dot argsort configdataset numpy split network pool TuplesDataset SGD pretrained DataLoader save_checkpoint arch seed test_datasets exp Adam epochs append regional range manual_seed_all val directory test lr resume manual_seed isfile local_whitening ExponentialLR training_dataset min train step makedirs update time format criterion backward print squeeze AverageMeter zero_grad apply create_epoch_tuples item step cuda range enumerate len update time format criterion print squeeze AverageMeter eval create_epoch_tuples item cuda range enumerate len htime compute_map_and_print extract_vectors whitenapply cuda whitenlearn get_data_root format Compose eval Normalize join time T print dot argsort configdataset test_whiten numpy split copyfile join save eval __name__ list max_pool2d size min tolist expand_as floor item Tensor abs max range int size min tolist unsqueeze floor item append Tensor abs max range eps clamp size pow sqrt permute sum size pow permute item sum get children list format basename join get_data_root print ImageRetrievalNet load_url load_state_dict startswith ReLU append Rpool Linear eval cuda ImagesFromList DataLoader pow zeros clone interpolate eval cuda ImagesFromList DataLoader eval cuda ImagesFromList DataLoader join format print len system mkdir range makedirs join format print len system mkdir range makedirs float arange len compute_ap max arange min zeros float sum array len format compute_map concatenate print around append range len round sha256 dot norm T eig inv mean dot sqrt diag T inv eig mean dot cholesky eye | tuananh1007/CNN-Image-Retrieval-in-PyTorch | 3,924 |
tudarmstadt-lt/sensegram | ['word embeddings'] | ['Making Sense of Word Embeddings'] | vector_representations/dense_word_vectors.py utils/bin2text.py vector_representations/sparse_sense_vectors.py corpora/preprocess.py pcz/disambiguate_sense_clusters.py train.py vector_representations/sparse_word_vectors.py word_sense_induction.py word_embeddings.py vector_representations/build_sense_vectors.py vector_representations/dense_sense_vectors.py prediction.py egvi/induction.py graph.py sensegram.py utils/morph.py eval/rnd_prediction.py egvi/disambiguator.py utils/patterns.py pcz/add_isas.py eval/mfs_prediction.py utils/common.py vector_representations/rdt_test.py vector_representations/run_verbsim_par.py egvi/test_disambiguator.py pcz/make_closure.py pcz/isas.py vector_representations/sense_vectors.py utils/pbar.py wsd.py pcz/sense_clusters.py word_graph.py pcz/synset_hypernyms.py eval/significance.py filter_clusters.py corpora/frequencies.py main run CRSGraph main run SenseGram learn_word_embeddings PhraseDetector GzippedCorpusStreamer detect_phrases build_vector_index compute_neighbours compute_graph_of_related_words get_ego_network ego_network_clustering minimize WSD main run main run Sense ensure_dir WSD ensure_word_embeddings draw_ego load_globally get_all_nodes get_nns get_nodes get_cluster_lines list2dict wsi get_sorted_vocabulary in_nns get_pair main get_target_words get_disc_pairs get_ru_wsi_vocabulary save_to_gensim_format run main mfs_mapping run main run mcnemar_midp main run analyze add_isas substring_hyper read_ddt main main SenseClusterDisambiguator run ISAs main read_ddt make_closure SenseClusters main generate_binary_hypers run preprocess_pandas_csv findnth print_line ensure_utf8 random_ints readable_dir exists try_remove strip_newlines gunzip_file strip_header whatisthis base dt_scientific2fixed get_urls lowercase_voc prt2 profiling base_ext prt str2list stat safe_remove list2str take add_header ensure_dir normalize_whitespaces get_data_dir chunks fpath2filename PrettyPrinterUtf8 load_voc parse lemmatize analyze_word get_stoplist load_stoplist lemmatize_word add_pos tokenize Pbar main run DenseSenseVectors DenseWordVectors evalutate_original evalutate main terminating calculate_corr run generate_mixed_cases SenseVectors SparseSenseVectors SparseWordVectors min_size ddt print add_argument ArgumentParser parse_args run update str iterrows WSD set_value print dis_text Pbar to_csv target start finish load_word2vec_format read_csv append context ignore_case filter_ctx sense output wsd_method lowercase_context test_file PhraseDetector Pool GzippedCorpusStreamer print_stats time format Phraser GzippedCorpusStreamer list print save_word2vec_format Word2Vec Phrases exists detect_phrases build_vector_index time format print compute_neighbours init_sims syn0norm add IndexFlatIP load_word2vec_format vector_size time findall lower items time list add_edges_from chinese_whispers format Graph print index add_nodes_from append get_neighbors enumerate print CRSGraph Counter corpus minsize endswith makedirs get format print ensure_dir exists join iterrows word add set read_csv exists str endswith close open append enumerate print time format save load time format print load_word2vec_format most_similar sorted update print get_nns Counter range len most_similar get_nns add set in_nns get_pair range len update Counter get_nns list2dict sorted append add_edges_from format chinese_whispers Graph get_nodes set get_disc_pairs keys join time print get_all_nodes difference add_nodes_from len gcf show set_size_inches nodes clf draw_networkx savefig append len iterrows word2 format sorted glob add set read_csv word1 items list sorted format join name append format load_globally get_sorted_vocabulary ensure_word_embeddings get_target_words save_to_gensim_format len iterrows print word astype split read_csv len mfs_mapping inventory get_senses randint load_word2vec_format senses print pmf min binom cdf float abs mcnemar_midp sum tolist set2 set1 fillna read_csv append _spacy analyze join enumerate print ISAs add_isas max_hyper_num SenseClusterDisambiguator skip_ambigous time sense_clusters s print make_closure data items sorted list format join most_similar print write close enumerate open generate_binary_hypers DenseSenseVectors sort read_csv to_csv print isfirstline input print isfirstline input splitext write write sort_stats function enable write getvalue disable print_stats StringIO Profile print eval hasattr findall split isinstance remove exists print remove range len max std print min mean median sum array print load dump preprocess_pandas_csv print set open read_csv len gunzip_file print rename splitext try_remove print lower _spacy join lower _spacy join append _spacy _spacy lower lemma_ _spacy lower lemma_ _spacy WV SV int sparse norm_type weight_type max_dim max_words wv pcz print print iterrows word2 print max_similarity_pos read_csv corr word1 time SparseWordVectors calculate_corr SparseSenseVectors nopar | tudarmstadt-lt/sensegram | 3,925 |
tudelft-cda-lab/GROOT | ['adversarial attack'] | ['Efficient Training of Robust Decision Trees Against Adversarial Examples'] | groot/provably_robust_boosting/__init__.py groot/verification/kantchelian_attack.py groot/adversary.py groot/provably_robust_boosting/tree_ensemble.py groot/toolbox.py groot/provably_robust_boosting/wrapper.py groot/provably_robust_boosting/data.py groot/provably_robust_boosting/stump_ensemble.py groot/datasets.py groot/provably_robust_boosting/utils.py groot/treant.py tests/test_groot_models.py groot/attack.py groot/model.py groot/provably_robust_boosting/robust_boosting.py groot/verification/__init__.py groot/visualization.py setup.py tests/test_getting_started.py groot/provably_robust_boosting/classifiers.py groot/util.py groot/__init__.py groot/verification/decision_tree_attack.py DecisionTreeAdversary Leaf convert_numpy AttackWrapper load_ijcnn load_banknote_authentication load_cylinder_bands load_mnist load_balance_scale load_epsilons_dict epsilon_attacker load_sonar load_ionosphere load_spambase load_blood_transfusion load_wine load_cod_rna load_planning_relax load_fashion_mnist load_parkinsons load_diabetes load_haberman load_all load_breast_cancer load_climate_model_simulation load_SPECTF load_adult load_credit chen_adversarial_sum_absolute_errors chen_adversarial_gini_gain_one_class NumericalNode weighted_gini CompiledTree BaseGrootTree gini_impurity GrootRandomForestRegressor GrootTreeRegressor adversarial_sum_absolute_errors GrootRandomForestClassifier adversarial_gini_gain_one_class _counts_to_two_class_adv_gini _counts_to_one_class_adv_gini Node _predict_compiled _attack_model_to_tuples _build_tree_parallel BaseGrootRandomForest GrootTreeClassifier _scan_numerical_feature_fast_regression _scan_numerical_feature_fast chen_adversarial_gini_gain_two_class node_tree_to_arrays sum_absolute_errors adversarial_gini_gain_two_class _sklearn_forest_to_model _sklearn_tree_to_dict Model _sklearn_tree_to_model _sklearn_booster_to_model _sigmoid_inverse RobustDecisionTree convert_numpy Constraint Attacker AttackerRule Node load_treant_from_json SplitOptimizer load_attack_rules convert_numpy numpy_to_chensvmlight plot_adversary plot_estimator OneVsAllClassifier fmnist_sandal_sneaker extend_dataset gts_100_roadworks breast_cancer split_train_validation split_train_test transform_labels_one_vs_all horizontal_flip fmnist normalize_per_feature_0_1 toy_2d_stumps crop_batch random_crop cifar10 mnist_2_6 toy_2d_xor mnist_1_5 ijcnn1 diabetes toy_2d_trees data_augment mnist toy_2d_wong cod_rna convert_to_float32 har binary_from_multiclass gts_30_70 fit_plain_stumps bisect_coord_descent basic_case_two_intervals fit_robust_exact_stumps_iter coord_descent_exp_loss fit_robust_exact_stumps fit_robust_bound_stumps calc_h fit_plain_stumps_iter fit_robust_bound_stumps_iter exp_loss_robust bisection Stump StumpEnsemble find_min_yf_point find_min_yf_tree_par predict_point TreeEnsemble fit_stump_batch Tree fit_stump predict_tree_par minimum get_n_proc finalize_curr_row get_model_names extract_hyperparam get_contiguous_indices Logger print_arr clip crop_batch fit_provably_robust_boosting extend_dataset _extract_bounding_boxes DecisionTreeAttackWrapper KantchelianAttack KantchelianAttackMultiClass node_wrapper KantchelianAttackWrapper test_groot_tree_known_dataset test_groot_tree_prediction_compiling test_groot_classifiers_sklearn_estimator test_groot_tree_known_dataset_one_adversarial_class assert_fit_and_predict_groot test_groot_tree_parameters test_groot_regressors_sklearn_estimator defaultdict append AttackerRule range data where fetch_openml target data where fetch_openml target data fetch_openml astype delete reversed data fetch_openml astype where target data toarray fetch_openml where target data where fetch_openml target data toarray fetch_openml where target data astype fetch_openml target data fetch_openml astype where target data where fetch_openml target data fetch_openml astype where target data fetch_openml astype where target data astype fetch_openml target data fetch_openml astype where target data fetch_openml astype where target data fetch_openml astype where target data fetch_openml astype where target data astype fetch_openml target data astype fetch_openml target data astype fetch_openml target data astype fetch_openml target empty _recurse to_xgboost_json empty enumerate append Number iterable isinstance adversarial_gini_gain_one_class chen_adversarial_gini_gain_one_class min chen_adversarial_gini_gain_two_class argsort bincount adversarial_gini_gain_two_class chen_adversarial_sum_absolute_errors concatenate zip sort adversarial_sum_absolute_errors unique weighted_gini max weighted_gini max int min floor ceil weighted_gini max int round sort range len max sum_absolute_errors concatenate adversarial_gini_gain_one_class int round chen_adversarial_gini_gain_one_class int64 chen_adversarial_gini_gain_two_class astype adversarial_gini_gain_two_class check_random_state fit clone choice threshold node_count children_left value feature children_right append n_classes_ range _sklearn_tree_to_dict _sklearn_tree_to_dict estimators_ append n_classes_ range init_ extend _sklearn_tree_to_dict estimators_ K append range append join zip enumerate subplots reshape set_ylim min set_xlim shape scatter contourf linspace meshgrid max predict subplots min get_bounding_boxes set_xlim add_patch scatter Rectangle round max clip set_ylim int min max int list extend unique len array int unique max range len array array array seed sign uniform append array reader split_train_test readlines append normalize_per_feature_0_1 array normalize_per_feature_0_1 loadtxt split_train_test int readlines split normalize_per_feature_0_1 zeros float enumerate int readlines split normalize_per_feature_0_1 zeros float enumerate reshape binary_from_multiclass load_data reshape binary_from_multiclass load_data reshape load_data reshape load_data reshape binary_from_multiclass load_data reshape load_data binary_from_multiclass loadmat binary_from_multiclass loadmat shape randint random_crop horizontal_flip reshape copy shape pad range shape reshape copy shape pad vstack crop_batch mean exp coord_descent_exp_loss prange inf full fit_plain_stumps_iter basic_case_two_intervals prange inf full fit_robust_bound_stumps_iter basic_case_two_intervals calc_h bisect_coord_descent fit_robust_exact_stumps_iter inf full prange clip exp log argsort range minimum len mean exp inf mean exp log bisection mean dtype exp calc_h clip copysign exp coord_descent_exp_loss mean max log append int min inf zeros prange find_min_yf_point float32 zeros prange predict_point zeros fit_stump enumerate format arange fit_plain_stumps concatenate print sort min copy fit_robust_bound_stumps get_contiguous_indices unique array clip exp_loss_robust len len print enumerate join dict zip append enumerate split glob sort format append time exp prune_last_tree print TreeEnsemble ones extend_dataset where add_weak_learner fit_tree tile certify_treewise range extend set_params clone predict fit make_moons assert_fit_and_predict_groot zip set_params make_moons clone predict fit GrootTreeRegressor GrootRandomForestRegressor check_estimator check check_estimator GrootTreeClassifier predict_proba zeros array predict fit GrootTreeClassifier array predict fit | tudelft-cda-lab/GROOT | 3,926 |
tufts-ml/GAN-Ensemble-for-Anomaly-Detection | ['anomaly detection'] | ['GAN Ensemble for Anomaly Detection'] | train.py utils/statsutils.py utils/visualizer.py utils/__init__.py dataloader/kdd_dataset.py dataloader/dataloader.py models/networks.py models/skipgan_mxn.py options.py dataloader/kdd.py models/basemodel.py dataloader/datasets.py models/egbad_KDD99.py models/evaluate.py models/f_anogan.py utils/loss.py models/GANomaly.py models/egbad_mxn.py setup_dir Options main Data load_data is_image_file get_cifar_anomaly_dataset find_classes make_dataset ImageFolder accimage_loader default_loader make_anomaly_dataset get_mnist_anomaly_dataset pil_loader _get_dataset get_train KDD_dataset get_test _adapt get_shape_input _encode_text_dummy get_shape_label _col_names _to_xy _get_adapted_dataset get_loader KDD99Loader ANBase egbad_kdd egbad_mxn roc auprc evaluate f_anogan BaseModel Ganomaly FMLP_Decoder EGBADDiscriminator UnetSkipConnectionBlock NetD MLP_Encoder FMLP_Enocder BasicDiscriminator MLP_Decoder get_norm_layer GANLoss ResnetGenerator ResnetBlock define_D MLP_Discriminator get_scheduler weights_init PixelDiscriminator define_G UnetGenerator Encoder init_weights init_net NLayerDiscriminator FDiscriminator Decoder NetG FMLP_Discriminator model_skipgan lat_loss con_loss guassian_nll l2_loss weights_init Visualizer join format name outf makedirs parse f_anogan egbad_mxn Ganomaly model_skipgan train setup_dir egbad_kdd MNIST int get_cifar_anomaly_dataset format KDD_dataset Compose abnormal_class DataLoader CIFAR10 dataset get_mnist_anomaly_dataset sort is_image_file join sorted append expanduser listdir walk copy concatenate from_numpy clone cat data ndarray isinstance clone targets from_numpy Tensor cat join transform astype float32 copy _to_xy _encode_text_dummy _col_names sample MinMaxScaler read_csv dataroot fit _adapt _get_dataset drop columns format get_dummies append columns int permutation RandomState concatenate DataLoader KDD99Loader dict roc_curve cpu auc average_precision_score normal_ __name__ fill_ BatchNorm2d partial InstanceNorm2d LambdaLR ReduceLROnPlateau StepLR apply init_weights int get_norm_layer nc UnetGenerator ngf log2 isize BasicDiscriminator get_norm_layer exp log | tufts-ml/GAN-Ensemble-for-Anomaly-Detection | 3,927 |
tuhinjubcse/SimileGeneration-EMNLP2020 | ['common sense reasoning', 'style transfer'] | ['Generating similes effortlessly like a Pro: A Style Transfer Approach for Simile Generation'] | fairseq/tasks/multilingual_masked_lm.py fairseq/criterions/cross_entropy.py fairseq/models/lightconv_lm.py fairseq/data/encoders/utils.py fairseq/utils1.py fairseq/models/nat/cmlm_transformer.py comet-commonsense/src/evaluate/utils.py fairseq/data/encoders/space_tokenizer.py fairseq/optim/fairseq_optimizer.py fairseq/optim/fp16_optimizer.py scripts/wav2vec_featurize.py fairseq/binarizer.py fairseq/criterions/__init__.py fairseq/tasks/fairseq_task.py fairseq_cli/setup.py fairseq/distributed_utils.py fairseq/data/numel_dataset.py fairseq/data/offset_tokens_dataset.py fairseq/data/prepend_token_dataset.py fairseq/data/dictionary.py fairseq/sequence_scorer.py tests/test_sequence_generator.py fairseq/models/__init__.py fairseq/data/strip_token_dataset.py scripts/read_binarized.py fairseq/data/sharded_dataset.py comet-commonsense/src/train/opt.py fairseq/data/encoders/moses_tokenizer.py autoeval.py fairseq/data/transform_eos_dataset.py fairseq/models/nat/nonautoregressive_ensembles.py fairseq/optim/lr_scheduler/triangular_lr_scheduler.py fairseq/data/list_dataset.py scripts/spm_decode.py fairseq/data/prepend_dataset.py fairseq/data/audio/raw_audio_dataset.py fairseq/data/concat_sentences_dataset.py fairseq/models/nat/fairseq_nat_model.py fairseq/models/roberta/__init__.py fairseq/tasks/__init__.py fairseq/modules/lightconv_layer/lightconv_layer.py comet-commonsense/src/train/conceptnet_train.py fairseq/optim/adagrad.py fairseq/data/legacy/masked_lm_dictionary.py fairseq/optim/adam.py fairseq/optim/lr_scheduler/inverse_square_root_schedule.py fairseq/data/roll_dataset.py comet-commonsense/src/main_conceptnet.py fairseq/modules/character_token_embedder.py fairseq/data/token_block_dataset.py fairseq/models/fconv_self_att.py fairseq/modules/vggblock.py fairseq/data/resampling_dataset.py fairseq/tasks/denoising.py comet-commonsense/src/models/gpt.py fairseq/data/legacy/__init__.py fairseq/data/num_samples_dataset.py fairseq/modules/lightconv_layer/setup.py fairseq/data/raw_label_dataset.py fairseq/models/transformer_lm.py fairseq/data/encoders/gpt2_bpe_utils.py fairseq/models/bart/model.py comet-commonsense/scripts/generate/generate_atomic_beam_search.py fairseq/data/pad_dataset.py tests/test_character_token_embedder.py tests/speech_recognition/test_vggtransformer.py fairseq/modules/adaptive_input.py fairseq/models/transformer.py fairseq/criterions/binary_cross_entropy.py comet-commonsense/scripts/generate/generate_atomic_greedy.py fairseq/models/roberta/hub_interface.py fairseq/modules/lightconv_layer/cuda_function_gen.py fairseq/models/distributed_fairseq_model.py setup.py fairseq/optim/lr_scheduler/tri_stage_lr_scheduler.py fairseq/optim/lr_scheduler/cosine_lr_scheduler.py fairseq/criterions/label_smoothed_cross_entropy_with_alignment.py comet-commonsense/scripts/novelty/compute_conceptnet_novelty.py fairseq/modules/downsampled_multihead_attention.py fairseq/data/base_wrapper_dataset.py tests/test_sparse_multihead_attention.py fairseq/models/bart/hub_interface.py fairseq/data/lm_context_window_dataset.py fairseq/data/sort_dataset.py fairseq/tasks/legacy_masked_lm.py tests/test_multihead_attention.py fairseq/data/plasma_utils.py comet-commonsense/scripts/generate/generate_conceptnet_arbitrary.py fairseq/models/multilingual_transformer.py fairseq/sequence_generator.py fairseq/data/round_robin_zip_datasets.py fairseq/modules/dynamic_convolution.py fairseq/data/iterators.py comet-commonsense/src/train/batch.py comet-commonsense/src/interactive/functions.py fairseq/data/truncate_dataset.py fairseq/optim/bmuf.py tests/test_reproducibility.py scripts/spm_encode.py fairseq/data/noising.py tests/test_multi_corpus_sampled_dataset.py fairseq/modules/multihead_attention.py comet-commonsense/src/evaluate/evaluate.py fairseq/data/multi_corpus_sampled_dataset.py fairseq/models/fconv_lm.py fairseq/data/id_dataset.py fairseq/models/fconv.py fairseq/iterative_refinement_generator.py fairseq/data/encoders/sentencepiece_bpe.py fairseq/optim/adafactor.py fairseq/modules/transformer_sentence_encoder_layer.py fairseq/modules/sinusoidal_positional_embedding.py fairseq/pdb.py fairseq/data/data_utils.py fairseq/data/subsample_dataset.py fairseq/models/fairseq_encoder.py fairseq/optim/adamax.py fairseq/tasks/sentence_ranking.py fairseq/optim/lr_scheduler/__init__.py fairseq/data/backtranslation_dataset.py fairseq/modules/lightweight_convolution.py tests/speech_recognition/asr_test_base.py tests/test_concat_dataset.py fairseq_cli/generate.py comet-commonsense/utils/utils.py comet-commonsense/src/data/atomic.py fairseq/options.py fairseq/data/encoders/nltk_tokenizer.py fairseq/data/__init__.py fairseq/models/roberta/alignment_utils.py fairseq/models/composite_encoder.py fairseq/optim/fused_adam.py fairseq/data/lru_cache_dataset.py fairseq/modules/linearized_convolution.py fairseq/models/nat/__init__.py fairseq/criterions/legacy_masked_lm.py convert_to_literal.py comet-commonsense/scripts/generate/generate_atomic_topk.py fairseq/modules/highway.py fairseq/modules/dynamicconv_layer/dynamicconv_layer.py fairseq/criterions/label_smoothed_cross_entropy.py scripts/count_docs.py fairseq/modules/beamable_mm.py fairseq/optim/fused_lamb.py interactive.py scrape_reddit_for_similes.py comet-commonsense/src/evaluate/atomic_evaluate.py fairseq/data/language_pair_dataset.py fairseq/modules/transformer_layer.py fairseq/criterions/composite_loss.py fairseq/optim/lr_scheduler/polynomial_decay_schedule.py fairseq/models/nat/insertion_transformer.py fairseq/metrics.py comet-commonsense/scripts/data/make_conceptnet_data_loader.py fairseq/models/roberta/model.py fairseq/registry.py fairseq/modules/lightconv_layer/__init__.py fairseq/models/wav2vec.py tests/speech_recognition/test_collaters.py comet-commonsense/src/train/atomic_train.py fairseq/models/masked_lm.py fairseq/data/encoders/fastbpe.py fairseq/modules/dynamic_crf_layer.py fairseq/modules/positional_embedding.py fairseq/optim/sgd.py fairseq/optim/lr_scheduler/reduce_lr_on_plateau.py fairseq/data/monolingual_dataset.py fairseq/models/nat/levenshtein_utils.py comet-commonsense/scripts/interactive/atomic_single_example.py tests/test_iterators.py fairseq/optim/adadelta.py fairseq/modules/scalar_bias.py fairseq/optim/lr_scheduler/fairseq_lr_scheduler.py fairseq/legacy_distributed_data_parallel.py fairseq/optim/lr_scheduler/fixed_schedule.py comet-commonsense/src/main.py comet-commonsense/src/evaluate/generate.py comet-commonsense/src/train/utils.py generate.py fairseq/bleu.py fairseq/data/encoders/hf_bert_bpe.py fairseq_cli/interactive.py fairseq/file_utils.py fairseq/data/mask_tokens_dataset.py fairseq/modules/adaptive_softmax.py tests/speech_recognition/test_cross_entropy.py fairseq/criterions/adaptive_loss.py fairseq/criterions/sentence_ranking.py fairseq/models/lightconv.py fairseq/tasks/cross_lingual_lm.py tests/test_sequence_scorer.py fairseq/models/transformer_from_pretrained_xlm.py comet-commonsense/src/data/data.py comet-commonsense/src/models/models.py fairseq/modules/unfold.py fairseq/models/model_utils.py scripts/split_train_valid_docs.py comet-commonsense/src/main_atomic.py fairseq/checkpoint_utils.py fairseq/modules/dynamicconv_layer/setup.py comet-commonsense/scripts/classify/demo_bilinear.py fairseq/progress_bar.py fairseq/modules/conv_tbc.py fairseq/modules/layer_norm.py comet-commonsense/scripts/classify/classify_conceptnet_generations.py fairseq/data/encoders/gpt2_bpe.py scripts/shard_docs.py fairseq/models/fairseq_incremental_decoder.py fairseq/tasks/masked_lm.py scripts/build_sym_alignment.py tests/test_memory_efficient_fp16.py comet-commonsense/scripts/evaluate/evaluate_atomic_generation_model.py comet-commonsense/src/evaluate/sampler.py fairseq/models/nat/nat_crf_transformer.py fairseq/optim/nag.py fairseq/tasks/sentence_prediction.py scripts/average_checkpoints.py scripts/spm_train.py fairseq/meters.py fairseq/criterions/nat_loss.py scripts/compare_namespaces.py fairseq/modules/sparse_transformer_sentence_encoder_layer.py fairseq/hub_utils.py tests/utils.py fairseq/data/legacy/masked_lm_dataset.py fairseq/tasks/audio_pretraining.py fairseq/modules/mean_pool_gating_network.py fairseq/criterions/masked_lm.py fairseq/optim/__init__.py fairseq/modules/learned_positional_embedding.py fairseq/data/colorize_dataset.py fairseq/tasks/language_modeling.py tests/test_average_checkpoints.py tests/test_dictionary.py comet-commonsense/scripts/classify/convert_conceptnet_generations_to_text.py hubconf.py tests/test_resampling_dataset.py fairseq/data/nested_dictionary_dataset.py fairseq/models/nat/iterative_nonautoregressive_transformer.py fairseq/models/nat/nonautoregressive_transformer.py comet-commonsense/scripts/interactive/conceptnet_single_example.py fairseq/tasks/translation.py fairseq/tasks/multilingual_translation.py fairseq/modules/sparse_transformer_sentence_encoder.py fairseq/data/append_token_dataset.py fairseq_cli/preprocess.py tests/test_binaries.py tests/test_convtbc.py fairseq/data/legacy/block_pair_dataset.py tests/test_file_io.py fairseq/data/denoising_dataset.py train.py fairseq/data/encoders/subword_nmt_bpe.py fairseq/data/indexed_dataset.py fairseq/tasks/translation_from_pretrained_xlm.py fairseq/models/nat/levenshtein_transformer.py tests/test_bmuf.py tests/test_label_smoothing.py fairseq/data/fairseq_dataset.py fairseq/tasks/translation_moe.py fairseq/modules/logsumexp_moe.py tests/test_token_block_dataset.py fairseq/tokenizer.py tests/test_utils.py fairseq/modules/gelu.py fairseq/modules/transformer_sentence_encoder.py fairseq/tasks/translation_lev.py comet-commonsense/src/evaluate/conceptnet_evaluate.py fairseq/data/concat_dataset.py fairseq/data/transform_eos_lang_pair_dataset.py fairseq/modules/dynamicconv_layer/__init__.py tests/test_noising.py fairseq/data/replace_dataset.py fairseq/modules/sparse_multihead_attention.py fairseq/modules/__init__.py comet-commonsense/src/data/conceptnet.py comet-commonsense/src/data/config.py comet-commonsense/src/data/utils.py fairseq/models/bart/__init__.py fairseq/models/fairseq_decoder.py fairseq/models/lstm.py preprocess.py tests/test_backtranslation_dataset.py fairseq/models/fairseq_model.py fairseq/models/bart/hub_interface1.py scripts/rm_pt.py comet-commonsense/scripts/evaluate/bleu_atomic.py comet-commonsense/scripts/data/make_atomic_data_loader.py fairseq/data/encoders/__init__.py fairseq/modules/dynamicconv_layer/cuda_function_gen.py comet-commonsense/src/train/train.py fairseq/search.py fairseq/criterions/sentence_prediction.py fairseq/modules/grad_multiply.py fairseq/__init__.py fairseq/criterions/fairseq_criterion.py fairseq/file_io.py fairseq/tasks/semisupervised_translation.py comet-commonsense/src/evaluate/conceptnet_generate.py scripts/wav2vec_manifest.py tests/test_train.py comet-commonsense/scripts/generate/generate_conceptnet_beam_search.py comet-commonsense/src/models/utils.py fairseq/trainer.py getParams getCommonSense getscore create_literal main buffered_read cli_main make_batches dataset_dest_file binarize_alignments binarize get_offsets dataset_dest_prefix cli_main main isPotentialSimile CommentIterator SubmissionIterator RedditIterator NumpyExtension validate get_valid_stats should_stop_early distributed_main cli_main main train get_training_stats getVec score sigmoid run flatten score get_event get_data_params make_batch append_batch make_batch append_batch make_batch append_batch make_batch append_batch main main map_name select_partial_dataset make_attention_mask find_underscore_length do_example do_take_partial_dataset DataLoader make_loss_mask get_generation_sequences compile_final_sequence handle_underscores prune_data_for_evaluation GenerationDataLoader map_name make_attention_mask do_example make_loss_mask get_generation_sequences compile_final_sequence GenerationDataLoader get_parameters read_config get_net_parameters get_data_parameters get_eval_parameters load_config get_training_parameters load_checkpoint save_checkpoint save_step make_data_loader set_max_sizes save_eval_file TextEncoder get_pairs text_standardize load_existing_data_loader AtomicGenerationEvaluator make_evaluator ConceptNetGenerationEvaluator make_evaluator make_generator ConceptNetGenerator Evaluator Generator save_sequences do_gen_run TopKSampler make_sampler GreedySampler BeamSampler Sampler update_indiv_generation_losses update_tensor_generation_losses update_generation_losses update_classification_losses set_atomic_inputs print_sampling_help make_model print_relation_help print_category_help get_atomic_sequence set_conceptnet_inputs load_atomic_data load_conceptnet_data print_help load_data print_conceptnet_sequence load_model_file print_atomic_sequence set_sampler get_conceptnet_sequence Block load_openai_pretrained_model MLP gelu LayerNorm swish dotdict TransformerModel LMHead Conv1D LMModel Attention make_model multi_gpu load_state_dict prepare_position_embeddings make_trainer AtomicGenerationIteratorTrainer decode update_generation_losses mle_steps batch_conceptnet_generate batch_atomic_generate make_trainer ConceptNetGenerationIteratorTrainer warmup_cosine warmup_constant warmup_linear OpenAIAdam IteratorTrainer Trainer modify_output_for_loss_fn update_tensor_generation_losses update_generation_losses update_indiv_generation_losses generate_config_files return_iterator_by_type replace_params make_new_tensor_from_list make_name remove_none make_name_string DD flatten set_progress_bar merge_list_of_dicts zipped_flatten initialize_progress_bar is_bool temp_seed 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_gather_list get_default_group is_master get_world_size all_reduce suppress_output 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 get_file_extension from_pretrained GeneratorHubInterface TokenizerHubInterface BPEHubInterface IterativeRefinementGenerator LegacyDistributedDataParallel MetersDict AverageMeter StopwatchMeter Meter TimeMeter safe_round get_meter state_dict aggregate reset_meters get_smoothed_value log_scalar log_start_time get_active_aggregators log_custom get_meters reset_meter load_state_dict get_smoothed_values log_derived log_stop_time log_speed 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 progress_bar tensorboard_log_wrapper noop_progress_bar tqdm_progress_bar format_stat json_progress_bar build_progress_bar simple_progress_bar set_defaults setup_registry LengthConstrainedBeamSearch DiverseSiblingsSearch BeamSearch Sampling Search DiverseBeamSearch EnsembleModel SequenceGenerator SequenceGeneratorWithAlignment EnsembleModelWithAlignment tokenize_line Trainer extract_hard_alignment clip_grad_norm_ get_token_to_word_mapping import_user_module deprecation_warning print_embed_overlap set_incremental_state has_parameters 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 _get_full_incremental_state_key fill_with_neg_inf replace_unk AdaptiveLoss BinaryCrossEntropyCriterion CompositeLoss CrossEntropyCriterion 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 ShardedDataset SortDataset StripTokenDataset SubsampleDataset TokenBlockDataset TransformEosDataset TransformEosLangPairDataset TruncateDataset BlockPairDataset MaskedLMDataset MaskedLMDictionary BertDictionary FileAudioDataset RawAudioDataset fastBPE GPT2BPE bytes_to_unicode get_pairs get_encoder Encoder BertBPE MosesTokenizer NLTKTokenizer SentencepieceBPE SpaceTokenizer SubwordNMTBPE get_whole_word_mask 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 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_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 Wav2VecModel ZeroPad1d TransposeLast ConvAggegator norm_block Fp32GroupNorm Fp32LayerNorm base_wav2vec_architecture register_model_architecture register_model build_model BARTHubInterface BARTHubInterface BARTModel BARTClassificationHead bart_large_architecture _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 CamembertModel RobertaLMHead base_architecture roberta_large_architecture RobertaClassificationHead roberta_base_architecture XLMRModel xlm_architecture RobertaModel AdaptiveInput TiedLinear AdaptiveSoftmax TiedHeadModule BeamableMM CharacterTokenEmbedder ConvTBC SingleHeadAttention Downsample GatedLinear DownsampledMultiHeadAttention Linear DynamicConv DynamicConv1dTBC Linear DynamicCRF logsumexp gelu_accurate gelu GradMultiply Highway LayerNorm LearnedPositionalEmbedding LightweightConv LightweightConv1d LightweightConv1dTBC LinearizedConvolution LogSumExpMoE MeanPoolGatingNetwork MultiheadAttention PositionalEmbedding 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 LightconvLayer lightconvFunction gen_forward gen_backward dynamicconvFunction DynamicconvLayer Adadelta Adafactor FairseqAdafactor Adagrad Adam FairseqAdam FairseqAdamax Adamax FairseqBMUF FairseqOptimizer MemoryEfficientFP16Optimizer _FP16OptimizerMixin DynamicLossScaler FP16Optimizer _MemoryEfficientFP16OptimizerMixin FusedAdamV2 FusedAdamV1 get_fused_adam_class FairseqLAMB NAG FairseqNAG SGD CosineSchedule FairseqLRScheduler FixedSchedule InverseSquareRootSchedule PolynomialDecaySchedule ReduceLROnPlateau TriangularSchedule TriStageLRSchedule AudioPretrainingTask CrossLingualLMTask DenoisingTask FairseqTask LanguageModelingTask LegacyMaskedLMTask MaskedLMTask 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 TranslationFromPretrainedXLMTask TranslationLevenshteinTask TranslationMoETask setup_task register_task get_task main buffered_read cli_main make_batches dataset_dest_file binarize_alignments binarize get_offsets dataset_dest_prefix cli_main main NumpyExtension 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 PretrainedWav2VecModel EmbeddingDatasetWriter H5Writer Prediction read_audio EmbeddingWriterConfig main get_parser TestAverageCheckpoints ModelWithSharedParameter TestBacktranslationDataset train_legacy_masked_language_model TestTranslation create_dummy_data eval_lm_main train_translation_model TestCommonOptions preprocess_translation_data TestStories TestLanguageModeling generate_main preprocess_lm_data TestMaskedLanguageModel train_language_model setup_args single_gpu_training train_step setup_model_loss_criterion Model TestBMUF TestCharacterTokenEmbedder TestConcatDataset TestConvTBC TestDictionary TestFileIO TestIterators TestLabelSmoothing TestMemoryEfficientFP16 TestMultiheadAttention TestMultiCorpusSampledDataset TestDataNoising TestReproducibility TestResamplingDataset TestSequenceGenerator TestSequenceGeneratorBase TestDiverseSiblingsSearch TestDiverseBeamSearch TestTopPSamplingSearch TestSequenceScorer TestSparseMultiheadAttention TestTokenBlockDataset mock_dict mock_trainer get_trainer_and_epoch_itr TestLoadCheckpoint TestUtils TestDataset TestEncoder sequence_generator_setup dummy_dataloader TestModel dummy_dictionary 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 from_pretrained eval tensor tokenize model load system open getParams getCommonSense sort append next_epoch_itr setup_task import_user_module make_generation_fast_ print_alignment string cuda log make_batches sorted buffered_read inference_step tolist post_process_prediction map half build_bpe pad load_model_ensemble append input buffer_size src_lengths format strip_pad src_tokens resolve_max_positions load_align_dict build_tokenizer remove_bpe zip fp16 enumerate join print target_dictionary build_generator path source_dictionary replace_unk decode_fn max_positions split main get_generation_parser parse_args_and_arch load_dictionary destdir tgtdict build_dictionary align_suffix save max srcdict get_task joined_dictionary make_all alignfile dict_path keys task train_path source_lang make_all_alignments target_lang makedirs 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 validate is_master Trainer StopwatchMeter save_checkpoint arch save_dir seed max_tokens should_stop_early set_device verify_checkpoint_directory distributed_world_size load_dataset device_id sum get_lr epoch build_model patience start build_criterion manual_seed lr_step get_train_iterator __name__ distributed_init load_checkpoint stop train max_sentences getattr epoch validate reset_meters print GroupedIterator save_checkpoint get_training_stats build_progress_bar next_epoch_itr split get_smoothed_values round get_perplexity elapsed_time epoch get_valid_stats print fixed_validation_seed valid_step append set_torch_seed build_progress_bar next_epoch_itr reset_meters get_num_updates format hasattr best_checkpoint_metric best save_checkpoint best_function get_perplexity get_smoothed_values main format spawn distributed_main print randint distributed_rank infer_init_method device_id get_training_parser print strip len lower range split tanh list items sorted getVec print dot sigmoid lower inner load join score open enumerate append split int isdigit split arange expand_dims stack to array unsqueeze cat data max_event bpe_path make_name_string vocab_decoder reset_offsets make_data_loader max_effect device maxe1 load_config run list exp make_name set_evaluator maxe2 encoder manual_seed_all gpu_mode make_model gpu_index multigpu read_config size encoder_path bs vocab_encoder set_max_sizes make_trainer generate_config_files categories get_parameters OpenAIAdam parameters load_data TextEncoder len max_r conceptnet_relations max_e2 set_generator max_e1 make_tensors ceil kr len append index_select LongTensor enumerate float flatten append encoder find_underscore_length enumerate append compile_final_sequence do_example tqdm handle_underscores append save_strategy model get_net_parameters iterations save do_gen dataset exp DD get_eval_parameters get_training_parameters get toy trainer test_save int print get_data_parameters cycle beam_size topk_size gen_seqlength num_sequences generate_sequences DD evaluate_sequences eval_categories eval_sampler sorted categories DD max_event_2_size max_event_1_size relation_format development_set_versions_to_use training_set_size learning_rate_warmup loss update exp learning_rate batch_size optimizer l2 DD random_seed clip learning_rate_schedule num_heads pretrain model DD attention_dropout num_layers activation hidden_dim init output_dropout embedding_dropout residual_dropout items list print DD print format save make_name format save_checkpoint test_save print make_name format test_save print format load exists sequences size load list getattr setattr keys add set sub replace items list setdefault generate_some data_loader generate save_sequences save save_eval_file print print type update_indiv_generation_losses update_tensor_generation_losses isinstance load_checkpoint vocab_decoder load_atomic_data load_conceptnet_data vocab_encoder TextEncoder data categories format make_name_string load_data make_data_loader data format make_name_string load_data make_data_loader eval load_state_dict int BeamSampler GreedySampler TopKSampler update categories isinstance print_atomic_sequence print format LongTensor make_attention_mask do_example device to update conceptnet_relations isinstance LongTensor make_attention_mask do_example device to print format print print_category_help print print load int zip concatenate print cumsum fullmatch from_numpy getattr split open get __delitem__ __setitem__ load_openai_pretrained_model print transformer ClfModel LMModel net size repeat device to len sum view model size prepare_position_embeddings mle_steps update_generation_losses vocab_encoder unsqueeze sample_batch sum view model size tolist prepare_position_embeddings mle_steps update_generation_losses vocab_encoder unsqueeze sample_batch decode view nll_loss size modify_output_for_loss_fn unsqueeze format device mle mkpath join epoch format list items isinstance bs lr optim is_bool update replace_params mkpath format list items sum update tqdm update items list isinstance enumerate seed get_state tell StopwatchMeter save_dir hasattr OrderedDict getattr sum update epoch get_num_updates copy start remove lexists end_of_epoch best_function stop checkpoint_paths join epoch optimizer_overrides get_train_iterator reset_optimizer lr_step reset_lr_scheduler eval load_state_dict restore_file save_dir makedirs items list setattr _upgrade_state_dict load_model_ensemble_and_task load_checkpoint_to_cpu setup_task 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 items list getattr set_defaults max_positions list print search group create_pruning_pass keys append load_checkpoint_to_cpu list isinstance OrderedDict load_state_dict startswith keys join makedirs get int format all check_output distributed_world_size distributed_init_method format init_process_group print gethostname is_master warn all_reduce distributed_rank is_initialized suppress_output get_rank is_available zeros cuda print get_default_group _cpu_buffer copy_ loads list tolist _buffer get_rank append range pack get_world_size ByteTensor unpack zero_ pin_memory bytes dumps all_reduce cpu len cached_path join remove format move print mkdtemp rmtree 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 get update write close tqdm iter_content len get str s3_etag join list isinstance url_to_filename filter startswith listdir head makedirs set items list join isinstance Namespace load_archive_file import_user_module load_model_ensemble_and_task startswith abspath exists hasattr 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 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 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_args parse_known_args getattr ArgumentParser parse_args set_defaults max_sentences items list replace add_argument import_user_module parse_known_args ArgumentParser 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 fb_tbmf_wrapper log_interval noop_progress_bar tqdm_progress_bar json_progress_bar simple_progress_bar sum format isinstance tolist round avg is_tensor replace set items list Namespace dest add_args ArgumentParser setattr _actions default strip sub deprecation_warning __name__ _get_full_incremental_state_key _get_full_incremental_state_key format print set symbols keys len range len get tokenize_line enumerate unk_string replace_unk string encode_line int arange LongTensor remainder size eq expand_as sum hasattr norm mul_ item 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 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 any sum log_softmax nll_loss generate_fn collate_fn listdir split copy_tensor max fill_ enumerate infer_dataset_impl format count print make_dataset append len seed int get_state hash append function print collect_filtered fromiter str format print size tolist write _filter_by_size_dynamic open len fromiter GeneratorType isinstance print 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 append list range ord list map build_bpe ByteTensor range len dict DistributedDataParallel find_unused_parameters append normal_ weight constant_ normal_ LearnedPositionalEmbedding weight constant_ bias normal_ weight constant_ bias LinearizedConvolution sqrt normal_ weight constant_ bias sqrt normal_ weight constant_ getattr 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 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 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 is_available sqrt pi functional hasattr is_available SinusoidalPositionalEmbedding isinstance Embedding normal_ zero_ Linear pad size unsqueeze as_strided isinstance conv_op transpose randn import_module _lang_token index split split_exists join bos format count ConcatDataset print dataset_exists PrependTokenDataset load_indexed_dataset StripTokenDataset eos AppendTokenDataset TruncateDataset append len load items list isinstance clone OrderedDict HalfTensor div_ float keys len int group fullmatch append listdir compile add_argument inputs add_mutually_exclusive_group num_epoch_checkpoints output ArgumentParser last_n_checkpoints parse_args num_update_checkpoints average_checkpoints mosesdecoder_dir fast_align_dir output_dir print_keys eval mean load_indexed_dataset get_parser append fullmatch parse_checkpoints parse_checkpoints remove root_dirs exit copyfile save_last realpath walk model Load SentencePieceProcessor read Random root ext main list parse_args_and_arch get_training_parser _create_dummy_data _create_dummy_alignment_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 get_validation_parser parse_args_and_arch get_training_parser main get_eval_lm_parser parse_args_and_arch 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 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 format add_symbol Dictionary range enumerate setup_task parse_args ArgumentParser add_args randn sort astype collate_tokens from_numpy index_select int64 append randint range astype float32 from_numpy t_ randint basename format filename currentframe f_lineno _current_postion_info _current_postion_info | tuhinjubcse/SimileGeneration-EMNLP2020 | 3,928 |
twairball/pyTracking | ['multiple object tracking'] | ['Simple Online and Realtime Tracking'] | benchmark/mot.py tracking/base.py tracking/iou.py tracking/sort.py tracking/box_utils.py tracking/linear_assignment_.py save_to_csv get_image_shape tracks_to_mot get_labels get_sequences mot_to_dict get_dets Track Tracker Detection scale_box calc_iou xywh_to_xyxy xyxy_to_xywh clip_box normalize_box MaxScoreTrack IOUTracker _HungarianState _step3 linear_assignment _step5 _step6 _step1 _step4 _hungarian associate_detections_to_tracks convert_bbox_to_z convert_x_to_bbox KalmanTrack SortTracker remove listdir join loadtxt join loadtxt ConfigParser join read minimum maximum shape minimum maximum sort tolist array _HungarianState T step transposed _clear_covers zip unravel_index int argmax astype Z0_r Z0_c path _clear_covers argmax range min float sqrt linear_assignment concatenate reshape calc_iou append zeros empty enumerate | twairball/pyTracking | 3,929 |
twinters/gitta | ['text generation'] | ['Discovering Textual Structures: Generative Grammar Induction using Template Trees'] | gitta/template.py tests/template/test_template_tree_learner.py gitta/wagnerfischer.py gitta/template_tree.py tests/template/test_template_tree.py gitta/slot_values.py tests/template/test_template.py tests/grammar/test_grammar_induction.py gitta/grammar_induction.py gitta/hashabledict.py tests/grammar/test_context_free_grammar.py gitta/slot_name_generator.py tests/template/test_slot_values.py gitta/grammar_exporter.py gitta/template_tree_visualiser.py gitta/template_tree_learner.py gitta/context_free_grammar.py gitta/template_elements.py _chose_matches _tracery_template_parser SlotReplacements ContextFreeGrammar _extract_possible_matches to_tracery to_arrow_notation hashtag_slot_mapper _to_json convert_template triangle_slot_mapper induce_grammar_using_template_trees _name_and_simplify_tree hashabledict alphabetic_slot_name_generator alphabetic_slot_name_iterator _get_slot_templates _remove_values_if_containg_slot_already_maps has_similar_content get_all_pure_slot_templates _absorb_slot_if_similar calculate_empty_string_presence _update_to_most_specific_replacement SlotValues _remove_single_element_slot_templates _filter_out_self _replace_all_replacable_slots _merge_slot_iteration _remove_unnecessary_slot_references _create_slot_index get_indices _contains_slot_as_template _get_all_slots get_slotless_templates convert_template_elements_from_wagner_fischer Template _extract_content_from_slots _add_prefix_to_first _has_ending_slot _select_lowest_variance_slot_assignment _covers TemplateElement NamedTemplateSlot TemplateString SlotAssignment TemplateSlot TemplateTree _to_template_trees _peek _merge_template_trees TemplateLatticeLearner TemplateTreeLearner MergeCandidate _get_distance_of_merged visualise_template_tree_history _merge_templates _to_templates LearnerState create_tree_node_representation render_tree_string render_tree_image WagnerFischer INSERTION SUBSTITUTION DELETION get_tracery_folder ContextFreeGrammarTest GrammarLearning log_tree _shuffled_subset _create_contents _create_large_slotvalues SlotValuesTest _to_templates calculate_merged_string TemplateTest TemplateTreeLearner TemplateTreeLearnerTest int len append dict sort list get_slots_sorted _to_json dumps append _to_json join str learn prune_redundant_abstractions recalculate_templates get_slot_values reduce_depth _name_and_simplify_tree from_slot_values get_template collapse_using_slot_values log_tree get_replacements merge_slots alphabetic_slot_name_iterator get_slot_values name_slots_automatically name_template_slots append calculate_empty_string_presence len union intersection Template append range len update add_replacement has_similar_content list issuperset get_all_pure_slot_templates set add union range len get_replacement add_replacement any difference _get_slot_templates intersection list any intersection _get_all_slots keys add_replacement list _remove_values_if_containg_slot_already_maps _absorb_slot_if_similar SortedSet set add _replace_all_replacable_slots _filter_out_self iter _remove_unnecessary_slot_references next keys range len add_replacement get_unreplaced_slots list items Template add iter next union enumerate is_slot update is_slot all set _covers Template extend get_elements int list argmin append TemplateSlot pop get_number_of_non_slots get_number_of_slots TemplateTree str list sort index get_template append get_children range len RenderTree create_tree_node_representation absolute isinstance PrettyPrinter print render_tree_string _shuffled_subset SlotValues randint _create_contents range list shuffle len merge_templates_wagner_fischer from_string | twinters/gitta | 3,930 |
twisha96/Natural-Language-Processing | ['text classification'] | ['Not All Attention Is Needed: Gated Attention Network for Sequence Data'] | Assignment 3 - Backprop and Self-Attention/code/test_attention.py Assignment 2 - Log Linear and Neural Linear Model/code/plot_results.py Project/Code/control.py Assignment 1 - n_gram models/code/assignment1.py Assignment 3 - Backprop and Self-Attention/code/attention.py Assignment 3 - Backprop and Self-Attention/code/test_model.py Assignment 4 - HMM, PCFG, CRF/codes/crf.py Assignment 4 - HMM, PCFG, CRF/codes/main.py Project/Code/model.py Assignment 4 - HMM, PCFG, CRF/codes/model.py Assignment 3 - Backprop and Self-Attention/code/mylogger.py Assignment 3 - Backprop and Self-Attention/code/data.py Assignment 1 - n_gram models/code/util.py Assignment 4 - HMM, PCFG, CRF/codes/util.py Assignment 3 - Backprop and Self-Attention/code/stacked_rnn.py Assignment 4 - HMM, PCFG, CRF/codes/logger.py Assignment 4 - HMM, PCFG, CRF/codes/test_crf.py Project/Code/data.py Assignment 3 - Backprop and Self-Attention/code/bleu.py Project/Code/main.py Assignment 3 - Backprop and Self-Attention/code/decoder.py Assignment 3 - Backprop and Self-Attention/code/test_decoder.py Assignment 4 - HMM, PCFG, CRF/codes/q1.py Assignment 3 - Backprop and Self-Attention/code/encoder.py Assignment 3 - Backprop and Self-Attention/code/test_control.py Assignment 2 - Log Linear and Neural Linear Model/code/util.py Assignment 3 - Backprop and Self-Attention/code/test_data.py Assignment 2 - Log Linear and Neural Linear Model/code/assignment2_nlm.py Project/Code/submodels.py Assignment 3 - Backprop and Self-Attention/code/test_bleu.py Assignment 2 - Log Linear and Neural Linear Model/code/assignment2.py Assignment 3 - Backprop and Self-Attention/code/main.py Assignment 3 - Backprop and Self-Attention/code/control.py Project/Code/test_model.py Assignment 4 - HMM, PCFG, CRF/codes/q2.py Assignment 3 - Backprop and Self-Attention/code/model.py Assignment 3 - Backprop and Self-Attention/code/test_encoder.py Assignment 4 - HMM, PCFG, CRF/codes/tagging_dataset.py main test_ngram_counts show_ngram_information BigramLanguageModel Tokenizer main FFLM FF get_init_weights cosine_similarity main batchify basic_features2 basic_features1 basic_features1_suffix3 softmax LogLinearLanguageModel extract_features Tokenizer GlobalAttention sequence_mask get_ngram_counts compute_bleu Control Data build_itr Decoder Encoder main make_model_path Seq2Seq Logger StackedLSTM TestGlobalAttention TestBLEU TestControl TestData verbalize_golds verbalize_col print_block TestDecoder TestEncoder TestModel GreedyLoss CRFLoss Logger main meta_main run_tests BiLSTMTagger BiLSTMOverCharacters forward backward outside_algo inside_algo TaggingDataset TestCRF get_init_weights load_vertical_tagged_data get_boundaries clip_gradient loss_fn eval_model train_model load_TREC_data main GANet BackboneNet AuxiliaryNet MLP test_sentence threshold figure_file unk k quiet Tokenizer test_ngram_counts test count_ngrams tokenize int read show_ngram_information print smoothing BigramLanguageModel train train_fraction len split count_ngrams str list format plot print savefig figure legend zip most_common xticks range model basic_features1_suffix3 K LogLinearLanguageModel basic_features2 basic_features1 epochs extract_features format topK_feats load val_fraction tensor contiguous narrow len norm nlayers wdim seed list choices check_interval lr init nhis keys batchify train_epochs FFLM B nearest_neighbors hdim len tuple feature_extractor append range len sum exp amax numel exp get_ngram_counts min float maxsize range len len Counter append max enumerate size min view sort shuffle bidir attn bridge cond makedirs data valid batch_size interval Logger batch_size_valid device log Data argv bptt Control strftime to batch_method shuffle gmtime manual_seed join time load_s2s evaluate print join size range get_init_weights clip str Adam apply do_epoch load_state_dict range state_dict float deepcopy isnan parameters TaggingDataset batches_train items list format deepcopy log_perfs run_tests model print exit OrderedDict nruns Logger save append main float range log data load_state_dict device to TaggingDataset defaultdict range len defaultdict range len defaultdict range len defaultdict range len append append Counter list clamp_ sum cross_entropy len loss_fn model backward clip_gradient step zero_grad Adam cuda is_available label train sum long enumerate len eval vectors vocab splits len LabelField Field build_vocab train_model eval_model load_TREC_data GANet asarray LongTensor model print Variable preprocess eval argmax | twisha96/Natural-Language-Processing | 3,931 |
twistedcubic/que-outlier-detection | ['outlier detection'] | ['Quantum Entropy Scoring for Fast Robust Mean Estimation and Improved Outlier Detection'] | ads.py part_utils.py data.py mean.py words.py utils.py cifar_corruptor.py baselines.py pixel.py get_data dbscan lof ellenv knn_dist_loop l2 dist isolation_forest knn_dist knn_dist_lof get_corrupted_data subsample init get_whitening unpickle load_glove_data write_lines process_glove_data clean_genetics_data load_genetics_data load_lines load_process_glove_data create_noise_dep test_genetics_data compute_tau1_fast train_rme corrupt_random_sample_dep test_ads_data generate_sample compute_acc_with_idx generate_and_score_lamb compute_tau1_tau0 plot_base_lines compute_tau2 get_select_idx test_glove_data_lamb top_dir test_glove_data compute_tau1 compute_tau0 corrupt1d test_vgg_data test_glove_data_lamb_dep corrupt generate_and_score compute_acc test_glove_data2 test_glove_data_dirs generate_and_score_lamb2 compute_m compute_m0 cov test_glove_data_lamb2 train pickle_load load_glove_c_data load_glove_data _l2_dist2 plot_dist_hist mxs2md glove_top_parts_path load_data_dep dist_rank normalize parse_args mx2md load_lines polytope_rank plot_dist_hist_upto read_config polytope_lsh load_sift_data l2_dist pickle_dump load_sift_c_data write_lines _l2_dist1 sift_top_parts_path NestedList normalize_np test_pixel_lamb2 test_pixel_lamb test_pixel_dirs test_pixel2 project_onto get_label_name dominant_eval_k create_dir plot_scatter_flex create_df_ jl_chebyshev plot_acc_syn_lamb inner_mx get_top_evals get_jl_mx stop_word_filter get_bessel pad_to_2power tokenizer plot_acc np_save dist_rank parse_args sketch_and_apply create_df plot_acc_ dominant_eval_cov auc plot_scatter write_lines dominant_eval get_chebyshev_deg hist cov get_hadamard inner read_lines inlier_outlier_hist doc_word_embed_content_noise doc_word_embed doc_word_embed0 doc_sentence_embed doc_word_embed_sen to device append float split mean sum dist_rank scatter_add_ clamp size expand unsqueeze dist_rank gather sum len sqrt topk dist IsolationForest numpy fit numpy EllipticEnvelope fit zeros_like LocalOutlierFactor dist device to numpy fit_predict DBSCAN zeros_like labels_ device to numpy fit sum t mm view concatenate len astype append array range unpickle int subsample ones transpose inv outer TruncatedSVD dot sqrt sqrtm sum fit int concatenate subsample ones transpose copy outer dot randint float sum range len join int loadtxt data_dir astype sum load join to data_dir load to load join exists data_dir join format FloatTensor data_dir device split zeros to enumerate load_lines len append str linesep svd sum print size mm t cov to numpy diag svd sum cov device to numpy int view scatter_add_ size expand device zeros to sum max range int print generate_sample device append zeros to range cat len size randn append size scatter_ expand randn svd print size TruncatedSVD mean cov components_ to numpy n_top_dir fit mean size mm t size view expand list view scatter_add_ ones LongTensor size expand zeros range sum lamb compute_m mean index_select jl_chebyshev mm sum lamb compute_m mean index_select mm top_dir index_select squeeze sum sum index_select device to numpy isolation_forest device visualize_scores svd scatter_add_ ones set_trace compute_tau1_tau0 append to sum knn_dist_lof dbscan format ellenv size mean knn_dist auc print l2 index_select cov hist zeros numpy inlier_outlier_hist time get_select_idx format p print l2_dist dominant_eval_cov clone mean true_mean lamb_multiplier sum get_select_idx lamb fast_jl format print compute_m dominant_eval_cov set_trace mean lamb_multiplier compute_acc mm list n_iter LongTensor tau_method size index_select range res_dir remove_factor interval plot_scatter_flex train_rme device clip str list std p transpose pad_to_2power rme set_trace repr process_glove_data plot_acc append to range sem format lamb n_iter insert high_dim size use_std mean corrupt n enumerate int join fast_jl print write_lines extend lamb_multiplier zeros train feat_dim len str generate_and_score_lamb2 concatenate print set_trace plot_scatter_flex stack append compute_scores_diff res_dir remove_factor interval plot_scatter_flex plot_acc_syn_lamb device clip str list std p transpose pad_to_2power set_trace repr process_glove_data append to range sem n_dir format n_iter insert high_dim size use_std mean corrupt baseline n enumerate join fast_jl print write_lines zeros train compute_scores_diff feat_dim len plot_scatter_flex numpy enumerate format print pad_to_2power set_trace compute_tau1_tau0 parse_args load_genetics_data feat_dim n test_glove_data2 format print range len list format plot_scatter print set_trace append parse_args range test_glove_data2 len str concatenate print set_trace stack plot_scatter_flex append test_glove_data_lamb2 compute_scores_diff interval list std set_trace append range sem format n_dir concatenate use_std mean test_glove_data2 zeros enumerate join int read_lines plot_scatter print reshape randint compute_scores_diff array len plot_scatter_flex list transpose set_trace append range format mean test_glove_data2 enumerate join int plot_scatter print lamb_multiplier zeros read_lines std len isolation_forest unsqueeze device visualize_scores scatter_add_ ones doc_word_embed_content_noise pad_to_2power set_trace expand compute_tau1_tau0 append to knn_dist_lof sum compute_tau2 dbscan format ellenv size mean knn_dist baseline auc print l2 zeros inlier_outlier_hist len isolation_forest get_data unsqueeze device visualize_scores svd pad_to_2power set_trace expand compute_tau1_tau0 append to knn_dist_lof sum range compute_tau2 dbscan format ellenv size cluster mean knn_dist baseline n auc fast_jl print l2 t inlier_outlier_hist cov zeros numpy feat_dim len zeros_like dist scatter_ unsqueeze device pad_to_2power set_trace expand compute_tau1_tau0 append parse_args to sum range cat format size mean stack n print feat_dim len strip split print add_argument ArgumentParser glove glove_c norm norm rvs argmax abs size from_numpy gather mm sum topk view expand eye mm cat join topk format xlabel print l2_dist grid ylabel ylim unsqueeze hist title savefig xlim numpy join topk format set_title print l2_dist mean scatterplot unsqueeze savefig legend DataFrame join format join format int topk ndarray isinstance LongTensor FloatTensor view size min from_numpy t device to range len int ndarray isinstance FloatTensor view size min from_numpy t mm range int view FloatTensor size min t mm range append join extend enumerate append join extend enumerate remove_factor interval plot_scatter_flex device whiten clip list std p transpose pad_to_2power set_trace append to range cat sem format n_iter size use_std mean baseline init zeros n enumerate fast_jl get_corrupted_data print test_pixel2 lamb_multiplier eye randint feat_dim get_whitening len str concatenate test_pixel_lamb2 set_trace stack plot_scatter_flex init append compute_scores_diff remove_factor interval plot_scatter_flex device clip list p transpose pad_to_2power set_trace append to range cat sem n_dir format n_iter size use_std mean baseline enumerate fast_whiten fast_jl get_corrupted_data print test_pixel2 zeros compute_scores_diff std get_whitening len isolation_forest unsqueeze device scatter_add_ ones expand compute_tau1_tau0 append knn_dist_lof to sum compute_tau2 dbscan format ellenv size knn_dist baseline auc print l2 zeros len set_defaults mkdir log get_jl_mx list mm ceil to sum range format LongTensor sketch_and_apply size mean int print t eye fht numpy svd sum get_bessel size set_trace range t get_chebyshev_deg cov numpy eye to mm diag enumerate ones randint get_hadamard diag int format view FloatTensor log sqrt save ger to cuda exists cat int ceil zeros log cat sum randn size mean t sqrt mm range sum randn size t sqrt mm range to range dominant_eval svd cov numpy sum norm_scale res_dir remove_factor round dataset_name set_title p scatterplot savefig format lamb n_iter n_dir create_df set baseline join print noise_norm_div feat_dim norm_scale res_dir remove_factor round DataFrame dataset_name set_title p scatterplot savefig format lamb n_iter n_dir set baseline join print feat_dim join format set_title res_dir print grid set scatterplot savefig text_name DataFrame res_dir grid get_label_name create_dir clf ylabel dir title savefig legend range format errorbar type fast_whiten join fast_jl xlabel print len min expand item append to range join format res_dir xlabel print grid axis ylabel title savefig numpy int join format res_dir xlabel print min get_label_name ylabel axis grid title hist savefig legend numpy max DataFrame append sum array enumerate join set_title create_df concat extend scatterplot savefig append DataFrame enumerate len numpy device svd set_trace to sum cat format size doc_word_embed_f set sqrt mean print extend TruncatedSVD t cov hist mm fit list zeros_like filter_words batch_tokenize extend process_glove_data dict set add device mean zip append to enumerate list zeros_like filter_words len batch_tokenize process_glove_data dict device mean zip append to enumerate compile split list filter_words batch_tokenize process_glove_data dict set add device zip append to list len batch_tokenize extend process_glove_data dict set device zip append to split | twistedcubic/que-outlier-detection | 3,932 |
twke18/Adaptive_Affinity_Fields | ['semantic segmentation'] | ['Adaptive Affinity Fields for Semantic Segmentation'] | pyscripts/train/train_aaf.py pyscripts/train/train.py pyscripts/inference/inference_msc.py pyscripts/train/train_affinity_mgpu.py pyscripts/benchmark/benchmark_by_instance.py pyscripts/inference/inference.py seg_models/image_reader.py network/multigpu/resnet_v1.py utils/metrics.py utils/general.py seg_models/models/fcn.py pyscripts/train/train_affinity.py pyscripts/train/train_aaf_mgpu.py pyscripts/train/train_mgpu.py seg_models/models/deeplab.py seg_models/models/pspnet.py network/multigpu/layers.py network/multigpu/utils.py pyscripts/benchmark/encode_cityscapes_testid.py network/common/layers.py seg_models/models/pspnet_mgpu.py network/common/resnet_v1.py network/aaf/losses.py pyscripts/benchmark/benchmark_by_mIoU.py network/aaf/layers.py ignores_from_label eightcorner_activation eightway_activation edges_from_label affinity_loss adaptive_affinity_loss batch_norm _pool max_pool conv avg_pool atrous_conv resnet_v1_101 resnet_v1 bottleneck batch_norm dropout concat max_pool split conv ReLU avg_pool moments atrous_conv resnet_v1_101 resnet_v1 bottleneck on_each_gpu load main parse_commastr get_arguments load main parse_commastr get_arguments load main get_arguments save load main get_arguments save load main get_arguments save load main get_arguments save load main get_arguments save load main get_arguments save read_images_from_disk ImageReader image_scaling read_labeled_image_list crop_and_pad_image_and_labels image_mirroring _deeplab_builder deeplab_resnet101 _fcn_builder fcn8s_resnet101 pspnet_resnet101 _pspnet_builder pspnet_resnet101 upsample_bilinears avg_pools _pspnet_builder inv_preprocess decode_labels snapshot_arg accuracy iou_stats confusion_matrix as_list pad concat as_list concat pad append range as_list concat greater pad logical_or append range as_list not_equal concat pad append range ignores_from_label constant one_hot reshape squeeze eightcorner_activation logical_and maximum logical_not where edges_from_label clip_by_value gather expand_dims log ignores_from_label constant reshape squeeze eightcorner_activation logical_and maximum logical_not where reduce_sum edges_from_label clip_by_value gather expand_dims log pad pool_fn as_list add_n as_list len int format floor range range len add_argument ArgumentParser print restore format list map split model input_size ignore_label Saver linspace save save_dir argmax Session run colormap list parse_commastr basename num_classes resize_bilinear placeholder shape restore_from ceil expand_dims range get_arguments start_queue_runners replace astype softmax fill ConfigProto zeros local_variables_initializer load join uint8 strides request_stop Coordinator global_variables_initializer loadmat makedirs to_int32 resize to_float resize_images multiply squeeze flip_aug append stack zip flip_left_right len print join makedirs trainable_variables iter_size gradients where set_random_seed weight_decay set_description add_n is_training gather less_equal map scalar_mul apply_gradients resize_nearest_neighbor num_steps format MomentumOptimizer use_global_status group sparse_softmax_cross_entropy_with_logits momentum snapshot_arg random_seed power enumerate time constant learning_rate reshape snapshot_dir tqdm reduce_mean pow add_summary split adaptive_affinity_loss get_variable kld_margin kld_lambda_1 one_hot num_gpu affinity_loss print to_float resize_images to_int32 squeeze stack random_uniform resize_nearest_neighbor expand_dims boolean_mask stack reverse random_uniform less pad_to_bounding_box random_crop resize_image_with_crop_or_pad concat maximum shape cast set_shape append split open image_scaling crop_and_pad_image_and_labels read_file cast decode_png decode_jpeg image_mirroring cnn_fn enumerate cnn_fn cnn_fn len shape range zeros uint8 astype shape zeros range print vars snapshot_dir makedirs logical_and histogram zeros any histogram range | twke18/Adaptive_Affinity_Fields | 3,933 |
twni2016/OrganSegRSTN_PyTorch | ['pancreas segmentation'] | ['Recurrent Saliency Transformation Network: Incorporating Multi-Stage Visual Cues for Small Organ Segmentation', 'A Fixed-Point Model for Pancreas Segmentation in Abdominal CT Scans'] | OrganSegRSTN/model.py OrganSegRSTN/training_parallel.py OrganSegRSTN/coarse2fine_testing.py SWIG_fast_functions/test.py OrganSegRSTN/oracle_fusion.py OrganSegRSTN/training.py OrganSegRSTN/coarse_fusion.py OrganSegRSTN/init.py OrganSegRSTN/fast_functions.py SWIG_fast_functions/setup.py OrganSegRSTN/coarse_testing.py OrganSegRSTN/Data.py OrganSegRSTN/oracle_testing.py OrganSegRSTN/utils.py DATA2NPY/dicom2npy.py DATA2NPY/nii2npy.py DataLayer _swig_repr swig_import_helper _swig_getattr_nondynamic _swig_setattr_nondynamic _swig_getattr post_processing _swig_setattr DSC_computation RSTN DSC_loss get_parameters FCN8s snapshot_name_from_timestamp training_set_filename volume_filename_testing result_name_from_timestamp is_organ testing_set_filename volume_filename_coarse2fine volume_filename_fusion post_processing log_filename DSC_computation in_training_set post_processing DSC_computation find_module load_module get __setattr__ get __repr__ named_modules named_children isinstance print Conv2d ConvTranspose2d max join str str join isfile str join exists zeros sum where shape nonzero zeros sum array range | twni2016/OrganSegRSTN_PyTorch | 3,934 |
twsq/sam-driving | ['semantic segmentation'] | ['SAM: Squeeze-and-Mimic Networks for Conditional Visual Driving Policy Learning'] | carla08/driving_benchmark/experiment_suites/corl_2017.py network/models/building_blocks/__init__.py carla08/image_converter.py configs/namer.py logger/tensorboard_logger.py drive/__init__.py coilutils/checkpoint_schedule.py plotter/plotting_params/eccv_online_offline_plots.py carla08/client.py drive/coil_agent.py plotter/plot_on_map.py carla08/agent/modules/waypointer.py drive/suites/nocrash_training_suite.py coilutils/exporter.py plotter/metrics.py drive/suites/nocrash_new_weather_suite.py network/loss.py carla08/planner/__init__.py carla08/driving_benchmark/driving_benchmark.py carla08/agent/modules/controllers.py logger/monitorer.py drive/suites/nocrash_new_weather_town_suite.py carla08/util.py coil_core/train.py compute_embeddings_main_args.py drive/suites/nocrash_new_town_demo_suite.py coilutils/drive_utils.py carla08/planner/map.py logger/json_formatter.py carla08/driving_benchmark/experiment_suites/basic_experiment_suite.py input/coil_dataset.py carla08/driving_benchmark/experiment_suites/longcontrol_2018.py carla08/agent/modules/utils.py coilutils/attribute_dict.py logger/printer.py coilutils/general.py coiltraine.py coil_core/run_drive.py network/__init__.py carla08/planner/city_track.py tools/download_tools.py plotter/plotter.py carla08/planner/astar.py carla08/planner/converter.py carla08/transform.py carla08/driving_benchmark/results_printer.py plotter/__init__.py drive/suites/nocrash_new_town_suite.py carla08/planner/graph.py drive/suites/corl_new_weather_town_suite.py logger/coil_logger.py coil_core/validate.py network/models/coil_icra.py network/models/building_blocks/conv.py plotter/scatter_plotter.py compute_trafficschool.py carla08/driving_benchmark/experiment_suites/__init__.py network/optimizer.py network/models/__init__.py configs/__init__.py carla08/settings.py carla08/agent/forward_agent.py drive/suites/nocrash_new_weather_demo_suite.py carla08/driving_benchmark/metrics.py drive/suites/corl_new_weather_suite.py coilutils/experiment_schedule.py coilutils/checking.py logger/carla_metrics_parser.py plotter/plotting_params/plotting_all_cameras.py coilutils/__init__.py carla08/agent/command_follower.py carla08/agent/lane_follower.py carla08/agent/human_agent.py drive/suites/nocrash_training_demo_suite.py drive/suites/nocrash_new_weather_town_demo_suite.py plotter/plotting_params/sample_plot.py network/models/building_blocks/resnet.py input/data_parser.py carla08/agent/__init__.py input/augmenter.py coil_core/__init__.py carla08/driving_benchmark/__init__.py tools/download_pretrained_models.py plotter/data_reading.py input/scheduler.py carla08/agent/modules/__init__.py input/__init__.py carla08/agent/modules/obstacle_avoidance.py carla08/sensor.py carla08/driving_benchmark/experiment.py coil_core/executer.py network/models/building_blocks/join.py carla08/planner/grid.py configs/coil_global.py drive/suites/corl_new_town_suite.py carla08/tcp.py carla08/planner/planner.py network/models/building_blocks/branching.py carla08/agent/agent.py carla08/planner/bezier.py carla08/driving_benchmark/experiment_suites/experiment_suite.py logger/__init__.py network/coil_model.py network/loss_functional.py drive/suites/corl_training_suite.py carla08/carla_server_pb2.py carla08/driving_benchmark/recording.py coil_core/compute_embeddings.py input/coil_sampler.py input/splitter.py network/models/building_blocks/fc.py resave_rep_datasets make_carla_client _make_sensor_parsers CarlaClient labels_to_cityscapes_palette to_bgra_array depth_to_array depth_to_logarithmic_grayscale depth_to_local_point_cloud to_rgb_array labels_to_array Image Lidar SensorData Camera LidarMeasurement _append_extension Sensor PointCloud CarlaSettings TCPConnectionError TCPClient Transform make_connection print_over_same_line to_hex_str StopWatch Agent CommandFollower ForwardAgent HumanAgent LaneFollower Controller ObstacleAvoidance get_vec_dist get_angle sldist Waypointer angle_between sldist get_vec_dist DrivingBenchmark run_driving_benchmark Experiment Metrics Recording print_summary BasicExperimentSuite CoRL2017 ExperimentSuite LongitudinalControl2018 AStar Cell bezier_curve bernstein_poly CityTrack Converter string_to_floats sldist Graph sldist3 string_to_node Grid angle_between CarlaMap color_to_angle sldist angle_between Planner signal compare AttributeDict _is_tensor_image do_assert is_callable _is_numpy_image is_single_number is_hdf5_prepared check_loss_validation_stopped is_ready_to_save is_next_checkpoint_ready maximun_checkpoint_reach is_open get_next_checkpoint validation_stale_point get_latest_saved_checkpoint get_latest_evaluated_checkpoint checkpoint_parse_configuration_file get_gpu_resources get_remainig_exps execvec_to_names allocate_gpu_resources mount_experiment_heap dict_to_namevec export_csv_separate export_csv export_status erase_logs erase_wrong_plotting_summaries plot_test_image alphanum_key camelcase_to_snakecase write_data_point_control_summary compute_average_std command_number_to_index static_vars compute_average_std_separatetasks create_exp_path create_log_folder write_header_control_summary get_validation_datasets erase_validations get_latest_path snakecase_to_camelcase softmax unique tryint send_email get_driving_environments sort_nicely execute execute_validation folder_execute execute_drive execute_train execute driving_benchmark start_carla_simulator find_free_port execute execute write_regular_output get_names merge_with_yaml _merge_a_into_b _decode_cfg_value set_type_of_process _check_and_coerce_cfg_value_type generate_name parse_split_configuration get_dropout_sum CoILAgent CorlNewTown CorlNewWeather CorlNewWeatherTown CorlTraining NocrashNewTownDemo NocrashNewTown NocrashNewWeatherDemo NocrashNewWeather NocrashNewWeatherTownDemo NocrashNewWeatherTown NocrashTrainingDemo NocrashTraining Augmenter get_episode_weather parse_remove_configuration CoILDataset PreSplittedSampler LogitSplittedSampler RandomSampler get_rank SubsetSampler BatchSequenceSampler forward_speed get_speed orientation_vector check_available_measurements soft hard_harder medium soft_harder high medium_harder remove_traffic_lights get_boost_pedestrian_vehicle_traffic_lights partition_keys_by_percentiles label_split remove_angle order_sequence parse_split_configuration remove_angle_traffic_lights split_lateral_noise_longitudinal_noise split_brake split_pedestrian_vehicle_traffic_lights_move split_speed_module_throttle convert_measurements split_left_central_right select_balancing_strategy split_sequence float_split split_speed_module get_inverse_freq_weights remove_angles select_data_sequence split_pedestrian_vehicle_traffic_lights get_averaged_metrics erase_csv write_on_error_csv add_message add_image recover_loss_window close check_finish write_on_csv create_log write_stop add_scalar logger closeFileLogger readJSONlog streamlogger JSONFormatter filelogger get_episode_number get_status get_latest_checkpoint get_number_episodes_completed get_latest_checkpoint_drive get_error_summary get_summary get_latest_checkpoint_validation get_latest_output print_validation_summary print_train_summary plot_folder_summaries print_drive_summary print_folder_process_names Logger CoILModel branched_loss l1 l2 Loss l1_attention compute_branches_masks weight_decay_l1 weight_decay_l2 l1_loss normalize l2_loss adjust_learning_rate_auto adjust_learning_rate CoILICRA Branching Conv FC Join ResNet resnet50 Bottleneck resnet152 conv3x3 resnet34 resnet18 BasicBlock resnet101 read_control_csv get_speed_ground_truth get_camera_labels _read_data read_summary_csv get_ground_truth augment_steering _read_step_data _read_control_data read_summary_tasks_csv compute_steering_error compute_displacement compute_steering_error_filter_gt compute_id compute_steering_avg_l1 compute_km_per_infraction compute_control_accuracy compute_steering_accuracy compute_count_errors_weighted compute_steering_avg_mse_filter_gt compute_step compute_and_aggregate compute_correlation compute_steering_classification_error compute_count_cumulative_displacement compute_experiment compute_control_average_completion aggregate_metric compute_control_success_rate compute_relative_error_smoothed compute_steering_accuracy_filter_gt compute_steering_avg_l1_speed compute_steering_avg_mse compute_cumulative_displacement compute_displacement_steer compute_count_errors_weighted_speed filter_data read_data plot_scatter process_data compute_metric sldist split_episodes plot_test_image get_causes_of_end plot_on_map plot_point plot_episodes_tracks plot plot_analysis compute_lims download_file_from_google_drive save_response_content get_confirm_token load asarray tolist save error type SensorDefinition reshape frombuffer raw_data to_bgra_array zeros list labels_to_array items dot astype float32 to_bgra_array depth_to_array ones log shape clip tan height depth_to_array reshape inv identity pi where delete dot width fov array connect client_type columns write max flush len sqrt array atan2 items list print zip zeros range len dot array linspace len split split File close sleep exists stat st_size join EXPERIMENT_BATCH_NAME EXPERIMENT_NAME sort_nicely listdir join EXPERIMENT_BATCH_NAME EXPERIMENT_NAME get_latest_evaluated_checkpoint exists print get_latest_evaluated_checkpoint index join EXPERIMENT_NAME EXPERIMENT_BATCH_NAME exists join EXPERIMENT_NAME EXPERIMENT_BATCH_NAME exists append append items list append dict_to_namevec heappush execvec_to_names dict_to_namevec join isdir print read_summary_csv listdir update join argmax isdir print read_summary_csv append listdir join listdir exp max set sort sub upper join list split fromarray save join mkdir join mkdir join isdir add set listdir join isdir add set listdir join remove listdir isdir update join remove print loadtxt listdir len print join remove listdir glob join sort_nicely SMTP sendmail MIMEText as_string quit update items list print zip zeros sum range len join print close write open join print close write open update items list print zip zeros sum range len FINISH_ON_VALIDATION_STALE DataLoader save cuda str CoILDataset is_next_checkpoint_ready tolist get_intermediate_representations MODEL_CONFIGURATION CoILModel load_state_dict sleep Augmenter cat get_next_checkpoint eval validation_stale_point MODEL_TYPE TEST_SCHEDULE load join print merge_with_yaml immutable cpu start Process create_exp_path start Process create_exp_path update Process start create_exp_path update join get_gpu_resources execute_drive execute_train print execute_validation mount_experiment_heap heappop allocate_gpu_resources plot_folder_summaries sleep append listdir add_message communicate print find_free_port Popen add_message weathers start_carla_simulator write_data_point_control_summary plot_episodes_tracks str compute_average_std_separatetasks call PROCESS_NAME range get_latest_path CoILAgent run_driving_benchmark load join kill print build_experiments len USE_ORACLE experiment_suite_module add_message camelcase_to_snakecase open list len __import__ getpid getattr write_header_control_summary get_latest_evaluated_checkpoint PROCESS_NAME range mkdir unique items driving_benchmark build_experiments set_type_of_process split data model zero_grad Loss AUGMENTATION PRELOAD_MODEL_CHECKPOINT abs seed extract_representations USE_PERCEPTION_REP_LOSS extract_targets recover_loss_window squeeze MAGICAL_SEED Adam check_finish SPEED_REP_WEIGHT USE_SPEED_REP_LOSS USE_INTENTION_REP_LOSS PRELOAD_MODEL_BATCH extract_branch append sum adjust_learning_rate_auto select_balancing_strategy INTENTIONS_REP_WEIGHT PRELOAD_MODEL_ALIAS stack manual_seed TRAIN_DATASET_NAMES USE_REPRESENTATION_LOSS add_image time is_ready_to_save write_on_error_csv criterion backward LOSS_FUNCTION REP_LOSS_WEIGHT parameters PERCEPTION_REP_WEIGHT randint get_latest_saved_checkpoint step add_scalar write_on_csv range len split generate_name _merge_a_into_b update join merge_with_yaml immutable listdir join add_message LOG_SCALAR_WRITING_FREQUENCY EXPERIMENT_BATCH_NAME immutable LOG_IMAGE_WRITING_FREQUENCY EXPERIMENT_NAME create_log mkdir PROCESS_NAME deepcopy list items _decode_cfg_value _check_and_coerce_cfg_value_type literal_eval str list ndarray isinstance tuple eval type array print list keys OrderedDict SPLIT USE_FULL_ORACLE USE_NOISE_DATA parse_split_configuration print list keys OrderedDict print len array deg2rad dot array orientation_vector update join list glob keys float Sequential float Sequential float Sequential float Sequential Sequential float min float Sequential append sum len append add_message range len append SEQUENCE_STRIDE range NUMBER_IMAGES_SEQUENCE int list isinstance set select_data_sequence append range len order_sequence partition_keys_by_percentiles convert_measurements print range append len items list fromkeys array append keys convert_measurements convert_measurements convert_measurements convert_measurements convert_measurements convert_measurements convert_measurements print append len PreSplittedSampler list BATCH_SIZE parse_split_configuration get_inverse_freq_weights SPLIT NUMBER_IMAGES_SEQUENCE RandomSampler splitter_function measurements set DataLoader getattr intersection array range len items list print zip append zeros range len join filelogger Logger isfile join closeFileLogger info join join str join str join join remove str join str scalar_summary print transpose image_summary shape append get_cmap numpy range setFormatter getLogger addHandler JSONFormatter setLevel FileHandler getLogger close copy removeHandler flush StreamHandler append filterfunction loads read_summary_csv join read_summary_csv join range len range len join list sorted EXPERIMENT_BATCH_NAME set difference EXPERIMENT_NAME sort_nicely listdir PROCESS_NAME join readline print EXPERIMENT_BATCH_NAME loadtxt close EXPERIMENT_NAME split expand_dims PROCESS_NAME open readJSONlog join open print print join time get_episode_number print exists USE_ORACLE print_train_summary get_names print_drive_summary print_validation_summary str sorted list append range get_latest_path get_status listdir join print system immutable merge_with_yaml len join print merge_with_yaml immutable sort_nicely listdir EXPERIMENT_GENERATED_NAME compute_branches_masks update loss_function range sum requires_grad min add parameters float abs requires_grad min add parameters float sum append cuda cat append range len append abs range len LEARNING_RATE_DECAY_INTERVAL print param_groups LEARNING_RATE LEARNING_RATE_DECAY_LEVEL max LEARNING_RATE_THRESHOLD print param_groups count_steps_without_decrease_robust LEARNING_RATE LEARNING_RATE_DECAY_LEVEL max count_steps_without_decrease update ResNet load_url load_state_dict state_dict update ResNet load_url load_state_dict state_dict update ResNet load_url load_state_dict state_dict update ResNet load_url load_state_dict state_dict load_url ResNet load_state_dict radians fabs min atan max update readline loadtxt close open expand_dims split update readline print loadtxt len close set open expand_dims range append split update readline loadtxt close open expand_dims split update join loadtxt update join loadtxt update join loadtxt update loadtxt get_ground_truth join read_control_csv update int join str sorted items OrderedDict range len items list aggregate_metric metric_func append percentile ones mean isscalar nan float sum array len append items float list print sum array abs array digitize float array astype digitize float array astype digitize float array astype abs array fabs set_printoptions append sum range len sum multiply isnan float abs len abs multiply absolute isnan sqrt float sum len append sum range len print join _read_control_data _read_data items list get_camera_labels print where OrderedDict getattr metric_func compute_and_aggregate list items filter_data compute_metric update join list items read_data plot plot_analysis print debug get_names strftime rmtree gmtime process_data makedirs astype plot_square range pop readline print loadtxt len close open range append split readline concatenate print loadtxt len close where open zeros split load join split_episodes str asarray plot_test_image print astype get_causes_of_end convert_to_pixel plot_on_map rescale mkdir open CarlaMap append makedirs min max std set_cmap subplots set_yticklabels reduce list sorted set_xlabel title scatter savefig hash legend sum plot set_xticklabels set_xlim ScalarMappable Normalize get_cmap keys items print rc locator_params set_ylabel to_rgba array set_ylim len set_cmap subplots set_yticklabels reduce list set_xlabel title scatter savefig sum set_xticklabels set_xlim compute_lims items print rc locator_params argsort set_ylabel array set_ylim get get_confirm_token save_response_content Session items list startswith | twsq/sam-driving | 3,935 |
tylersco/expectation-backpropagation | ['text classification'] | ['Expectation Backpropagation: Parameter-Free Training of Multilayer Neural Networks with Continuous or Discrete Weights'] | results_stats.py bp.py read_mnist.py ebp_binary.py main.py ClassicBackpropagation ExpectationBackpropagationNetworkBinary main MNIST seed MNIST list print set_random_seed get_data ExpectationBackpropagationNetworkBinary ClassicBackpropagation sample train range append | tylersco/expectation-backpropagation | 3,936 |
typilus/typilus | ['one shot learning'] | ['Typilus: Neural Type Hints'] | src/data_preparation/scripts/graph_generator/typeparsing/inheritancerewrite.py src/data_preparation/scripts/graph_generator/typeparsing/__init__.py src/data_preparation/scripts/graph_generator/type_lattice_generator.py src/typilus/model/sequence2annotation.py src/typilus/model/components/sparsegnn.py src/data_preparation/scripts/graph_generator/dataflowpass.py src/typilus/utils/scripts/compute_per_kind_stats.py src/data_preparation/scripts/utils/compute_stats.py src/typilus/utils/test.py src/typilus/model/model_restore_helper.py src/data_preparation/scripts/graph_generator/typeparsing/rewriterules/__init__.py src/typilus/model/components/multiheadattention.py src/data_preparation/scripts/graph_generator/typeparsing/rewriterules/rewriterule.py exp/type_check/custom_exceptions.py exp/type_check/logparser.py src/data_preparation/scripts/graph_generator/typeparsing/pruneannotations.py exp/type_check/annotater.py src/typilus/model/typeclassificationmodel.py src/data_preparation/scripts/graph_generator/typeparsing/erasure.py src/data_preparation/scripts/graph_generator/typeparsing/rewriterules/removeunionwithanys.py src/typilus/utils/predict.py src/typilus/model/components/component.py src/typilus/model/path2hybridmetric.py src/typilus/utils/index.py src/data_preparation/scripts/utils/uniq_lines.py src/data_preparation/scripts/graph_generator/typeparsing/rewriterules/removegenericwithany.py src/data_preparation/scripts/graph_generator/typeparsing/rewriterules/removestandalones.py src/data_preparation/scripts/graph_generator/plot_histogram.py src/typilus/model/graph2metric.py src/typilus/utils/scripts/filtervistsv.py src/typilus/utils/exportreps.py exp/type_check/typelattice.py src/typilus/model/graph2hybridmetric.py src/typilus/utils/train.py src/typilus/utils/scripts/compute_rare_common_stats.py src/typilus/model/codegraphmodel.py src/typilus/model/sequence2hybridmetric.py src/typilus/model/components/tokenembedder.py src/typilus/utils/scripts/mostconfidenterrors.py src/typilus/model/path2metric.py src/data_preparation/scripts/graph_generator/typeparsing/nodes.py src/typilus/model/pathbasedmodel.py src/data_preparation/scripts/graph_generator/typeparsing/rewriterules/removerecursivegenerics.py src/typilus/utils/scripts/plotprcurve.py src/typilus/model/graph2annotation.py exp/type_check/tcmanager.py exp/type_check/utils.py src/data_preparation/scripts/graph_generator/extract_graphs.py exp/type_check/metadata/typing_types_extractor.py src/typilus/utils/tensorise.py src/data_preparation/scripts/utils/nestingstats.py src/data_preparation/scripts/graph_generator/graphgenutils.py src/typilus/model/typelattice.py exp/type_check/metadata/errcode_extractor.py src/typilus/model/sequence2metric.py exp/type_check/run_exp.py src/typilus/model/path2annotation.py exp/type_check/plotprcurve.py src/data_preparation/scripts/utils/split.py src/typilus/model/typemetriclearningmodel.py src/data_preparation/scripts/graph_generator/typeparsing/aliasreplacement.py src/data_preparation/scripts/graph_generator/typeparsing/visitor.py src/data_preparation/scripts/graph_generator/typeparsing/rewriterulevisitor.py src/typilus/model/utils.py src/data_preparation/scripts/graph_generator/graphgenerator.py src/typilus/model/samplingiter.py src/typilus/model/model.py Annotater AnnotationKind FailToTypeCheck CheckerConfigError FileNonExisting CustomError OutputParseError CustomWarning Py3Incompatible CheckerCrash TypeCheckingTooLong calc_stats parse_tc_log main parse_args cor_ratio get_valid_paths MetricForPrecRec get_metric run get_py_paths prepare_iters process_args type_check main parse_args config_logger prepare_valid_pypaths PyrightManager TCManager PytypeManager MypyManager TypeLattice ordinal rreplace main main main explore_files build_graph Monitoring EdgeType SymbolInformation StrSymbol TokenNode TypeLatticeGenerator SubscriptAnnotationNode parse_type_comment FaultyAnnotation NameConstantAnnotationNode UnknownAnnotationNode ElipsisAnnotationNode _parse_string_annotation TypeAnnotationNode TupleAnnotationNode NameAnnotationNode IndexAnnotationNode _parse_recursive parse_type_annotation_node ListAnnotationNode AttributeAnnotationNode TypeAnnotationVisitor RemoveGenericWithAnys RemoveStandAlones RewriteRule run_stats run get_nesting NestingCounter get_fold CodeGraphModel Graph2Annotation Graph2HybridMetric Graph2Metric write_to_minibatch Model get_data_files_from_directory read_data_chunks restore get_model_class_from_name Path2Annotation Path2Metric sampling_iter Sequence2Annotation Sequence2HybridMetric Sequence2Metric TypeLattice ignore_type_annotation partition_files_by_size run_jobs_in_parallel predictable_shuffle Component embedding_lookup reshape_from_matrix dropout assert_rank layer_norm_and_dropout get_shape_list gelu attention_layer layer_norm embedding_postprocessor transformer_model create_attention_mask_from_input_mask create_initializer reshape_to_matrix SparseGGNN TokenEmbedder assert_valid_str run_export run run_indexing run run_predict ignore_annotation run run TypePredictionEvaluator run_test run run_train make_run_id run compute run run_export run run MetricForPrecRec run join dirname isfile append enumerate int list search group literal_eval load_jsonl_gz append float predpath enumerate len join parse_tc_log print len dirname abspath cor_ratio round makedirs basename add_argument group logpath match ArgumentParser parse_args add MetricForPrecRec read_as_json create plot xlabel grid add_subplot ylabel tight_layout ylim savefig figure legend xlim get_metric join ppath corpuspath dirname abspath join basicConfig makedirs StreamHandler dirname abspath DEBUG setLevel INFO FileHandler tc TCManager info timeout config_logger endswith walk isdir list map from_iterable set ipaths Annotater heavy_assess debug granularity ppath prepare_iters tc TCManager annotate info timeout config_logger enumerate len prep process_args type_check prepare_valid_pypaths getLogger rsplit int get join hasattr text errcode_pat url search group set add BeautifulSoup dirname abspath find_all print isupper AstGraphGenerator print join iglob build_graph TypeLatticeGenerator Monitoring explore_files save_jsonl_gz clock auto parse_type_annotation_node parse s Str isinstance Tuple Name List Ellipsis NameConstant Num Subscript Attribute Index _parse_recursive parse_type_comment isinstance parse parse_type_annotation_node parse_type_annotation_node update chain Counter run_stats parse_type_comment int hexdigest getLogger get_filtered_files_in_dir as_list empty array list shuffle NamedTuple lower update make_model model_class read_by_file_suffix get_model_class_from_name list islice randrange iter enumerate startswith append get_size predictable_shuffle get join finished_callback cpu_count put received_result_callback start Queue len layer_norm dropout one_hot reshape get_shape_list matmul expand_dims get_variable as_list one_hot slice reshape get_shape_list len layer_norm_and_dropout extend matmul append range get_variable ones reshape get_shape_list float32 cast dense dropout multiply get_shape_list reshape transpose float32 matmul transpose_for_scores expand_dims sqrt cast softmax float reshape_to_matrix sqrt erf int get_shape_list append reshape_from_matrix range reshape_to_matrix as_list assert_rank name shape append enumerate reshape ndims get_shape_list name integer_types ndims isinstance compile strip export_representations restore get_filtered_files_in_dir makedirs get run_export restore create_index get_filtered_files_in_dir save run_indexing join restore save_as_compressed_file get_filtered_files_in_dir predictions run_predict update basename get_default_hyperparameters model_class load_existing_metadata make_model load_metadata make_as_dir tensorise_data_in_dir add loads append get_model_class_from_name TypePredictionEvaluator join restore metrics print ignore_type_annotation original_annotation get_filtered_files_in_dir predicted_annotation_logprob_dist add_sample dumps annotate max run_test join restore model_class load_existing_metadata make_model create get_filtered_files_in_dir model_save_path train exists train_log get make_run_id git_tag_run makedirs TypeLattice defaultdict read_as_jsonl intersect print ignore_type_annotation id_of are_same_type compute save_as_compressed_file nlargest errorenous_predictions TypeLattice ignore_type_annotation MetricForPrecRec read_as_jsonl intersect print id_of are_same_type | typilus/typilus | 3,937 |
tzuhsial/ImageEditingWithDialogue | ['semantic segmentation'] | ['Adjusting Image Attributes of Localized Regions with Low-level Dialogue'] | imadial-system/visualize.py imadial-nlu/run.py imadial-system/imadial/util/io.py imadial-system/imadial/policy/__init__.py imadial-system/imadial/visionengine/visionengine.py imadial-system/imadial/interface.py imadial-system/imadial/policy/policy.py imadial-system/imadial/state/__init__.py imadial-system/imadial/manager/__init__.py imadial-system/imadial/imageeditengine/imageeditengine.py imadial-system/imadial/nlu/__init__.py imadial-system/imadial/imageeditengine/__init__.py imadial-system/imadial/util/__init__.py imadial-system/imadial/core.py imadial-system/imadial/imageeditengine/adjust.py imadial-system/imadial/visionengine/__init__.py imadial-system/imadial/__init__.py imadial-nlu/model.py imadial-system/serve.py imadial-system/imadial/manager/manager.py imadial-system/imadial/state/validator.py imadial-system/imadial/util/message.py imadial-system/imadial/state/ontology.py imadial-system/imadial/nlu/nlu.py imadial-system/imadial/state/node.py imadial-system/imadial/util/session.py imadial-nlu/util.py imadial-system/imadial/state/state.py IOBTagger evaluate serve make_vocab main train parse_args read_tag_file __endOfChunk batch_iter input_transpose VocabEntry load_from_pickle __splitTagType __startOfChunk Vocab computeF1Score parse_row survey get_random_image_id serve index get_image_path init generate_session_id parse_args step load_from_pickle load_from_json create_dialogue_figure split_string_by_length main parse_args SystemAct SysIntent UserAct ImageEditRealUserInterface adjust_brightness_contrast adjust_saturation adjust_hue adjust_hsv_decorator adjust_lightness adjust ImageEditEnginePortal SimpleImageEditEngine apply_polygon random_colors ManagerPortal DialogueManager NLIETagger NLUPortal EditmeTagger builder BasePolicy build_sys_act RulePolicy ActionMapper builder ObjectMaskStrNode PSToolNode PSInfoNode IntentBeliefNode builder BeliefNode IntentNode PSBinaryInfoNode OntologyEngine OntologyPortal State BaseValidator StringValidator URIValidator IntegerValidator PathValidator B64ImgStrValidator BooleanValidator ProbabilityValidator builder load_from_jsonlines imwrite load_from_pickle load_from_json save_to_jsonlines save_to_pickle imread save_to_json img_to_b64 sort_slots_with_key b64_to_img build_slot_dict slots_to_args slot_to_observation find_slot_with_key SessionManager PickleManager VisionEnginePortal MAttNetClient builder add_argument add_parser ArgumentParser add_subparsers evaluate serve make_vocab parse_args train read_tag_file print size cut_off tag Vocab out batch_iter load_from_pickle batch_size model zero_grad SGD save list len work_dir sum range vocab format patience momentum init_weights lr zip num_epochs join backward print IOBTagger parameters step makedirs load join list all append print filter_category tqdm mean work_dir zip computeF1Score predict len load join print debug port work_dir Flask run append strip split list shuffle zip ceil range len append max range len split __splitTagType zip str UUID join rstrip listdir choice get ImageEditRealUserInterface get_random_image_id print add_image_id add_turn create_session reset get_image_path generate_session_id to_json abort open get get_image ImageEditRealUserInterface from_json img_to_b64 print retrieve reset get get_image ImageEditRealUserInterface from_json act print img_to_b64 retrieve add_turn get_max_value reset observe to_json get add_survey loads print config PickleManager load_from_json VisionEnginePortal session_dir punctuation enumerate int join format yticks xlabel print add_subplot imshow title savefig figure xticks range len get_image config join format get ImageEditRealUserInterface load_from_pickle act session_pickle load_from_json output_png reset create_dialogue_figure observe append enumerate open adjust_brightness_contrast adjust_hue adjust_saturation adjust_lightness int16 uint8 clip add add add list enumerate polylines astype copy int32 zeros find_contours fliplr size load_from_json to_list State DialogueManager ActionMapper len build_slot_dict load_from_json OntologyEngine cvtColor COLOR_BGR2RGB COLOR_RGB2BGR cvtColor COLOR_RGB2BGR decode imencode cvtColor uint8 b64decode COLOR_BGR2RGB IMREAD_COLOR imdecode frombuffer cvtColor enumerate get pop deepcopy | tzuhsial/ImageEditingWithDialogue | 3,938 |
tzxb018/lw-eg-monodepth | ['depth estimation', 'monocular depth estimation'] | ['Edge-Guided Occlusion Fading Reduction for a Light-Weighted Self-Supervised Monocular Depth Estimation'] | monodepth_dataloader.py average_gradients.py utils/evaluation_utils.py utils/evaluate_kitti.py monodepth_main.py monodepth_simple.py bilinear_sampler.py monodepth_model.py utils/npy2image.py average_gradients bilinear_sampler_1d_h string_length_tf MonodepthDataloader count_text_lines test post_process_disparity main train MonodepthModel post_process_disparity main test_simple sub2ind lin_interp convert_disps_to_depths_kitti read_calib_file generate_depth_map compute_errors read_file_data read_text_lines load_gt_disp_kitti load_velodyne_points get_focal_length_baseline concat reduce_mean zip append expand_dims shape linspace meshgrid fliplr clip readlines close open checkpoint_path filenames_file Saver MonodepthDataloader save dataset round Session run restore log_directory MonodepthModel dirname sum range start_queue_runners format latest_checkpoint right_image_batch ConfigProto zeros local_variables_initializer time print count_text_lines data_path Coordinator output_directory model_name global_variables_initializer left_image_batch mode test train monodepth_parameters Saver save Session run restore placeholder MonodepthModel image_path shape dirname imread imsave start_queue_runners format imresize astype stack ConfigProto local_variables_initializer join print float32 Coordinator disp_est_ppp global_variables_initializer test_simple maximum mean sqrt abs log astype float32 zfill append imread range shape resize append range len readlines close open format print int32 isfile append split reshape T arange LinearNDInterpolator reshape meshgrid set reshape read_calib_file int T sub2ind lin_interp read_calib_file reshape hstack min dot shape vstack round eye zeros load_velodyne_points | tzxb018/lw-eg-monodepth | 3,939 |
uber-research/UPSNet | ['panoptic segmentation', 'instance segmentation', 'semantic segmentation'] | ['UPSNet: A Unified Panoptic Segmentation Network'] | upsnet/dataset/base_dataset.py upsnet/bbox/bbox_regression.py upsnet/dataset/cityscapes.py lib/utils/data_parallel.py upsnet/operators/modules/mask_matching.py upsnet/operators/build_mod_deform_conv.py upsnet/operators/modules/proposal_mask_target.py upsnet/upsnet_end2end_test.py upsnet/mask/mask_transform.py upsnet/dataset/json_dataset.py upsnet/rpn/generate_anchors.py lib/utils/logging.py upsnet/operators/_ext/deformable_roi_pooling/__init__.py upsnet/operators/modules/roialign.py upsnet/operators/modules/mod_deform_conv.py upsnet/operators/modules/mask_removal.py upsnet/operators/modules/pyramid_proposal.py upsnet/dataset/__init__.py lib/utils/colormap.py upsnet/config/config.py lib/nn/optimizer.py upsnet/operators/modules/unary_logits.py upsnet/config/parse_args.py upsnet/nms/py_cpu_nms.py upsnet/bbox/setup.py init_coco.py upsnet/models/__init__.py lib/utils/metric.py upsnet/rpn/assign_anchor.py upsnet/nms/setup.py upsnet/bbox/sample_rois.py upsnet/operators/modules/mask_roi.py upsnet/bbox/bbox_transform.py upsnet/operators/functions/deform_conv.py upsnet/nms/nms.py upsnet/models/fpn.py upsnet/operators/functions/pyramid_proposal.py upsnet/operators/modules/fpn_roi_pooling.py upsnet/dataset/coco.py upsnet/dataset/imdb.py upsnet/operators/functions/proposal_target.py lib/utils/timer.py upsnet/operators/modules/view.py upsnet/operators/functions/roialign.py upsnet/operators/build_roialign.py upsnet/operators/modules/deform_conv.py upsnet/operators/functions/proposal_mask_target.py upsnet/operators/modules/fpn_roi_align.py upsnet/operators/_ext/deformable_convolution/__init__.py lib/utils/callback.py upsnet/dataset/ade20k.py upsnet/models/resnet_upsnet.py upsnet/models/rcnn.py upsnet/models/rpn.py upsnet/operators/_ext/roi_pooling/__init__.py upsnet/operators/build_deform_conv.py upsnet/models/resnet.py upsnet/operators/modules/proposal_target.py upsnet/operators/_ext/segment_reduction/__init__.py upsnet/upsnet_end2end_train.py upsnet/rpn/setup.py upsnet/models/fcn.py upsnet/operators/functions/mod_deform_conv.py clip_grad Adam SGD Speedometer colormap DataParallel _check_balance create_logger IoUMetric AvgMetric AccWithIgnoreMetric EvalMetric timeit Timer im_post upsnet_test im_detect lr_poly upsnet_train adjust_learning_rate lr_factor get_step_index add_bbox_regression_targets compute_bbox_mask_targets_and_label expand_bbox_regression_targets compute_bbox_regression_targets compute_mask_and_label expand_boxes iou_transform clip_xyxy_to_image nonlinear_transform aspect_ratio flip_boxes filter_boxes unique_boxes nonlinear_pred xywh_to_xyxy soft_nms clip_boxes bbox_transform clip_tiled_boxes xyxy_to_xywh bbox_overlaps_py bbox_transform_inv clip_boxes_to_image iou_pred bbox_overlaps _compute_targets sample_rois _expand_bbox_targets compute_mask_and_label compute_assign_targets customize_compiler_for_nvcc custom_build_ext update_config parse_args ade20k PQStat BaseDataset PQStatCat Cityscapes coco imdb add_bbox_regression_targets extend_with_flipped_entries _compute_targets _merge_proposal_boxes_into_roidb _add_class_assignments _sort_proposals filter_for_training _filter_crowd_proposals JsonDataset add_proposals add_mask_rcnn_blobs mask_overlap mask_to_bbox _expand_to_class_specific_mask_targets polys_to_mask flip_segms intersect_box_mask get_gt_masks polys_to_boxes mask_aggregation polys_to_mask_wrt_box FCNSubNet FCNHead CrossEntropyLoss2d FPN MaskRCNNLoss RCNNLoss RCNN MaskBranch resnet_rcnn DCNBottleneck Bottleneck res_block ResNetBackbone get_params conv1 resnet_101_upsnet resnet_upsnet resnet_50_upsnet RPN RPNLoss py_nms cpu_nms_wrapper py_nms_wrapper py_soft_nms_wrapper gpu_nms_wrapper py_cpu_nms find_in_path customize_compiler_for_nvcc custom_build_ext locate_cuda _create_module_dir _create_module_dir _create_module_dir DeformConvFunction ModDeformConvFunction ProposalMaskTargetFunction ProposalTargetFunction PyramidProposalFunction RoIAlignFunction DeformConv DeformConvWithOffset FPNRoIAlign FPNRoIPool MaskMatching PanopticGTGenerate MaskRemoval MaskROI ModDeformConvWithOffsetMask ModDeformConv ProposalMaskTarget ProposalTarget PyramidProposal RoIAlign MaskTerm SegTerm View _import_symbols _import_symbols _import_symbols _import_symbols add_rpn_blobs _get_rpn_blobs assign_anchor assign_pyramid_anchor generate_anchors _scale_enum get_field_of_anchors _whctrs unmap compute_targets _ratio_enum _generate_anchors _mkanchors find_in_path customize_compiler_for_nvcc custom_build_ext locate_cuda list clamp_ reshape astype float32 warn_imbalance join basicConfig format setFormatter getLogger addHandler strftime StreamHandler Formatter setLevel INFO makedirs has_mask_head has_fcn_head append has_panoptic_head range len mask_size expand_boxes max decode hstack astype maximum min int32 resize append zeros array range model_prefix DataLoader Timer evaluate_ssegs im_post resize cuda open str list vis_mask get_unified_pan_result num_classes evaluate_boxes exit pprint tic eval_only load_state_dict has_fcn_head has_rcnn append to next vis_all_mask range format has_mask_head astype eval pformat info __iter__ zip enumerate load join items toc weight_path makedirs extend evaluate_panoptic test_iteration parameters int32 evaluate_masks has_panoptic_head output_path split enumerate backbone_freeze_at callback allreduce_async backbone_fix_bn model_prefix zero_grad SGD DistributedOptimizer use_syncbn pretrained DataLoader adjust_learning_rate save div_ cuda has_rpn use_horovod str list DistributedSampler fcn_with_roi_loss load_state_dict broadcast_parameters has_fcn_head has_rcnn append to next eval_data state_dict update get freeze_backbone format has_mask_head bbox_loss_weight begin_iteration get_params_lr mean eval resume pformat info __iter__ item zip keys panoptic_loss_weight enumerate load join items train_model backward extend set_epoch reset fcn_loss_weight train step has_panoptic_head add_scalar print bbox_transform astype zeros float argmax bbox_overlaps min where shape unique resize zeros max range print astype float argmax bbox_overlaps compute_mask_and_label bbox_stds bbox_means print bbox_normalization_precomputed mean sqrt compute_bbox_regression_targets tile zeros array range len zeros bbox_weights class_agnostic shape min zeros float max range minimum maximum minimum maximum minimum maximum minimum maximum dot array unique transpose log exp astype shape zeros float zeros float astype shape ndarray maximum isinstance ndarray isinstance copy copy float32 uint8 ascontiguousarray minimum dtype exp astype shape zeros log transpose log zeros shape logical_and rcnn_feat_stride sqrt zeros enumerate minimum int fg_fraction add_mask_rcnn_blobs has_mask_head ones size _compute_targets hstack float32 choice dict batch_rois _expand_bbox_targets append round array bbox_reg_weights bbox_transform_inv zeros int shape append _compile compiler_so debug_mode add_argument parse_known_args cfg ArgumentParser update_config _merge_proposal_boxes_into_roidb _add_class_assignments _filter_crowd_proposals append range len items list flip_segms extend copy append format info len _compute_targets astype zeros argmax bbox_overlaps dtype toarray csr_matrix astype bbox_overlaps zeros argmax max append enumerate iou toarray csr_matrix xyxy_to_xywh len max argmax toarray argsort zeros astype range resize sum min max zeros min max min astype where array zeros max range len append _flip_rle frPyObjects sum array decode decode maximum append frPyObjects sum array min zeros max range len mask_size _expand_to_class_specific_mask_targets ones reshape hstack astype float32 copy polys_to_boxes array zeros argmax bbox_overlaps range polys_to_mask_wrt_box mask_size int range named_modules join named_parameters append maximum minimum append maximum minimum pathsep pjoin exists split find_in_path items list pjoin pathsep dirname sep join reduce close accumulate split rpartition makedirs dir _wrap_function getattr append callable arange _unmap rpn_bbox_weights rpn_fg_fraction argmax rpn_batch_size rpn_clobber_positives generate_anchors transpose array meshgrid sum bbox_transform astype choice fill float empty int reshape zeros bbox_overlaps _unmap rpn_bbox_weights rpn_fg_fraction argmax rpn_batch_size rpn_clobber_positives generate_anchors list transpose array append sum range concatenate bbox_transform anchors_cython astype choice sqrt fill float empty int print reshape zeros bbox_overlaps len items list anchor_scales get_field_of_anchors has_fpn concatenate anchor_ratios rpn_feat_stride _get_rpn_blobs field_of_anchors zeros round array append enumerate num_cell_anchors arange rpn_fg_fraction argmax rpn_batch_size transpose rpn_straddle_thresh append sum unmap choice fill empty int compute_targets dict zeros bbox_overlaps field_size len vstack _ratio_enum array str generate_anchors int arange meshgrid reshape transpose FieldOfAnchors rcnn_feat_stride max_size ceil float ravel fill empty hstack sqrt _whctrs round _mkanchors _whctrs _mkanchors | uber-research/UPSNet | 3,940 |
uber-research/deconstructing-lottery-tickets | ['network pruning'] | ['The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networks'] | get_init_loss_train_lottery.py train.py tf_plus/tfutil.py tf_plus/network.py tf_plus/util.py tf_plus/backend.py data/download_mnist.py tf_plus/regularizers.py get_weight_init.py masked_layers.py train_supermask.py data/download_cifar10.py tf_plus/__init__.py network_builders.py tf_plus/core.py train_lottery.py masked_networks.py split_and_shape read_input_data init_model flatten_all define_training make_parser train_and_eval main eval_on_entire_dataset split_and_shape bsearch_quadrant_threshold get_mask_by_layer_by_weight pruned_count make_parser main MaskedDense FreezeDense MaskedConv2D FreezeConv2D MaskedDense build_fc_supermask get_effective_mask build_conv4_supermask make_signed_consts MaskedConv2D build_conv2_supermask build_conv6_supermask build_frozen_fc_lottery build_masked_fc_lottery build_conv6_lottery build_masked_conv4_lottery build_conv2_lottery build_frozen_conv6_lottery build_masked_conv2_lottery build_frozen_conv2_lottery build_frozen_conv4_lottery build_conv4_lottery build_masked_conv6_lottery build_fc_lottery read_input_data init_model flatten_all define_training make_parser calc_one_iter_grads train_and_eval main eval_on_entire_dataset split_and_shape read_input_data init_model flatten_all define_training make_parser sigmoid train_and_eval main eval_on_entire_dataset split_and_shape load_initial_weights read_input_data init_model flatten_all define_training make_parser eval train_and_eval main eval_on_entire_dataset main main learning_phase batchnorm_learning_phase Lambda Activation Layers BaseLayer SequentialNetwork l2reg tf_batch_multinomial_with_temperature image_summaries_traintest tf_masked_reduce_mean hist_summary image_summary add_grads_and_vars_hist_summaries tf_reshape_like_notlast add_classification_losses hist_summaries val_or_dynamic scalar_summaries tf_flatten_notlast tf_set_intersection tf_to_bool summarize_opt image_summaries hist_summaries_traintest tf_shape_last sess_run_dict tf_shape_first get_collection_intersection tf_batch_plus_shape add_grad_summaries summarize_weights image_summaries_train get_collection_intersection_summary hacked_tf_one_hot normalize_name scalar_summaries_param tf_assert_all_init image_summaries_param tf_assert_gpu get_ptt_names hist_summaries_test tf_reshape_like hacked_tf_nn_softmax hist_summaries_param tf_get_uninitialized_variables hist_summaries_train image_summaries_test tf_shape_notlast log_scalars tf_flatten scalar_summaries_traintest smooth_l1 scalar_summary merge_dicts toc3 ObjectWithGroups uses_learning_phase tocproc3 toc2 tocproc tocproc2 DotDict TicToc tic2 tic deduplist WithTimer setup_session_and_seeds DuckStruct mkdir_p toc NamedObjectStore print_trainable_warnings tic3 string_or_gitresman_or_none assert_subclass_defines add_argument ArgumentParser get File array close tuple a placeholder model loss summarize_weights MomentumOptimizer print float32 placeholder AdamOptimizer apply_gradients add_classification_losses RMSPropOptimizer trainable_weights mom compute_gradients a input_labels int sess_run_dict range append reshape prod eval_on_entire_dataset test_batch_size large_batch_size read_input_data init_model build_masked_conv4_lottery final_weight_interpolation set_random_seed sign test_h5 flatten trainable_weights output_dir layer_cutoff reset_default_graph abs max run seed str exp prune_base split_and_shape std output_name_prefix define_training len build_frozen_conv6_lottery shape weights_name train_and_eval append parse_args build_masked_conv6_lottery range get build_frozen_fc_lottery format signed_constant close shuffle build_frozen_conv2_lottery init_suffix weights_choice final_weights_ind InteractiveSession load enumerate build_masked_fc_lottery print reshape File system make_parser train_h5 build_masked_conv2_lottery build_frozen_conv4_lottery create_dataset global_variables_initializer array makedirs int ones flatten shape sum percentile int size pruned_count arange output_h5 prune_power where ones squeeze sum concatenate get_mask_by_layer_by_weight size weights_h5 bsearch_quadrant_threshold zeros signed_constant dynamic_scaling signed_constant_multiplier signed_constant dynamic_scaling signed_constant_multiplier signed_constant dynamic_scaling signed_constant_multiplier signed_constant dynamic_scaling signed_constant_multiplier round_mask ones sigmoid shape kernel_mask learning_phase round cond sqrt moments add add_summary zeros Summary permutation arange save_weights val_batch_size trainable_weights str get_collection calc_one_iter_grads sess_run_dict sum range update format save_loss lr num_epochs merge int time print flatten_all update_dict add_summary train_batch_size list grads_to_compute concatenate choice sess_run_dict range train_batch_size string_ save_weights build_conv4_lottery val_h5 build_conv6_lottery ceil eval_every FileWriter save_loss num_epochs int join graph build_conv2_lottery accuracy loss scalar build_fc_lottery dynamic_scaling output_dir_orig orig_weights prev_weights method learned_mask_dir minimize load join format split_and_shape print name File close get_collection init_weights_h5 TRAINABLE_VARIABLES enumerate time format print size dynamic_scaling tolist large_batch_size trainable_weights append eval_on_entire_dataset sum test_batch_size run layers signed_constant_multiplier TRAINABLE_VARIABLES run list name tolist shape append size signed_constant kernel mean eval dynamic_scaling build_conv4_supermask init_weights_h5 shuffle_seed tf_seed build_fc_supermask load_initial_weights save_every build_conv2_supermask resume load_ckpt_weights build_conv6_supermask list choice load_data get_default_graph placeholder get_default_graph placeholder slice shape slice shape multinomial rank tf_reshape_like_notlast cond argmax equal tf_flatten_notlast set_intersection expand_dims squeeze sparse_tensor_to_dense to_float cond equal reduce_sum tuple rsplit hist_summary hist_summaries hist_summaries hist_summaries hist_summaries name histogram normalize_name get_ptt_names scalar_summary scalar_summaries scalar_summaries name hist_summary normalize_name scalar get_ptt_names items list hasattr SerializeToString asscalar add_summary image_summary image_summaries image_summaries image_summaries image_summaries name image normalize_name get_ptt_names name hist_summaries_param hist_summaries_train print tuple rsplit hist_summaries_train pack to_int64 reshape concat expand_dims range sparse_to_dense float64 cast float32 softmax ones_like mul float32 greater add square cast abs list isinstance keys values run OrderedSet get_collection enumerate intersection get_collection_intersection print enumerate run isinstance print MomentumOptimizer AdamOptimizer RMSPropOptimizer run report_uninitialized_variables run global_variables run update reset reset reset makedirs get add set hasattr seed print repr set_random_seed getpid GPUOptions tf_assert_gpu InteractiveSession join print get_collection TRAINABLE_VARIABLES set difference get_default_graph trainable_weights | uber-research/deconstructing-lottery-tickets | 3,941 |
uber-research/parallax | ['word embeddings'] | ['Parallax: Visualizing and Understanding the Semantics of Embedding Spaces via Algebraic Formulae'] | polar.py modules/generate_metadata.py cartesian.py comparison.py modules/data_manager.py modules/format_utils.py modules/formulae_utils.py modules/api.py modules/embeddings_utils.py modules/filter_utils.py globals.py modules/__init__.py update update_items add_data_filter build_controls update_dataset update_view build_data_filter update_viz select_embeddings update add_data_filter build_controls update_dataset build_data_filter update_viz select_embeddings update reset_plot polar_chart_vertices formula_patch select_embeddings projection filter DataManager low_dimensional_projection _tsne_projection _pca_projection _umap_projection _explict_projection filter_by_ids filter_by_attribute filter_by_attributes filter_embeddings slice_embeddings filter_embeddings_metadata ordered_dict_to_table formulae_to_vector formula_to_vector average normalized_quantum_not quantum_not cosadd generate_postag generate_metadata generate_metadata_for_single_word is_stopword Select TextInput int value strip set append float split join list value format items len strip min set dict append max split update_view select_embeddings update_view update pop sorted value list hasattr Select RangeSlider get_size get_metadata_type build_controls get_metadata_domain MultiSelect append on_change str value int labels Div build_controls extend build_data_filter append hasattr insert labels on_click append on_change update max projection norm end on_change intersection keys join norm format value list items len strip min set dict append max split line text reset_plot patch polar_chart_vertices linspace formula_patch circle formulae_to_vector get_embeddings list low_dimensional_projection filter_by_ids get isinstance items print slice get_metadata_type filter get_metadata keys enumerate slice_embeddings filter_embeddings filter_by_ids filter_embeddings_metadata list T cdist matmul stack values list time format TSNE print stack fit_transform values list PCA stack transform values fit list UMAP stack transform values fit lower isinstance add filter_by_attributes set formulae_to_vector items low_dimensional_projection list add set keys OrderedDict add set append append formula_to_vector add synsets set generate_metadata_for_single_word | uber-research/parallax | 3,942 |
ucalyptus/BS-Nets-Implementation-Pytorch | ['hyperspectral image classification'] | ['BS-Nets: An End-to-End Framework For Band Selection of Hyperspectral Image'] | global_module/network.py global_module/Utils/extract_samll_cubic.py global_module/Utils/extract_samll_cubic_save_RAM.py SSRN/indian.py global_module/Utils/record.py global_module/d2lzh_pytorch/__init__.py global_module/generate_pic.py global_module/d2lzh_pytorch/utils.py global_module/activation.py global_module/train.py swish gelu mish gelu_new generate_png save_cmap salinas_transform classification_map list_to_colormap indian_transform sampling load_dataset generate_iter pavia_transform aa_and_each_accuracy DBDA_network_conv DBDA_network_MISH SSRN_network Separable_Convolution DBZA_network svm_rbf DBDA_network DBDA_network_drop CDCNN_network GaborNN DBMA_network RES_AVE Residual DBDA_Separable_network DBDA_network_simplified FDSSC_network GaborConv2d Residual_2D DBDA_network_SPATIAL DBDA_network_SPECTRAL train evaluate_accuracy train_ch7 predict_rnn_pytorch get_tokenized_imdb evaluate_accuracy resnet_block get_vocab_imdb train_pytorch_ch7 Benchmark semilogy train_and_predict_rnn squared_loss sgd get_fashion_mnist_labels load_data_jay_lyrics to_onehot get_data_ch7 load_data_fashion_mnist grad_clipping resnet18 train_ch5 RNNModel data_iter_consecutive corr2d Residual one_hot preprocess_imdb linreg use_svg_display predict_rnn read_imdb GlobalAvgPool2d train_and_predict_rnn_pytorch data_iter FlattenLayer show_trace_2d show_images predict_sentiment load_pretrained_embedding show_fashion_mnist train_ch3 set_figsize data_iter_random train_2d train bbox_to_rect select_small_cubic assignment_index select_patch index_assignment select_small_cubic assignment_index select_patch index_assignment record_output append range len append range len append range len salinas_transform indian_transform ceil pavia_transform loadmat set_size_inches set_axis_off close add_axes shape imshow savefig figure float Axes int shuffle max range len nan_to_num mean sum diag truediv set_size_inches set_axis_off add_axes imshow set_visible savefig figure Axes zeros array enumerate select_small_cubic FloatTensor reshape DataLoader unsqueeze TensorDataset type name reshape print list_to_colormap extend classification_map ravel flatten shape eval zeros to argmax array range len zero_grad evaluate_accuracy linspace save show subplot set_title ylabel load_state_dict append to range state_dict plot CosineAnnealingLR long net load time backward print xlabel set_figsize figure step loss len use_svg_display set_matplotlib_formats list LongTensor shuffle range len subplots set_title use_svg_display imshow set_visible zip numpy len backward print step zero_grad sgd range evaluate_accuracy zero_ sum net xlabel ylabel set_figsize legend shape sum zeros range backward print zero_grad range evaluate_accuracy to step net loss CrossEntropyLoss FashionMNIST Compose ToTensor Resize DataLoader startswith append append range Residual FlattenLayer Sequential MaxPool2d add_module Conv2d resnet_block ReLU BatchNorm2d GlobalAvgPool2d Linear list replace set dict len list shuffle device range len view device tensor range len zeros long view scatter_ int init_rnn_state to_onehot item append tensor range rnn len tensor item detach_ loss data_iter_fn view backward print sgd init_rnn_state to_onehot cat grad_clipping zero_ get_params range long CrossEntropyLoss rnn int isinstance view model item append to range len loss exp isinstance model view backward print zero_grad Adam range parameters long grad_clipping to step data_iter_consecutive CrossEntropyLoss detach append print range trainer arange plot xlabel f ylabel meshgrid contour genfromtxt mean std optimizer_fn eval_loss DataLoader linspace tensor Parameter ylabel TensorDataset append range normal plot mean zero_ enumerate time backward print xlabel set_figsize zeros len optimizer_fn Sequential zero_grad eval_loss DataLoader linspace view ylabel MSELoss TensorDataset append range plot enumerate Linear time backward print xlabel set_figsize parameters step loss len imshow set_visible subplots range join listdir shuffle tqdm Counter get_tokenized_imdb tensor get_tokenized_imdb print zeros enumerate len view device tensor argmax net enumerate select_patch index_assignment zeros range len str write close mean sum std open | ucalyptus/BS-Nets-Implementation-Pytorch | 3,943 |
ucbtns/medgan | ['semi supervised anomaly detection', 'anomaly detection'] | ['GANomaly: Semi-Supervised Anomaly Detection via Adversarial Training'] | train.py lib/model.py lib/processing.py lib/evaluate.py lib/loss.py lib/networks.py options.py lib/visualizer.py lib/data.py Options ImageFolderWithPaths load_data roc auprc evaluate l2_loss l1_loss Ganomaly Decoder Encoder NetD NetG weights_init find_match loader save_img resize_image returnNotMatches slices_saved lung_finder main Visualizer join Compose ImageFolder ImageFolderWithPaths dataroot join plot xlabel print getcwd roc_curve close ylabel dict ylim title savefig figure brentq legend xlim auc average_precision_score normal_ __name__ fill_ set pp_load_image print chdir slices_saved lung_finder makedirs imread append get_lungs append resize chdir imwrite zip makedirs | ucbtns/medgan | 3,944 |
uchidalab/book-dataset | ['genre classification'] | ['Judging a Book By its Cover'] | scripts/download_images.py download_image join read output_dirpath write close urlopen mkdir open | uchidalab/book-dataset | 3,945 |
uclaml/RayS | ['adversarial attack'] | ['RayS: A Ray Searching Method for Hard-label Adversarial Attack'] | arch/wideresnet_overfitting.py general_tf_model.py pgbar.py arch/wideresnet_fs.py attack_robust.py general_torch_model.py arch/wideresnet_he.py arch/madry_wrn.py attack_natural.py dataset.py arch/fs_utils.py arch/wideresnet_interp.py arch/cifar_model.py arch/wideresnet_compact.py RayS_Single.py arch/preact_resnet.py arch/wideresnet_rst.py RayS.py arch/wideresnet.py arch/mnist_model.py main main load_mnist_test_data load_cifar10_test_data load_imagenet_test_data GeneralTFModel GeneralTorchModel format_time progress_bar RayS RayS CIFAR10 Model_FS Model MNIST PreActBlock PreActResNet18 PreActResNet PreActBottleneck BasicBlock NetworkBlock WideResNet wrn_28_10 BasicBlock NetworkBlock WideResNet BasicBlock NetworkBlock WideResNet BasicBlock NetworkBlock WideResNet BasicBlock NetworkBlock WideResNet BasicBlock NetworkBlock WideResNet BasicBlock NetworkBlock WideResNet_RST GeneralTorchModel n_class alg DataParallel query ArgumentParser dataset cuda seed str load_imagenet_test_data exit load_state_dict attack append parse_args format mean load_mnist_test_data load_cifar10_test_data item batch enumerate load norm print add_argument early RayS randint array epsilon model Model_FS x_input Saver Session run restore placeholder Model WideResNet_RST GeneralTFModel latest_checkpoint wrn_28_10 pre_softmax Module float32 dict MNIST DataLoader DataLoader CIFAR10 seed Compose ImageFolder DataLoader manual_seed int time join format_time write append range flush len int | uclaml/RayS | 3,946 |
uclanlp/clusters | ['bias detection'] | ['LOGAN: Local Group Bias Detection by Clustering'] | cluster/_kmeans_logan.py config.py cluster/__init__.py utils.py jigsaw.py main epoch_pass get_args get_res_cluster show_localbias get_gender_ids_each_cluster get_ratio_cluster get_gender_cluster merge_clusters get_diff_each_cluster plot_clusters load_poss_objs _k_init _validate_center_shape _labels_inertia_precompute_dense KMeans_logan _labels_inertia _tolerance _mini_batch_convergence iMiniBatchKMeans _kmeans_single_elkan _init_centroids _kmeans_single_lloyd _mini_batch_step _check_normalize_sample_weight k_means parse_args add_argument ArgumentParser mul model clip_grad_norm_ zero_grad numpy unsqueeze argmax cuda view set_postfix to sum eval item enumerate backward extend tqdm parameters train step len list epoch_pass get_args AdamW get_linear_schedule_with_warmup print to_csv named_parameters tqdm set_postfix save load_state_dict train range len defaultdict print append range len show scatter colorbar append defaultdict range len print sum range len get_res_cluster get_gender_ids_each_cluster print get_ratio_cluster labels_ get_diff_each_cluster f1_score accuracy_score accuracy_score abs show subplot len title scatter append sum range predict plot unique f1_score LinearRegression print reshape isnan average figure fit list defaultdict append sum keys range len pop deepcopy list print min argmin delete dot mean unique array range len print minimum int issparse sum toarray clip euclidean_distances random_sample size argmin range searchsorted stable_cumsum shape randint empty log var issparse _check_sample_weight sum len fit issparse check_random_state k_means_elkan print ascontiguousarray _init_centroids row_norms sum _check_normalize_sample_weight _centers_sparse issparse check_random_state print _labels_inertia squared_norm copy _init_centroids zeros range _check_normalize_sample_weight _centers_dense pairwise_distances_argmin_min sum astype int32 issparse print int32 _assign_labels_array zeros _assign_labels_csr full _check_normalize_sample_weight _k_init _validate_center_shape issparse asarray hasattr check_random_state toarray warn row_norms init randint array callable intp issparse check_random_state print _labels_inertia assign_rows_csr astype min choice ravel sum range get float print batch_size | uclanlp/clusters | 3,947 |
uclaopt/Provable_Plug_and_Play | ['denoising'] | ['Plug-and-Play Methods Provably Converge with Properly Trained Denoisers'] | training/utilities/utils.py utils/utils.py model/realSN_models.py model/Spectral_Normalize_chen.py utils/config.py model/Spectral_Normalize.py training/utilities/dataset.py model/SimpleCNN_models.py model/conv_sn_chen.py pnp_admm_csmri.py model/bn_sn_chen.py pnp_admm_photon_imaging.py training/train_full_realsn.py training/model/conv_sn_chen.py pnp_fbs_poisson_denoise.py training/model/full_realsn_models.py model/models.py pnp_fbs_csmri.py training/model/bn_sn_chen.py training/utilities/log.py training/utilities/params.py pnp_admm_poisson_denoise.py pnp_admm_csmri blockfunc inverse_step pnp_admm_photon_imaging pnp_admm_poisson_denoising pnp_fbs_csmri pnp_fbs_poisson_denoising BatchNormSpectralNorm bn_spectral_norm remove_bn_spectral_norm normalize ConvSpectralNorm conv_spectral_norm remove_conv_spectral_norm DnCNN DnCNN DnCNN normalize SpectralNorm spectral_norm remove_spectral_norm normalize SpectralNorm spectral_norm remove_spectral_norm main Load_Model str2bool BatchNormSpectralNorm bn_spectral_norm remove_bn_spectral_norm normalize ConvSpectralNorm conv_spectral_norm remove_conv_spectral_norm DnCNN normalize Im2Patch Dataset prepare_data set_logger Params batch_PSNR l2_reg_normal_ortho unroll_kernel batch_SSIM unroll_kernel_sparse creat_SavePath unroll_kernel_chen data_augmentation weights_init_kaiming adjust_ortho_decay_rate analyze_parse load_model psnr get max format psnr print reshape min fft2 absolute copy shape nonzero real cuda zeros numpy ifft2 range ones_like logical_and square logical_not copy logical_or func range shape range func zeros get max format zeros_like psnr print reshape square copy shape sqrt numpy cuda inverse_step sum blockfunc range get sum format zeros_like FloatTensor print reshape min square copy shape sqrt numpy type max range compare_psnr get max format psnr print reshape min fft2 copy absolute shape nonzero cuda numpy ifft2 range get sum format zeros_like FloatTensor print reshape min square copy where shape sqrt numpy type max range compare_psnr apply list items remove sqrt float sum max isinstance apply list items remove isinstance apply list items remove data no_bn model creat_SavePath zero_grad DataLoader unsqueeze save cuda adaptive Adam apply lip MSELoss normal_ uniform epochs range state_dict SummaryWriter format num_of_layers param_groups outf size eval lr item enumerate add_image int join make_grid criterion backward print noiseL Variable clamp batch_PSNR add_scalar tqdm parameters mode zeros train step Dataset len zeros range float32 reshape randint resize Im2Patch str shape normalize expand_dims imread range glob close copy clear join print sort File float32 create_dataset data_augmentation len setFormatter getLogger addHandler StreamHandler Formatter setLevel INFO FileHandler data constant clamp_ __name__ kaiming_normal range astype float32 transpose range astype float32 transpose rot90 flipud view Variable transpose size matmul numel t normal_ dot parameters eye normalize cuda join str format print today mkdir zeros range lil_matrix print shape zeros range lil_matrix print shape zeros range parse_args add_argument ArgumentParser load str DnCNN eval load_state_dict cuda min absolute log10 sum max | uclaopt/Provable_Plug_and_Play | 3,948 |
uclmr/ntp | ['link prediction'] | ['End-to-End Differentiable Proving'] | ntp/jtr/util/util.py ntp/tp.py ntp/jtr/nn/models.py ntp/data/countries2nkb.py ntp/jtr/preprocess/vocab.py ntp/jtr/util/hooks.py ntp/jtr/preprocess/map.py tests/ntp/test_learn.py ntp/jtr/train.py ntp/nkb.py ntp/jtr/util/tfutil.py ntp/data/db2nkb.py ntp/experiments/recover.py ntp/kmax.py tests/ntp/test_kb.py tests/conftest.py ntp/experiments/learn.py ntp/util.py ntp/nunify.py ntp/jtr/preprocess/batch.py ntp/prover.py ntp/data/sample.py ntp/data/umls2nkb.py ntp/experiments/util.py ntp/experiments/eval.py ntp/data/countries.py ntp/jtr/util/rs.py ntp/kb.py normalize parse_rules load_from_file tf_k_max diff_k_max_grad diff_k_max my_py_func kb2ids partition rule2struct embed_symbol kb2nkb augment_with_templates l2_unification representation_match atom2string is_variables_list prove substitute get_dim1 inner_tile flatten_proofs tile_representations multiplex_goal applied_before aggregate_proofs unify_variables outer_tile rule2string is_tensor get_free_variables and_ or_ batch_unify split_merge rep2string check_atom_consistency neural_link_predict unify subs2string detect_cycle unify_variable atom2string prove substitute LazyWord2Vec flatten_proofs is_variable is_ground_atom rule2string normalize get_free_variables sentence2vecs and_ or_ check_for_equality unify subs2string has_free_variables is_atom unify_variable atom2string is_constant is_variable is_array trim subs2string has_free_variables is_ground_atom is_list is_atom rule2string is_parameter clean merge_predicates clean ensure_consistency infer rule2str sample_kb get_batches decode get_mask_id unstack_rules predict fun chunks post_run corrupt_goal caculate_loss kb_ids2known_facts embed pre_run get_batches decode get_mask_id unstack_rules predict fun chunks post_run corrupt_goal caculate_loss embed pre_run get_batches decode get_mask_id unstack_rules fun post_run corrupt_goal caculate_loss kb_ids2known_facts embed pre_run kb_ids2known_facts train conditional_attentive_reader conditional_reader get_total_trainable_variables bilstm_readers boe_reader_model predictor boe_multisupport_lossavg_reader_with_cands bilstm_reader_model_with_cands conditional_reader_model_with_cands boe_reader get_function get_total_variables bag_reader model_f_reader_model model_f_predictor boe_multisupport_avg_reader_with_cands reader attentive_reader_model conditional_reader_model boe_support_cands_reader_model boe_nosupport_cands_reader_model bilstm_nosupport_reader_model_with_cands boenosupport_reader_model get_batches get_feed_dicts GeneratorWithRestart get_buckets get_seq_depth get_entry_dims numpify deep_seq_map get_list_shape notokenize dynamic_subsample deep_map lower DynamicSubsampledList tokenize NeuralVocab Vocab EvalHook AccuracyHook PRF1Hook LoadModelHook SaveModelHook TensorHook Hook LossHook TraceHook ETAHook ExamplesPerSecHook singleton DefaultRandomState mask_for_lengths tfrunprintshape unit_length gather_in_dim get_last tfprint unit_length_transform tfprints tfprintshape tfrun segment_argmax tfprintshapes segment_softmax tfrunprint get_by_index load_conf tfprint_legacy printoptions tfprint deep_merge nprint save_conf get_timestamped_dir shape2str test_kb test_learn int sub Atom append split append has_free_variables int constant reshape transpose concat int64 top_k cast tile sparse_to_dense str get_default_graph randint int str is_variable tuple append len deepcopy suffix_rule_parameters append range enumerate append rule2struct vocab list sorted print hstack pprint append keys enumerate unit_length_transform embedding_lookup dropout kb2ids ndarray partition isinstance len embed_symbol append xavier_initializer random_uniform_initializer range enumerate get_variable l2_sim isinstance str isinstance rep2string colored append is_tensor enumerate len atom2string str list items isinstance rep2string colored append is_tensor len is_tensor isinstance max detect_cycle detect_cycle zip minimum int inner_tile get_shape reshape transpose nunify tile is_variables_list copy is_variable is_variable multiplex_goal append get_dim1 max enumerate ifft fft complex concat sigmoid split expand_dims einsum conj get_shape int print int inner_tile outer_tile int inner_tile print outer_tile append is_tensor tf_k_max int flatten_proofs and_ print reshape transpose applied_before unify set add subs2string set_shape rule2string colored append gather or_ print tile_representations substitute append print concat split aggregation_fun enumerate or_ isinstance is_atom append get_model sentence2vecs euclidean aggregate len deepcopy check_for_equality arguments atom2string dict append normalize get_free_variables isinstance isinstance print shuffle append append range set print copy add set is_fact atom2tuple append normalize load_from_file tuple add set range len range len print deepcopy list range len print run exit run int representation_match ones set enumerate top_k tile run expand_dims range append len isinstance min arguments Atom predicate append range len squeeze len sigmoid zip run range len at_epoch_end add_check_numerics_ops list minimize at_iteration_end post_run dict enumerate apply_gradients zip append compute_gradients ConfigProto range Session pre_run run softmax_cross_entropy_with_logits format get_total_variables reduce_sum reduce_mean arg_max softmax get_total_trainable_variables info expand_dims softmax_cross_entropy_with_logits format mul get_total_variables concat reduce_sum reduce_mean arg_max softmax get_total_trainable_variables info expand_dims softmax_cross_entropy_with_logits format mul get_total_variables concat reduce_sum reduce_mean arg_max softmax get_total_trainable_variables info expand_dims bilstm_readers to_float softmax_cross_entropy_with_logits format get_total_variables reduce_sum reduce_mean arg_max softmax get_total_trainable_variables info expand_dims einsum to_float pack softmax_cross_entropy_with_logits constant get_total_variables print while_loop TensorArray reduce_sum shape reduce_mean arg_max unstack get_total_trainable_variables softmax softmax_cross_entropy_with_logits format mul get_total_variables concat conditional_reader reduce_sum reduce_mean arg_max softmax get_total_trainable_variables info expand_dims softmax_cross_entropy_with_logits format get_total_variables reduce_sum reduce_mean arg_max softmax get_total_trainable_variables info expand_dims str get_shape format predictor get_total_variables bag_reader get_total_trainable_variables info str get_shape format predictor get_total_variables get_total_trainable_variables info boe_reader format predictor get_total_variables concat conditional_reader get_total_trainable_variables info get_shape trainable_variables get_shape global_variables reduce_sum bag_reader fully_connected sparse_softmax_cross_entropy_with_logits reduce_mean arg_max softmax xavier_initializer le_conditional_reader predictor get_total_variables isinstance print concat h placeholder int64 LSTMStateTuple get_total_trainable_variables format get_total_variables model_f_predictor get_total_trainable_variables info softplus to_int64 squeeze concat reduce_sum matmul reduce_mean arg_max gather_nd expand_dims range _partition update list items dict zip range len get_buckets numpify items list isinstance fun append enumerate update append DynamicSubsampledList range len isinstance len append max enumerate list hasattr isinstance keys range len isinstance get_list_shape int64 full enumerate len shape unstack range shape greater_equal reshape reduce_max float32 stack cast tile less expand_dims range print tfrunprint shape append range Print len gather list transpose rsqrt reduce_sum segment_sum exp reduce_max reduce_sum segment_max gather expand_dims get_printoptions set_printoptions Print remove strftime symlink gmtime exists makedirs items list print kb2nkb load_from_file enumerate load_conf decode rule2struct sym2id tfprint caculate_loss prove max Session load_from_file run get_batches unstack_rules ones squeeze get_collection exit placeholder reduce_sum kb_ids2known_facts Atom append normalize is_tensor scatter_nd_update predict GLOBAL_VARIABLES LocalCLIDebugWrapperSession neural_link_predict kb2nkb has_inf_or_nan tile compute_gradients ConfigProto augment_with_templates add_tensor_filter enumerate deepcopy print Variable sort float32 maximum AdamOptimizer reduce_mean global_variables_initializer train tabulate embed len | uclmr/ntp | 3,949 |
ucsd-dsc-arts/dsc160-final-dsc160-final-group6 | ['style transfer'] | ['A Neural Algorithm of Artistic Style'] | code/transfer.py deprocess_image Evaluator gram_matrix eval_loss_and_grads content_loss total_variation_loss preprocess_image style_loss expand_dims preprocess_input img_to_array load_img reshape transpose astype dot transpose batch_flatten permute_dimensions gram_matrix square reshape astype f_outputs | ucsd-dsc-arts/dsc160-final-dsc160-final-group6 | 3,950 |
ucsd-dsc-arts/dsc160-final-dsc160_final_group4 | ['style transfer'] | ['Deep Photo Style Transfer'] | Code/smooth_local_affine.py Code/deep_photostyle.py Code/closed_form_matting.py Code/photo_style.py getLaplacian getlaplacian1 main affine_loss stylize load_seg rgb2bgr save_result print_loss bgr2rgb gram_matrix content_loss total_variation_loss style_loss smooth_local_affine broadcast_to list csr_matrix transpose identity matmul shape sum diags range grey_erosion int T reshape inv repeat zeros ravel array shape transpose tocoo max_iter fromarray stylize uint8 join serial init_image_path transpose convert ascontiguousarray shape save output_image array clip constant _extract_mask resize append expand_dims array range len reshape transpose matmul as_list constant format squared_difference print multiply resize_bilinear greater avg_pool gram_matrix pad reduce_mean cond zip append float range len get_shape reduce_sum reshape transpose unstack fromarray uint8 clip save max_iter join serial format print save_result enumerate load_seg getLaplacian Session run to_float max_iter ScipyOptimizerInterface sparse_tensor_dense_matmul conv4_2 squeeze style_weight transpose save_result apply_gradients unstack content_loss expand_dims range style_loss serial affine_loss format partial lbfgs rgb2bgr astype stack compute_gradients ConfigProto float tv_weight enumerate join time constant deepcopy minimize print Variable reshape convert float32 AdamOptimizer style_seg_path affine_weight content_seg_path total_variation_loss global_variables_initializer array content_weight _best_local_affine_kernel InOut float32 shape int32 _reconstruction_best_kernel zeros _bilateral_smooth_kernel SourceModule get_function | ucsd-dsc-arts/dsc160-final-dsc160_final_group4 | 3,951 |
ucsd-dsc-arts/dsc160-midterm-group13 | ['sentiment analysis'] | ['Audio-Visual Sentiment Analysis for Learning Emotional Arcs in Movies'] | code/.py/video.py | ucsd-dsc-arts/dsc160-midterm-group13 | 3,952 |
ufal/perin | ['semantic parsing'] | ['ÚFAL at MRP 2020: Permutation-invariant Semantic Parsing in PERIN', "\\'UFAL at MRP 2020: Permutation-invariant Semantic Parsing in PERIN"] | utility/hungarian_matching.py utility/permutation_generator.py utility/loading_bar.py data/field/edge_permutation_field.py model/transformers/modeling_bert.py model/head/eds_head.py utility/adamw.py model/module/mixture_of_softmaxes.py model/module/padding_packer.py data/parser/from_mrp/evaluation_parser.py data/field/property_field.py data/field/nested_field.py utility/autoclip.py utility/frame_predictor.py utility/num_converter.py model/module/grad_scaler.py data/dataset.py model/module/char_embedding.py data/parser/to_mrp/abstract_parser.py data/field/field.py data/parser/from_mrp/abstract_parser.py data/parser/to_mrp/ptg_parser.py utility/log.py utility/udpipe_wrapper.py data/parser/from_mrp/eds_parser.py model/head/amr_head.py utility/schedule/inverse_sqrt_lr.py data/field/edge_field.py model/transformers/modeling_roberta.py data/parser/from_mrp/ptg_parser.py inference.py unit_tests/permutation_generator_test.py model/transformers/base.py data/parser/to_mrp/amr_parser.py model/module/biaffine.py utility/label_processor.py model/module/encoder.py data/parser/to_mrp/eds_parser.py data/parser/to_mrp/ucca_parser.py unit_tests/label_processor_test.py data/parser/from_mrp/ucca_parser.py model/module/module_wrapper.py data/shared_dataset.py data/field/basic_field.py data/parser/from_mrp/drg_parser.py utility/predict.py model/head/ptg_head.py utility/translator.py data/concat_dataset.py utility/xml_parser.py data/parser/to_mrp/drg_parser.py utility/loss_weight_learner.py data/parser/from_mrp/request_parser.py model/module/cross_entropy.py data/parser/from_mrp/amr_parser.py config/params.py data/field/edge_label_field.py model/module/edge_classifier.py model/model.py model/module/anchor_classifier.py utility/greedy_hitman.py utility/evaluate.py utility/schedule/multi_scheduler.py utility/initialize.py train.py model/module/bilinear.py unit_tests/num_converter_test.py utility/parser_utils.py utility/tokenizer.py model/head/drg_head.py model/head/abstract_head.py preprocess.py data/batch.py utility/utils.py data/field/relative_label_field.py data/parser/json_parser.py model/head/ucca_head.py utility/bert_tokenizer.py data/field/bert_field.py data/field/anchor_field.py parse_arguments main_worker parse_arguments Params Batch ConcatDataset Dataset Collate char_tokenize SharedDataset AnchorField BasicField BertField EdgeField EdgeLabelField EdgePermutationField Field NestedField PropertyField RelativeLabelField example_from_json AbstractParser AMRParser DRGParser EDSParser EvaluationParser PTGParser RequestParser UCCAParser AbstractParser AMRParser DRGParser EDSParser PTGParser UCCAParser Model AbstractHead AMRHead DRGHead EDSHead PTGHead UCCAHead AnchorClassifier Biaffine Bilinear CharEmbedding masked_sum multi_label_cross_entropy cross_entropy binary_cross_entropy EdgeClassifier EdgeBiaffine WordDropout QueryGenerator Encoder GradScaler scale_grad MixtureOfSoftmaxes ModuleWrapper PaddingPacker Attention FeedForward Decoder DecoderLayer BertEncoder checkpoint BertModel RobertaModel test_all_1 test_number_1 test_concat_1 test_concat_4 check test_all_2 test_concat_2 test_number_2 test_concat_3 test_all_3 test_fail_5 test_month_2 test_complex_num_1 test_complex_hybrid_1 test_complex_word_3 test_complex_hybrid_8 test_fail_6 test_complex_num_3 test_fail_9 test_complex_hybrid_10 test_simple_word_4 test_complex_word_4 test_complex_num_2 test_simple_word_2 test_chinese_3 test_simple_word_3 test_complex_hybrid_3 test_complex_hybrid_9 test_simple_num test_simple_word_6 test_complex_hybrid_4 test_month_3 test_fail_8 test_fail_7 test_simple_word_5 test_fail_2 test_to_all test_complex_hybrid_7 test_complex_hybrid_5 test_month_1 test_complex_word test_simple_hybrid_1 test_complex_hybrid_2 test_complex_hybrid_6 test_complex_word_2 test_chinese_1 test_fail_1 test_simple_word_1 test_fail_3 test_chinese_2 test_simple_hybrid_2 test_generator_1 test_matching_1 test_generator_3 test_generator_2 test_matching_3 test_matching_2 test_matching_4 AdamW AutoClip bert_tokenizer reduce_bert_input parse_arguments evaluate FramePredictor greedy_hitman sort_by_target match_label match_anchor get_matching _get_src_permutation_idx reorder match_smoothed_label initialize LabelProcessor LoadingBar Log LossWeightLearner NumConverter add_companion node_generator create_aligned_rules create_edge_permutations count_rules change_unnecessary_relative_rules create_token_anchors create_possible_rules add_fake_companion normalize_properties anchor_ids_from_intervals create_edges get_smallest_rule_set load_dataset assign_labels_as_best_rules tokenize create_bert_tokens many_permute_edges single_permute_edges get_permutations permute_edges predict sentence_condition Tokenizer Translator UDPipeWrapper create_padding_mask resize_to_square XMLParser InverseSqrtLr multi_scheduler_wrapper MultiScheduler load add_argument load_state_dict ArgumentParser vars parse_args Params from_pretrained num_hidden_layers encoder hidden_size model zero_grad DistributedDataParallel cuda watch initialize balance_loss_weights set_device LossWeightLearner epochs Model SharedDataset heads to module range predict compute_grad update val log_wandb init_process_group validation_data loss_weights_dict test distributed eval mkdir autoclip flush scheduler load_datasets backward AdamW print multi_scheduler_wrapper Log test_data train step AutoClip items list reduce Example preprocess setattr split masked_fill sum log squeeze unsqueeze sigmoid binary_cross_entropy_with_logits empty RobertaConfig gen_all_label_rules list check check check check check check check check check list to_all_numbers get_permutations get_permutations get_permutations unsqueeze long permute_edges unsqueeze long permute_edges unsqueeze long permute_edges unsqueeze long permute_edges encode replace print startswith append reduce_bert_input range enumerate len append range len cpu_count update list remove issuperset issubset Counter append values shape zeros _get_src_permutation_idx full cat ones zeros _get_src_permutation_idx cat _get_src_permutation_idx full cat cat append linear_sum_assignment append sort sort_by_target shape range zeros seed manual_seed_all print mkdir init manual_seed save pop list print len reversed create_token_anchors add_fake_companion append enumerate values find list create_tokens Tokenizer values append len find append items values len values list sorted node_generator add set values enumerate values tokenizer clean keys Tokenizer update time node_generator list print tuple Counter add zip most_common print time get Hitman LabelProcessor node_generator add set lower make_absolute_label_rule enumerate from_pretrained bert_tokenizer values pop sorted get_permutations print permutation_count similarity_key_f append sum max values enumerate node_generator max set node_generator keys Counter len append lower label_f len append node_generator range len list arange many_permute_edges binary_cross_entropy size argmin tolist contiguous single_permute_edges unsqueeze expand_as float sum range enumerate gather size expand gather size expand permutations copy append sum enumerate items list log_wandb evaluate eval frameworks save enumerate expand size new paste resize mode | ufal/perin | 3,953 |
uhh-lt/lt-expertfinder | ['information retrieval'] | ['LT Expertfinder: An Evaluation Framework for Expert Finding Methods'] | tools/import_aan_mysql.py tools/import_aan_elasticsearch.py tools/import_googlescholar_mysql.py tools/import_wikidata_mysql.py main addDocument addCollaboration addAuthor main addCitation addPublication createAuthorIdMap main createTable createAuthorIdMap main createTable Elasticsearch endswith aan delete ArgumentParser exists create name scandir normpath parse_args bulk timeout float int print add_argument path print_help fetchall commit strip execute split execute commit fetchall execute commit fetchall execute commit fetchall execute commit fetchall execute commit execute strip fetchall createTable createAuthorIdMap | uhh-lt/lt-expertfinder | 3,954 |
uhh-lt/mangosteen | ['denoising'] | ['Improving Hypernymy Extraction with Distributional Semantic Classes'] | code/50-bn-isas.py code/74-filter.py code/71-hypernym-aggregate.py code/52-babelnet.py code/33-isas-gephi.py code/exp2-aggregate.py code/20-edges.py code/lmdb-list.py code/10-ego.py code/30-isas.py code/exp3-aggregate.py code/00-convert.py code/60-frequencies.py code/25-pos.py code/61-cluster-hit.py code/70-cluster-aggregate.py code/31-cluster-gv.py code/40-wordnet.py code/params.py code/32-isas-gv.py code/62-hypernyms-hit.py pos evaluate isas evaluate emit emit badness parse scores aggregate answers hmean agree load scores update str reduce lowest_common_hypernyms add shortest_path_distance info float range len update exp defaultdict add set keys range len get abs join list shuffle index lower info append next max range len int defaultdict add set loads append open dict items list defaultdict Counter float Counter read_csv | uhh-lt/mangosteen | 3,955 |
ukky17/invert_MV_pytorch | ['adversarial attack'] | ['Towards Evaluating the Robustness of Neural Networks'] | invert_MV.py ff_training.py model.py get_rpr.py train test decay_lr invert deprocess_image CustomDataset optuna_objective lp_norm tv_norm VGG2 VGG backward loss_f zero_grad step net eval min max clip param_groups zero_grad variable_change SGD numpy log decay_lr Adam RMSprop MSELoss numel sum range detach format loss_f requires_grad_ model2 tanh backward print clone step invert suggest_categorical suggest_int dict suggest_loguniform append to | ukky17/invert_MV_pytorch | 3,956 |
umanlp/XWEAT | ['word embeddings', 'cross lingual transfer'] | ['Are We Consistently Biased? Multidimensional Analysis of Biases in Distributional Word Vectors'] | latex.py xweat.py utils.py weat.py main main_results batch_iter TfidfEmbeddingVectorizerSingleSentence MeanEmbeddingVectorizer load_embeddings remove_citation_marker remove_stop_words_from_sentence_list remove_stop_words_from_single_sentence LemmaTokenizer preprocess_string_tfidf align_vocab_and_embd get_write_mode compute_standard_error preprocess_string_list MeanDBpediaEmbeddingVectorizerSingleSentence preprocess_string preprocess_string_list_tfidf shuffle_data TfidfEmbeddingVectorizer MeanEmbeddingVectorizerSingleSentence compute_oov_percentage load_vectors_goran load_embedding_dict load_vocab_goran XWEAT translate main load_vectors_goran load_embedding_dict load_vocab_goran XWEAT translate main join words sub compile join words list map exists seed permutation arange len load load_word2vec_format words strip WordNetLemmatizer int permutation arange min range len len uniform append array enumerate items list load_vectors_goran load_vocab_goran load_embeddings append list set close weat_2 postspec use_glove permutation_number load_vocab_goran weat_10 similarity_type ArgumentParser basicConfig set_embd_dict is_vec_format parse_args lang load_embedding_dict XWEAT run_test_precomputed_sims weat_1 lower info weat_5 time weat_6 weat_4 add_argument weat_8 weat_7 weat_3 translate weat_9 attributes_lang targets_lang set_embd_dicts | umanlp/XWEAT | 3,957 |
umarteau/Newton-Method-for-GSC-losses- | ['generalization bounds'] | ['Globally Convergent Newton Methods for Ill-conditioned Generalized Self-concordant Losses'] | SECOND ORDER METHOD/Katyusha.py SECOND ORDER METHOD/blockKernelProducts.py SECOND ORDER METHOD/gaussianKernel.py SECOND ORDER METHOD/display.py SECOND ORDER METHOD/getMemInfo.py SECOND ORDER METHOD/losses.py SECOND ORDER METHOD/NewtonMethod.py blockKernComp blockKernCompGPUSymmetric produceDU cobjTestK cobjTest cobjSanityCG cobjSanityK cobj cobjTestBestLambda cobjSanity cobjTestGrid computeMemorySimple cobjK KnmPtest KnmProdSimple aux gaussianKernel getMemGPU freeGPU miniBatchKSVRG l_fg lgtau makeFinal dloss createA NewtonMethod createT KnmProd KtKprod tr_solve computeMemory l_fgh conjgrad chol int kern isinstance print size min astype sqrt floor ceil zeros download type upload range produceDU int kern size min astype t sqrt floor ceil zeros download upload range produceDU int kern size min astype floor device ceil zeros to range upload download produceDU to zeros size freeGPU t clamp_ sum exp_ communicate format Popen split getMemGPU KnmP_grad createT Lmax cbIterates available cholTt range format factKnmP cholT KtaumP_grad size choice start sqrt computeMemory is_available keepInfo float type zeros isinstance print min l_fg lgtau empty_cache makeFinal clone KnmP_grad createT createA cbIterates available cholTt l_fgh range format factKnmP cholT cholAt size start computeMemory is_available keepInfo type isinstance print zeros len zeros to freeGPU int kern size min astype KtKprod len floor ceil download upload range produceDU to size cholesky size kern chol int ddf chol size astype t sqrt ceil zeros download upload range produceDU triangular_solve size empty_cache download upload produceDU funA size add cbConj pow zeros sum range | umarteau/Newton-Method-for-GSC-losses- | 3,958 |
umich-vl/px2graph | ['graph generation', 'scene graph generation'] | ['Pixels to Graphs by Associative Embedding'] | util/rcnn/__init__.py data/genome/ref.py util/setup.py util/rcnn/generate_anchors.py util/calc.py util/loader.py opts.py util/rcnn/generate.py models/hg.py data/genome/driver/utils.py models/layers.py data/genome/driver/api.py util/rcnn/anchor_target_layer.py task/graph.py models/px2graph.py main.py task/base.py data/genome/driver/local.py util/rcnn/proposal_layer.py eval.py data/genome/driver/models.py util/rcnn/proposal_target_layer.py util/img.py process_pred evaluate_pred load_predictions main main mkdir_p parse_command_line num_objects initialize get_gt_triplets get_rpn_proposals get_id get_bboxes get_obj_classes get_graph preload_sample_info setup_val_split load_image get_rels image_dims GetAllImageIds GetImageData GetQAofImage GetSceneGraphOfImage GetRegionDescriptionsOfImage GetRegionGraphOfRegion GetAllQAs GetQAofType GetImageIdsInRange ListToDict ParseGraphLocal SaveSceneGraphsById ParseGraphVRD AddAttrsToSceneGraphs GetAllImageData GetSceneGraphsModified fix_words GetSceneGraph GetSceneGraphsVRD GetSceneGraphs GetAllQAs GetAllRegionDescriptions MapObject QA Object Image Graph QAObject Synset Attribute Region Relationship ParseRegionDescriptions ParseImageData RetrieveData ParseSynset ParseGraph ParseQA GetDataDir initialize hourglass dense cnv max_pool gated top_k res_block gather avg_pool initialize Task Task tf_decode_boxes match_and_shuffle tf_relation_recall huber_loss flip_boxes _relation_recall box_inbounds activation_loss hinge_loss push_apart compare_classes push_pull_loss softmax_loss classify_loss py_cpu_nms bce_loss iou top_k_threshold tf_iou py_max_match mse_loss nms visualize_heatmap line gauss get_transform draw_circle draw_text draw_polygon draw_gaussian resize transform draw_bbox crop color_heatmap Loader average_gradients merge_gpu_results init_task init_model _unmap _compute_targets AnchorTargetLayer _vis_proposals _get_image_blob im_proposals imdb_proposals generate_anchors _scale_enum _whctrs _ratio_enum _mkanchors _filter_boxes ProposalLayer _sample_rois _compute_targets _get_bbox_regression_labels ProposalTargetLayer join list print tqdm transform edict range image_dims stack min edict concatenate process_pred triplet_boxes triplets _relation_recall get_gt_triplets join list print evaluate_pred load_predictions tqdm mean idxs range len init_model batchsize TRAINABLE_VARIABLES new_optim flatten Saver save Session last_round run restore init_task exp_id exp start_threads get_collection placeholder predict restore_session parse_command_line FileWriter start_epoch zeros setup_summaries flush items learning_rate graph add_summary global_variables_initializer bool num_rounds makedirs branch batchsize class_thr ArgumentParser obj_thr open list exp_id argv split_str parse_known_args suppress_output gpu_num continue_exp devnull range rel_thr restore_session format gpu_choice mkdir_p keys print add_argument add_mutually_exclusive_group split scale_feats num_rounds len ones loadtxt arange setup_val_split use_rpn print max image_dims reshape tolist max image_dims get_graph get_graph get_graph zeros num_objects get_graph enumerate reshape get_obj_classes get_graph zeros range len str extend RetrieveData RetrieveData range extend str RetrieveData ParseImageData str RetrieveData GetImageData str RetrieveData GetImageData str RetrieveData GetImageData str str GetImageData extend RetrieveData ParseQA str GetImageData extend RetrieveData ParseQA str GetImageData extend RetrieveData ParseQA load join GetDataDir open load join ParseRegionDescriptions GetAllImageData append GetDataDir open load join GetAllImageData append GetDataDir open load ListToDict str ParseGraphLocal GetAllImageData GetDataDir open ListToDict int GetAllImageData GetSceneGraph relationships append listdir GetDataDir len Object append Relationship MapObject print load join str collect mkdir GetDataDir open load join collect copy append open rename relationships objects predicate enumerate load ListToDict int GetAllImageData GetSceneGraph relationships open listdir len Object Image Attribute append Relationship enumerate HTTPSConnection getresponse read request loads Object ParseSynset Attribute append Relationship Image append Region append QA QAObject Synset cnv split cnv activation int stack range to_float reshape max_pool stack expand_dims range equal len to_int32 num_feats concat max_nodes max_pool stack top_k reverse enumerate generate_anchors astype float32 compute Munkres gather expand_dims size where append maximum minimum ones pad sparse_softmax_cross_entropy_with_logits pow maximum one_hot reduce_sum less abs square gather squeeze where to_float exp squeeze greater where reduce_sum maximum pow stack gather gather_nd mse_loss cond range copy to_float minimum exp to_int32 reshape astype float32 maximum stack gather_nd unstack floor ceil gather argmax len minimum reshape maximum to_float minimum reshape maximum tile reshape tile iou astype intersect1d zip enumerate to_int32 compare_classes zeros range float32 copy pi dot eye zeros float dot get_transform inv T int norm imrotate transform zeros float array ones order_filter copy zeros uint8 astype gauss color_heatmap resize fromarray Draw exp arange maximum fromarray Draw text astype rectangle shape circle polygon shape line get_sample initialize task Loader print Task import_module dataset reduce_mean stack zip list print concat reduce_mean stack keys range len opt_fn model print average_gradients min get_collection float32 placeholder batchsize setup_network batch_split import_module UPDATE_OPS int32 gpu_num setup_grad range get_variable fill empty format subplots set_title text draw axis tight_layout add_patch imshow Rectangle MAX_SIZE min astype float32 shape resize append im_list_to_blob float max reshape forward _get_image_blob copy toc show format print average_time hstack _vis_proposals num_images im_proposals tic Timer imread range image_path_at vstack _ratio_enum array hstack sqrt _whctrs round _mkanchors _whctrs _mkanchors zeros BBOX_INSIDE_WEIGHTS shape BBOX_NORMALIZE_STDS bbox_transform BBOX_NORMALIZE_MEANS BBOX_NORMALIZE_TARGETS_PRECOMPUTED array _get_bbox_regression_labels size min _compute_targets ascontiguousarray choice bbox_overlaps argmax max append | umich-vl/px2graph | 3,959 |
umngangaliqiu/dnn4gnetworking | ['time series'] | ['Real-time Power System State Estimation and Forecasting via Deep Neural Networks'] | TRY-5.py grid_conf.py try-3.py trunc.py drl_pole.py dddddddddddddddddddddddddddddd.py deterministic_pg.py powertest2.py delete_tf_self_loss.py utils.py qiu.py try-2.py TRY-4.py alipolicy.py delete_tf.py networkmpc.py policygradientinkeras.py unsupervised.py ssss.py reinforce_alg.py test_trunc.py delete_q.py cvx_dc_qg cvx_ac_qg pre_process_data cvx_ac cvx_dc kl_divergence DeepDeterministicPolicyGradient DQNAgent Grid mpc run_episode Agent main compute_discounted_R nn_get_loss kl_divergence theta_rollout observation_to_action run_episode Agent main plot_labels_legend plot_2D plot_ecdfs simulate_hyperplane plot_1D plot_labels_legend samp_diag_norm run_simulation run_simulation_1D plot_stacked_hist pca_visualization plot_ecdf plot_hists truncnormmv run_episode Agent main run_episode Agent main run_episode Agent main run_episode Agent main neural_loss cvx_dc_qg cvx_ac_qg pre_process_data cvx_ac cvx_dc dot T diag T Minimize Problem Variable solve power T Minimize norm Problem Variable print hstack solve append zeros range T Minimize Problem Variable power solve zeros range T Minimize norm Problem Variable hstack solve append zeros range T ones inv diagflat mpc vstack preprocess_data zeros loadmat array range sqrt array list zeros_like reversed range len reset append get_action step array fit make Agent print run_episode zeros range n rvs Normal log_prob log Session run placeholder matmul reduce_sum GradientDescentOptimizer append range asarray global_variables_initializer sqrt stack cdf truncated_normal Variable reshape minimize print float32 sigmoid zeros cvx_dc observation_to_action render reset step range T squeeze legend unique plot array zeros samp_diag_norm reshape samp_diag_norm SVC hstack vstack fit time tn_test simulate_hyperplane print len range truncnormmv rvs time get_natural_params_1D print get_p_val_1D range scatter annotate enumerate title hist show xlabel PCA ylabel scatter vstack legend fit_transform get_xdata from_dict plot xlabel title legend get_ydata max enumerate distplot ecdf plot ECDF min linspace max xlabel xscale title linspace legend xlim plot_ecdf enumerate subplot axvline tight_layout figure plot_hists yticks max plot xlabel min grid ylabel flipud scatter ylim linspace legend array train_fn cvx_ac squeeze randint sum array len cvx_dc range minimum cvx_ac_qg deepcopy ndarray cos Session run placeholder matmul reduce_sum GradientDescentOptimizer sin append range asarray square stack zeros truncated_normal Variable reshape print minimize float32 global_variables_initializer | umngangaliqiu/dnn4gnetworking | 3,960 |
umutsimsekli/Hausdorff-Dimension-and-Generalization | ['generalization bounds'] | ['Hausdorff Dimension, Heavy Tails, and Generalization in Neural Networks'] | src/eval_vgg.py src/alpha.py src/train_vgg.py src/train_lenet.py src/eval_lenet.py src/models.py src/utils.py src/alpha_estimator_vgg.py estimator_vector_mean estimator_scalar get_ms estimate_experiment peek_model_size estimate estimator_vector_full estimator_vector_projected estimator_vector_mean estimator_scalar get_5_good_fiv get_ms estimate_experiment peek_model_size estimate estimator_vector_full estimator_vector_projected test_models compute_loss_accuracy test_on_cifar test_vgg test_models compute_loss_accuracy test_on_cifar test WideMLPFamily VGG LeNetFamily train_lenet train_model_lenet train_lenet train_model_vgg accuracy get_data get_grads get_layerWise_norms alpha_estimator2 alpha_estimator linear_hinge_loss append shape prod parameters sorted view norm view randn append median float mm range mean view mean get_ms view estimator_scalar estimator_vector_full device estimator_vector_mean sorted view LeNetFamily peek_model_size load_state_dict append to format glob estimator_vector_projected enumerate load parameters zeros len glob sorted estimate_experiment int sqrt floor append range get_5_good_fiv print shape len get_5_good_fiv VGG print format criterion squeeze tqdm max net enumerate CrossEntropyLoss DataLoader Compose compute_loss_accuracy CIFAR10 load int sorted format list test_on_cifar glob LeNetFamily load_state_dict device to range len load test_on_cifar VGG load_state_dict append to test_vgg list randn print count_parameters size VGG keys net zero_grad SGD DataLoader save LeNetFamily to range CrossEntropyLoss state_dict format Compose CIFAR10 net enumerate criterion backward print parameters step int format print train_model_lenet device float zero_grad SGD DataLoader save VGG to range CrossEntropyLoss state_dict format Compose CIFAR10 net enumerate criterion backward print parameters step train_model_vgg append parameters requires_grad norm range fill_ len requires_grad view parameters append cat int spacing view mean sum log len int spacing norm view sum log len eq max DataLoader | umutsimsekli/Hausdorff-Dimension-and-Generalization | 3,961 |
unagpal/Active-Learning-in-CNNs-via-Expected-Improvement-Maximization | ['active learning'] | ['Active Learning in CNNs via Expected Improvement Maximization'] | MNIST/Binary_7_9_AL_Scripts/RobustKCenterBatch_Gurobi.py MNIST/MultiClass_AL_Scripts/RobustKCenter_Gurobi.py predict_pool_with_uncertainty predict_with_uncertainty farthest_first_kcenters run_model kcent_feasibility_check farthest_first_kcenters run_model predict_with_uncertainty kcent_feasibility_check mean zeros array range zeros array range function compile Sequential to_categorical fit predict_with_uncertainty add Dense MaxPooling2D Convolution2D expand_dims argmax Activation Flatten Dropout list norm tolist amin append zeros range amax len addVar varName getVars str list LESS_EQUAL LinExpr Model append range update isdigit amin EQUAL int optimize print addConstr zeros array x str print shape | unagpal/Active-Learning-in-CNNs-via-Expected-Improvement-Maximization | 3,962 |
unfinity-core/MetricGAN | ['speech enhancement'] | ['MetricGAN: Generative Adversarial Networks based Black-box Metric Scores Optimization for Speech Enhancement'] | src/spectral_normalization.py src/models.py src/utils.py MetricSTOI MetricPESQ Discriminator_Stride1_SN Discriminator_Stride1 Generator_Sigmoid_LSTM Discriminator_Stride2_SN Generator_Tanh_GRU xavier_init SpectralNorm l2normalize normalize create_data spec_to_wave_amplitude adjust_noise_to_match_snr mix_with_snr FileSpecDataset spec_to_wave _true_sort_order process_batch_as_authors rms wave_to_spec padded db ms xavier_uniform_ data __name__ load join product mix_with_snr tuple tqdm save wave_to_spec normalize fix_length exists enumerate len stft amplitude_to_db exp griffinlim db_to_amplitude array istft pad ms adjust_noise_to_match_snr normalize unsqueeze griffinlim exp array istft | unfinity-core/MetricGAN | 3,963 |
universebh/text_generation_fsa_gan | ['text generation'] | ['Long Text Generation via Adversarial Training with Leaked Information'] | lstm_fsa/word2vec_dict.py lstm_fsa/train.py lstm_fsa/config.py lstm_fsa/utils.py lstm_fsa/language_model.py lstm_fsa/language_dataset.py init_param LanguageDataset init_hidden LanguageModel train_dis_epoch test program_config padding embedding Word2VecDict save_tr_l_dir batch_size sch_verbose lyrics_dir save_tst_l_dir sch_patience device DEBUG save_tr_a_dir setLevel emb_model_dir save_lm_dir addHandler check_interval setFormatter save_log_dir save_tst_a_dir StreamHandler lr mkdir info num_epochs pretrained_lm_dir FileHandler test_ratio max_seq_len Formatter hidden_dim sch_factor zeros add_argument view model criterion backward size debug zero_grad hidden_dim device append train step init_hidden enumerate eval append enumerate len embedding_model view reshape float vector_size cat len | universebh/text_generation_fsa_gan | 3,964 |
unrealcv/unrealcv | ['physical simulations'] | ['UnrealCV: Connecting Computer Vision to Unreal Engine'] | build.py examples/10lines.py examples/record_camera_trajectory.py examples/commands_demo.py test/server/object_test.py examples/model_zoo/test_binaries.py test/client/dev_server.py test/server/stereo_test.py docs/conf.py examples/interactive_control.py test/server/rr_test.py test/server/benchmark_report.py examples/faster_rcnn.py test/server/connection_test.py client/python/demo.py test/ue4_version_check.py test/server/camera_test.py examples/model_zoo/zip_binaries.py client/python/unrealcv/automation.py test/client/test_dev_server.py test/server/conftest.py examples/model_zoo/github_release.py client/python/unrealcv/__init__.py test/client/test_client.py test/server/vis_data.py examples/WIP/arm.py examples/model_zoo/download_model_zoo.py examples/WIP/ipynb_util.py client/python/unrealcv/util.py docs/build_doc.py client/python/setup.py examples/model_zoo/build_binaries.py examples/data_generation.py main get_plugin_version get_platform_name LinuxBinary DockerBinary WindowsBinary UE4BinaryBase UE4Automation MacBinary UE4Binary read_npy read_png BaseClient SocketMessage Client lfs_checkout clean main parse_unrealcv_version main normalize run_commands_demo Logger Camera main PlaybackSequence faster_rcnn_detect init_caffe plot_bb plot_image main main message_handler save_to_file main zip_dir zip_dir main generate_objectcatetory_json check_coverage plot_object_color Timer format_cmd NullServer EchoServer ThreadedServer NULLTCPHandler EchoTCPHandler RejectionHandler MessageServer MessageTCPHandler test_random_operation test_no_server test_client_release test_request_timeout test_multi_connection test_stress random_payload server test_message_handler test_server_shutdown test_change_port test_request test_server_close is_port_open main sys_info run_duration run_count test_camera_control test_png_mode imread_file test_exr_file test_npy_mode imread_png imread_npy test_file_mode ResChecker ver test_echo test_connection test_viewmode test_object_list test_object_list test_seg_mask approx test_pause test_camera_distance Vec3 random_vec3 test_vec3 read_npy read_png request descriptor_file endswith UE4 add_argument package output overwrite ArgumentParser UE4Automation install parse_args abspath build_plugin get system print get get_platform_name BytesIO asarray open load BytesIO value rmtree remove isdir isfile dirname abspath fetch join rebuild rtd lfs_checkout print call clean dict build_doxygen realpath dirname open_new environ join max min astype normalize request read_png writelines sleep read_npy median save_image split binary_path run_commands_demo output_folder isdir connect Logger writelines UE4Binary Camera PlaybackSequence join ones set_device set_mode_gpu Net im_detect MODELS_DIR range TEST DATA_DIR text format Rectangle add_patch nms plot_bb astype axis float32 imshow enumerate cla toc format init_caffe print plot_image total_time tic split Timer im_detect merge show subplots axis tight_layout figure FuncAnimation mpl_connect imshow title zeros append dict get get_plugin_version get_platform_name zip_dir replace write close ZIP_STORED dirname ZipFile walk request subplot plot_color len print repr replace list print zeros float sum keys join randrange start MessageServer request disconnect connect Client request disconnect connect Client range request disconnect connect Client info sleep range print disconnect connect Client randrange range request connect Client start NullServer request connect Client request connect Client send socket bind close AF_INET SOCK_STREAM shutdown socket debug close AF_INET connect start SOCK_STREAM stop MessageServer range request time range request time range load task str close run_duration report sys_info run_count log open StringIO open request connect request imread_png connect request connect imread_npy request imread_file connect request imread_file connect is_error request print exit connect request connect request connect print format request request connect split request imread connect print str request print Vec3 l2norm connect random_vec3 range request connect Vec3 StringIO print startswith | unrealcv/unrealcv | 3,965 |
untrix/im2latex | ['optical character recognition'] | ['Image-to-Markup Generation with Coarse-to-Fine Attention', 'Teaching Machines to Code: Neural Markup Generation with Visual Attention'] | src/convnet.py thirdparty/harvardnlp_im2markup/scripts/evaluation/evaluate_bleu.py src/commons/viz_commons.py thirdparty/harvardnlp_im2markup/scripts/evaluation/distance/_levenshtein.py thirdparty/harvardnlp_im2markup/scripts/preprocessing/preprocess_filter.py src/tools/bulk_disp_alpha.py src/model/tf_dynamic_decode.py thirdparty/harvardnlp_im2markup/scripts/preprocessing/preprocess_images.py thirdparty/harvardnlp_im2markup/scripts/preprocessing/generate_latex_vocab.py src/run.py src/train_multi_gpu.py thirdparty/harvardnlp_im2markup/scripts/evaluation/distance/_lcsubstrings.py src/commons/pub_commons.py thirdparty/harvardnlp_im2markup/scripts/evaluation/evaluate_text_edit_distance.py src/commons/tf_commons.py src/model/hyper_params.py src/model/CALSTM.py src/commons/data_reader.py thirdparty/harvardnlp_im2markup/scripts/preprocessing/preprocess_formulas.py thirdparty/harvardnlp_im2markup/scripts/evaluation/distance/_iterators.py src/commons/dl_commons.py thirdparty/harvardnlp_im2markup/scripts/evaluation/render_latex.py src/commons/dl_commons_tests.py src/model/Im2LatexModel.py src/commons/data_commons.py thirdparty/harvardnlp_im2markup/scripts/evaluation/distance/_simpledists.py thirdparty/harvardnlp_im2markup/scripts/evaluation/distance/_fastcomp.py src/commons/test_tf_commons.py thirdparty/harvardnlp_im2markup/scripts/evaluation/distance/_pyimports.py thirdparty/harvardnlp_im2markup/scripts/evaluation/render_html.py thirdparty/harvardnlp_im2markup/scripts/evaluation/evaluate_image.py thirdparty/harvardnlp_im2markup/scripts/utils/utils.py thirdparty/harvardnlp_im2markup/scripts/utils/image_utils.py thirdparty/harvardnlp_im2markup/scripts/evaluation/distance/__init__.py thirdparty/harvardnlp_im2markup/scripts/evaluation/LevSeq.py src/model/tf_tutorial_code.py run_convnet main get_df main squashed_seq_list TrainingLogic num_trainable_vars format_ids Accumulator ids2str3D ids2str make_standardized_step TFOpNames sentence_bleu_scores trimmed_seq_list main ids2str3D_list TFRun evaluate squash_and_concat evaluate_scanning_RNN printVars ids2str_list load join initialize dump exists makeFormatter makeLogger Storer makeLogfileName readlines_to_sr setLogLevel sr_to_lines readlines_to_df seq2str makeTBDir makeLogDir ImageProcessor3 BatchContextIterator ImagenetProcessor VGGProcessor store_state ImagenetProcessor3 BatchImageIterator3 ImageProcessor3_BW split_dataset _get_data make_batch_list create_BW_image_iterators ImageProcessor ShuffleIterator BatchImageIterator2 restore_state create_context_iterators create_imagenet_iterators BatchImageIterator1 instanceof NoneProperties issequenceofOrNone squashed_seq_list Params either iscallableOrNone static_vars ParamsValueError diff_dict isMutable LambdaVal equalto Properties_Factory to_set integer integerOrNone to_picklable_dict LinkedParam _ParamValidator instanceofOrNone issequenceof diff_table iscallable decimalOrNone sentence_bleu_scores pformat _type_range_incl Properties _mandatoryValidator _anyok ParamDesc issequence corpus_bleu_score get_dupes to_flat_dict OneValError Undefined isTupleOrList corpus_bleu_score_sq HyperParams AccessDeniedError decimal PDTuple range_incl Props Props3 TestCaseBase Props2 PropertiesTest disp_matched_strs get_strs rmheads disp_unmatched disp_rand_sample verbatim rmtails strip_image_name DISP_ALPHA get_unmatched_images disp_matched_strs2 flatten TensorboardParams DropoutLayer ConvStack ConvStackParams nested_tf_shape edit_distance2D_sparse dense_to_sparse3D tensor Activation FCLayer squash_2d sizeofVar CommonParams ctc_loss MLPStack ConvLayer seqlens group2D DropoutParams MLPParams ConvLayerParams RNNWrapper edit_distance2D dense_to_sparse2D expand_nested_shape RNNParams FCLayerParams MaxpoolLayer _dense_to_sparse get_nested_shape edit_distance3D squash_3d summarize_layer ActivationParams batch_slice MaxpoolParams add_to_collection batch_bottom_k_2D batch_top_k_2D printVars plotImage plotImages VisualizeStep VisualizeDir Table TBSummaryReader CustomConvnetImageProcessor trim_image VGGnetProcessor DiffParams compare_images EvalRuns CALSTM CALSTMParams Im2LatexModelParams pad_image_shape GlobalParams make_hyper Im2LatexModel build_vgg_context sync_training_towers build_convnet sync_testing_towers dynamic_decode _create_zero_outputs average_gradients do main process_args img_edit_distance_file process_args img_edit_distance main trim_image main process_args StringMatcher main process_args main_parallel main process_args output_err main_parallel fast_comp ilevenshtein ifast_comp lcsubstrings nlevenshtein levenshtein hamming jaccard sorensen iquick_levenshtein quick_levenshtein main process_args main process_args main is_ascii process_args main process_args main_parallel downsample_image pad_group_image crop_image run join B raw_data_folder sample read_pickle info append max logger vgg16_folder Graph image_folder raw_data_folder get_df BatchImageIterator2 make_hyper pformat info load join vgg16_folder batch_size image_folder add_argument raw_data_folder run_convnet partial_batch ArgumentParser parse_args data_folder Properties makeLogger tb_logdir doValidate makeLogfileName argv addHandler queue_capacity doTest restore_logdir freeze logdir setFormatter dump logdir_tag makeFormatter logging_level make_hyper pformat alpha info makeTBDir FileHandler storedir setLogLevel makeLogDir trainable_variables sizeofVar trainable_variables sizeofVar info data_reader_B initialize logger raw_data_dir Graph make_standardized_step debug reduce extend range len len reduce extend squashed_seq_list enumerate append range ids2str len expand_dims seq2str append ids2str3D range len append range seq2str len apply_along_axis data_reader_B ctc_len predicted_ids_list run Accumulator append tb_agg_logs range _set_flags_after_validation mean sentence_bleu_scores run_ops info predicted_lens flush time TFRun extend y_ctc_list add_summary save_all_eval batch_size eval_ops ctc_len sq_predicted_ids logs_agg_top1 bok_seq_lens Accumulator top1_ids_list top1_lens append update eval_it standardized_step TFOpNames _set_flags_after_validation sentence_bleu_scores trim_target_ids run_ops info flush time TFRun bok_ids_list corpus_bleu_score extend log_bok y_ctc_list logs_agg_bok sq_bok_ids save_all_eval add_summary setLevel setFormatter makeFormatter addHandler StreamHandler setLogLevel Logger load list len frompyfunc keys CTCBlankTokenID i2w_ufunc join listdir basename range splitext makedirs makeLogfileName join strftime makedirs print print sorted extend shuffle unique sample range len load dump int items store_state warn drop index make_batch_list info sample restore_state logdir exists get_bin_counts join logger split_dataset warn data_reader_B read_pickle info assert_whole_batch exists Properties num_steps BatchContextIterator valid_seq_fname df_test df_train test_seq_fname _get_data doTest train_seq_fname num_epochs df_valid valid_sq_seq_fname test_sq_seq_fname train_sq_seq_fname num_steps valid_seq_fname df_test BatchImageIterator3 df_train image_dir test_seq_fname _get_data doTest train_seq_fname ImagenetProcessor3 num_epochs df_valid valid_sq_seq_fname test_sq_seq_fname train_sq_seq_fname num_steps valid_seq_fname df_test BatchImageIterator3 ImageProcessor3_BW df_train image_dir test_seq_fname _get_data doTest train_seq_fname num_epochs df_valid valid_sq_seq_fname test_sq_seq_fname train_sq_seq_fname isinstance isinstance append trim_zeros enumerate sentence_bleu append squashed_seq_list enumerate debug squashed_seq_list len debug len items enumerate list isinstance issequence _get_unvalidated_val keys get_repr to_picklable_dict sorted list extract_keys reshape set filter to_set to_flat_dict isinstance strip replace replace VisualizeStep VisualizeDir strs replace display VisualizeStep makeLogger VisualizeDir alpha DataFrame strs replace join read_pickle join read_pickle join read_pickle join read_pickle int_shape issequence hasattr int_shape name int_shape critical gather_nd logical_and where not_equal batch_top_k_2D int_shape reshape stack int_shape range append warn basename set_title set_xlim imshow set_ylim close namedtuple print len asarray print convert len append listdir trim_image enumerate proto proto update updated GlobalParams freeze Properties namedtuple min seq2seq_beam_width concat reduce_mean zip append expand_dims rmtail print putenv repr system parse_args add_argument ArgumentParser check_output process_args setLevel open basicConfig label_path dirname close StreamHandler realpath INFO result_path setdefault write data_path Formatter img_edit_distance_file basename append images_dir glob float flush fileno fsync int uint8 asarray join transpose StringMatcher astype levenshtein get_opcodes append make_strs trim_image enumerate convert exists set_defaults map ThreadPool num_threads output_dir makedirs remove system readlines info output_err replace exists end strip finditer crop_image run levenshtein fast_comp append list array range int list min array range list min array max range sum len sorted list keys image_dir filter output_path decode remove move error call output_file input_file pad_group_image downsample_image info len buckets postfix loads input_dir downsample_ratio crop_blank_default_size pad_size max asarray convert min where save crop new paste save open range len LANCZOS size save resize open communicate start Popen Timer | untrix/im2latex | 3,966 |
uoguelph-mlrg/confidence_estimation | ['out of distribution detection'] | ['Learning Confidence for Out-of-Distribution Detection in Neural Networks'] | train.py utils/utils.py out_of_distribution_detection.py utils/datasets.py models/vgg.py models/densenet.py models/wideresnet.py utils/ood_metrics.py evaluate DenseNet3 TransitionBlock BottleneckBlock DenseBlock BasicBlock VGG BasicBlock NetworkBlock WideResNet UniformNoise GaussianNoise detection tpr95 encode_onehot Cutout CSVLogger data zero_grad sign max cuda view append retain_grad CrossEntropyLoss concatenate xent grad mean softmax T backward Variable sigmoid cnn numpy epsilon arange min float sum max len minimum arange min append float sum max len data view FloatTensor scatter_ zero_ cuda is_cuda | uoguelph-mlrg/confidence_estimation | 3,967 |
urban-resilience-lab/covid-county-prediction | ['time series'] | ['DeepCOVIDNet: An Interpretable Deep Learning Model for Predictive Surveillance of COVID-19 Using Heterogeneous Features and their Interactions'] | deepcovidnet/config/model_hyperparam_config.py deepcovidnet/FeatureAnalyzer.py deepcovidnet/GeometryUtility.py tests/test_baseRunner.py deepcovidnet/DataLoader.py deepcovidnet/config/CovidCountyDatasetConfig.py deepcovidnet/config/HyperparametersConfig.py deepcovidnet/DeepFM.py deepcovidnet/config/base_config.py deepcovidnet/config/RawFeaturesConfig.py deepcovidnet/config/CountyWiseTimeDependentFeaturesConfig.py deepcovidnet/TimeDependentFeatures.py deepcovidnet/Hyperparameters.py deepcovidnet/HypotheticalDatasets.py deepcovidnet/utils.py deepcovidnet/config/BaseRunnerConfig.py deepcovidnet/OrdinalCovidRunner.py deepcovidnet/ConstantFeatures.py deepcovidnet/config/GeometryUtilityConfig.py deepcovidnet/Visualizer.py deepcovidnet/RawFeatureExtractor.py deepcovidnet/DataSaver.py deepcovidnet/CovidCoralModule.py deepcovidnet/CountyWiseTimeDependentFeatures.py deepcovidnet/CovidExperiment.py deepcovidnet/main.py deepcovidnet/config/DataSaverConfig.py deepcovidnet/config/RawFeatureExtractorConfig.py deepcovidnet/CovidCountyDataset.py deepcovidnet/CoralRunner.py deepcovidnet/FeaturesList.py deepcovidnet/CovidModule.py deepcovidnet/CovidRunner.py deepcovidnet/config/features_config.py deepcovidnet/EmbeddingModule.py setup.py deepcovidnet/RawFeatures.py deepcovidnet/config/FeatureAnalyzerConfig.py deepcovidnet/config/global_config.py deepcovidnet/BaseRunner.py deepcovidnet/config/VisualizerConfig.py BaseRunner ConstantFeatures CoralRunner CountyWiseTimeDependentFeatures CoralClassifier CovidCoralModule CovidCountyDataset CovidExperiment CovidModule get_default_net CovidRunner DataLoader DataSaver BaseDeepProcessor TunableDeepProcessor FixedDeepProcessor DeepFM EmbeddingModule FeatureAnalyzer AnalysisType FeaturesList GeometryUtility Hyperparameter HyperparametersSingleton HPLevel HypotheticalMobilityDataset HypotheticalDataset HypotheticalHomeDwellTimeDataset get_runner get_analysis_type add_args get_train_val_test_datasets main get_train_val_test_loaders OrdinalCrossEntropy OrdinalBCEWithLogitsLoss get_ordinal_labels OrdinalCovidRunner CustomLoss get_class_prob RawFeatureExtractor RawFeatures TimeDependentFeatures AverageMeter timed_logger_decorator ProgressMeter Visualizer Config get_cached_tensors_path FeatureSaver get_ranks_file get_county_name_to_iloc get_county_info get_iloc_to_county get_best_tune_file add_hyperparameters ReaderConfig get_aggregate_dict FeatureType TestBaseRunner auto val_end_date train_end_date means_stds data_start_date CovidCountyDataset data_end_date get_train_val_test_datasets DataLoader add_argument array analysis_type load_hps save_cache_on_disk ArgumentParser labels_key CovidExperiment setLevel open exp data_dir set_static_val data_save_dir FeatureAnalyzer parse_args get_best_tune_file tune get_train_val_test_loaders dump get_runner test add_args get_train_val_test_datasets date INFO load pop get_ranked_features print get_analysis_type DataSaver runner train mode num_classes sigmoid is_available zeros cuda range is_available zeros cuda num_classifiers enumerate join exists info mkdir join data_save_dir now set_index counties_save_path to_csv index exists drop append name range range mkdir join data_save_dir now auto | urban-resilience-lab/covid-county-prediction | 3,968 |
urban-resilience-lab/deepcovidnet | ['time series'] | ['DeepCOVIDNet: An Interpretable Deep Learning Model for Predictive Surveillance of COVID-19 Using Heterogeneous Features and their Interactions'] | deepcovidnet/config/model_hyperparam_config.py deepcovidnet/FeatureAnalyzer.py deepcovidnet/GeometryUtility.py tests/test_baseRunner.py deepcovidnet/DataLoader.py deepcovidnet/config/CovidCountyDatasetConfig.py deepcovidnet/config/HyperparametersConfig.py deepcovidnet/DeepFM.py deepcovidnet/config/base_config.py deepcovidnet/config/RawFeaturesConfig.py deepcovidnet/config/CountyWiseTimeDependentFeaturesConfig.py deepcovidnet/TimeDependentFeatures.py deepcovidnet/Hyperparameters.py deepcovidnet/HypotheticalDatasets.py deepcovidnet/utils.py deepcovidnet/config/BaseRunnerConfig.py deepcovidnet/OrdinalCovidRunner.py deepcovidnet/ConstantFeatures.py deepcovidnet/config/GeometryUtilityConfig.py deepcovidnet/Visualizer.py deepcovidnet/RawFeatureExtractor.py deepcovidnet/DataSaver.py deepcovidnet/CovidCoralModule.py deepcovidnet/CountyWiseTimeDependentFeatures.py deepcovidnet/CovidExperiment.py deepcovidnet/main.py deepcovidnet/config/DataSaverConfig.py deepcovidnet/config/RawFeatureExtractorConfig.py deepcovidnet/CovidCountyDataset.py deepcovidnet/CoralRunner.py deepcovidnet/FeaturesList.py deepcovidnet/CovidModule.py deepcovidnet/CovidRunner.py deepcovidnet/config/features_config.py deepcovidnet/EmbeddingModule.py setup.py deepcovidnet/RawFeatures.py deepcovidnet/config/FeatureAnalyzerConfig.py deepcovidnet/config/global_config.py deepcovidnet/BaseRunner.py deepcovidnet/config/VisualizerConfig.py BaseRunner ConstantFeatures CoralRunner CountyWiseTimeDependentFeatures CoralClassifier CovidCoralModule CovidCountyDataset CovidExperiment CovidModule get_default_net CovidRunner DataLoader DataSaver BaseDeepProcessor TunableDeepProcessor FixedDeepProcessor DeepFM EmbeddingModule FeatureAnalyzer AnalysisType FeaturesList GeometryUtility Hyperparameter HyperparametersSingleton HPLevel HypotheticalMobilityDataset HypotheticalDataset HypotheticalHomeDwellTimeDataset get_runner get_analysis_type add_args get_train_val_test_datasets main get_train_val_test_loaders OrdinalCrossEntropy OrdinalBCEWithLogitsLoss get_ordinal_labels OrdinalCovidRunner CustomLoss get_class_prob RawFeatureExtractor RawFeatures TimeDependentFeatures AverageMeter timed_logger_decorator ProgressMeter Visualizer Config get_cached_tensors_path FeatureSaver get_ranks_file get_county_name_to_iloc get_county_info get_iloc_to_county get_best_tune_file add_hyperparameters ReaderConfig get_aggregate_dict FeatureType TestBaseRunner auto val_end_date train_end_date means_stds data_start_date CovidCountyDataset data_end_date get_train_val_test_datasets DataLoader add_argument array analysis_type load_hps save_cache_on_disk ArgumentParser labels_key CovidExperiment setLevel open exp data_dir set_static_val data_save_dir FeatureAnalyzer parse_args get_best_tune_file tune get_train_val_test_loaders dump get_runner test add_args get_train_val_test_datasets date INFO load pop get_ranked_features print get_analysis_type DataSaver runner train mode num_classes sigmoid is_available zeros cuda range is_available zeros cuda num_classifiers enumerate join exists info mkdir join data_save_dir now set_index counties_save_path to_csv index exists drop append name range range mkdir join data_save_dir now auto | urban-resilience-lab/deepcovidnet | 3,969 |
ushasi/CMIR-NET-A-deep-learning-based-model-for-cross-modal-retrieval-in-remote-sensing | ['image retrieval', 'information retrieval', 'cross modal retrieval'] | ['CMIR-NET : A Deep Learning Based Model For Cross-Modal Retrieval In Remote Sensing'] | pan-mul/mspan.py pan-mul/Unified_XY.py img-speech/imgspeech.py img-speech/Unified_XY.py pan-mul/UxUyLoader.py pan-mul/Pretrain_panY.py pan-mul/Pretrain_mulX.py load_imgspeech_dataset load_mspan_dataset lrelu save_model load_model conv2d maxpool2d conv_netx load_uxuy_dataset print transpose squeeze loadmat array print squeeze File array bias_add dropout relu reshape matmul add conv2d batch_normalization maxpool2d latest_checkpoint int restore print latest_checkpoint print save makedirs print squeeze loadmat array | ushasi/CMIR-NET-A-deep-learning-based-model-for-cross-modal-retrieval-in-remote-sensing | 3,970 |
usimarit/TiramisuASR | ['speech enhancement'] | ['SEGAN: Speech Enhancement Generative Adversarial Network'] | scripts/create_tfrecords.py tensorflow_asr/utils/file_util.py tensorflow_asr/utils/feature_util.py tensorflow_asr/models/transducer/contextnet.py tensorflow_asr/losses/rnnt_loss.py tensorflow_asr/augmentations/methods/base_method.py examples/deepspeech2/train.py examples/deepspeech2/tflite.py tensorflow_asr/models/transducer/rnn_transducer.py examples/rnn_transducer/train.py tests/featurizer/test_sentencepiece.py scripts/generate_vocab_subwords.py scripts/generate_metadata.py examples/contextnet/tflite.py tensorflow_asr/models/layers/row_conv_1d.py tensorflow_asr/configs/config.py examples/deepspeech2/test.py tensorflow_asr/models/encoders/contextnet.py examples/conformer/inference/run_tflite_model.py examples/rnn_transducer/tflite.py tensorflow_asr/models/layers/point_wise_ffn.py examples/demonstration/rnn_transducer.py tensorflow_asr/models/encoders/conformer.py tensorflow_asr/models/layers/bnlstmcell.py tests/rnn_transducer/test_rnn_transducer.py examples/conformer/inference/gen_tflite_model.py examples/contextnet/test.py tensorflow_asr/featurizers/methods/gammatone.py tests/deepspeech2/test_ds2.py setup.py tensorflow_asr/featurizers/speech_featurizers.py tensorflow_asr/utils/env_util.py examples/conformer/test.py tensorflow_asr/utils/data_util.py tensorflow_asr/losses/ctc_loss.py examples/conformer/inference/run_saved_model.py tensorflow_asr/datasets/asr_dataset.py tensorflow_asr/models/ctc/deepspeech2.py tensorflow_asr/metrics/error_rates.py scripts/create_vocab_from_trans.py tensorflow_asr/utils/layer_util.py tensorflow_asr/models/ctc/jasper.py tensorflow_asr/models/transducer/base_transducer.py tensorflow_asr/utils/metric_util.py tensorflow_asr/augmentations/augmentation.py tensorflow_asr/models/layers/subsampling.py tensorflow_asr/datasets/base_dataset.py examples/jasper/test.py tensorflow_asr/optimizers/accumulation.py tests/losses/test_rnnt_loss.py tensorflow_asr/models/layers/multihead_attention.py examples/contextnet/train.py tensorflow_asr/augmentations/methods/specaugment.py tensorflow_asr/utils/shape_util.py scripts/generate_vocab_sentencepiece.py tensorflow_asr/models/layers/sequence_wise_bn.py tensorflow_asr/utils/app_util.py examples/jasper/tflite.py tensorflow_asr/optimizers/schedules.py tensorflow_asr/models/layers/embedding.py tests/jasper/test_jasper.py examples/demonstration/tflite_conformer.py examples/jasper/train.py scripts/saved_model_to_weights.py tensorflow_asr/utils/math_util.py scripts/create_mls_trans.py tensorflow_asr/models/layers/positional_encoding.py tests/conformer/test_conformer.py tensorflow_asr/models/activations/glu.py examples/conformer/inference/gen_saved_model.py examples/demonstration/conformer.py scripts/create_librispeech_trans.py examples/rnn_transducer/test.py tensorflow_asr/models/ctc/base_ctc.py tensorflow_asr/models/base_model.py tensorflow_asr/models/transducer/conformer.py examples/conformer/train.py tensorflow_asr/featurizers/text_featurizers.py examples/demonstration/streaming_tflite_conformer.py tests/contextnet/test_contextnet.py parse_requirements ConformerModule recognizer int_or_str send prepare_split make_alphabet_file Augmentation AugmentationMethod TimeMasking FreqMasking Config DecoderConfig LearningConfig RunningConfig DatasetConfig ASRTFRecordDataset ASRDataset ASRSliceDataset BaseDataset preemphasis normalize_signal tf_normalize_signal tf_read_raw_audio normalize_audio_feature TFSpeechFeaturizer tf_normalize_audio_features tf_preemphasis depreemphasis tf_depreemphasis SpeechFeaturizer slice_signal merge_slices tf_merge_slices NumpySpeechFeaturizer load_and_convert_to_wav read_raw_audio SentencePieceFeaturizer SubwordFeaturizer TextFeaturizer CharFeaturizer fft_weights erb_point make_erb_filters erb_space ctc_loss CtcLoss rnnt_loss_warprnnt transition_probs RnntLoss reduce_logsumexp nan_to_zero compute_rnnt_loss_and_grad_helper backward_dp extract_diagonals forward_dp rnnt_loss_tf rnnt_loss ErrorRate BaseModel GLU CtcModel RnnBlock DeepSpeech2 Reshape RnnModule ConvModule FcModule DeepSpeech2Encoder FcBlock ConvBlock Jasper JasperBlock Reshape JasperEncoder JasperResidual JasperSubBlockResidual JasperSubBlock ConvModule ConformerBlock ConformerEncoder MHSAModule FFModule Reshape ConvModule get_activation ContextNetEncoder ConvBlock SEModule ds2_rnn_batch_norm BNLSTMCell Embedding MultiHeadAttention RelPositionMultiHeadAttention PointWiseFFN PositionalEncodingConcat PositionalEncoding RowConv1D SequenceBatchNorm TimeReduction Conv2dSubsampling VggSubsampling Transducer TransducerPrediction TransducerJoint TransducerJointReshape Conformer ContextNet RnnTransducerBlock RnnTransducerEncoder RnnTransducer Reshape GradientAccumulation CyclicTransformerSchedule SANSchedule BoundExponentialDecay TransformerSchedule evaluate_results create_inputs create_labels create_logits setup_environment setup_strategy setup_tpu has_devices setup_devices float_feature bytestring_feature int64_feature load_yaml is_cloud_path is_hdf5_filepath save_file read_file preprocess_paths get_conv get_rnn pad_prediction_tfarray nan_to_zero count_non_blank merge_repeated find_max_length_prediction_tfarray get_reduced_length log10 get_num_batches merge_two_last_dims bytes_to_string execute_cer tf_cer wer cer execute_wer get_float_spec get_shape_invariants shape_list test_conformer test_contextnet test_ds2 test_featurizer test_encoder test_iextract test_jasper WarpRNNTTest test_streaming_transducer pop defaultdict strip startswith append get blank get_input_details ones print resize_tensor_input get_output_details Interpreter recognize allocate_tensors zeros join print load expanduser load read BytesIO ndarray isinstance ValueError resample mean asfortranarray expanduser resample decode_wav int list pad zip append range mean sqrt var sqrt reduce_mean reduce_variance abs max abs reduce_max expand_dims zeros range make_erb_filters float32 complex64 sqrt pad cast abs conj exp log ones_like exp cos complex64 sqrt stack cast sin abs log_softmax warp_rnnt_loss reduce_max nan_to_zero pad reverse matrix_diag_part_v2 multiply reduce_sum concat transpose scan reverse matrix_diag_part_v2 nan_to_zero one_hot sequence_mask transpose scan reverse expand_dims matrix_diag_part_v2 zeros_like concat where exp sequence_mask ones reduce_sum extract_diagonals gather_nd cast forward_dp expand_dims range transition_probs one_hot log_softmax backward_dp stack tile equal is_nan reshape scatter_nd lower batch_normalization concat moments split convert_to_tensor items list update_state tqdm info split simplefilter setLevel INFO list_physical_devices set_visible_devices info experimental_connect_to_cluster initialize_tpu_system TPUClusterResolver info setup_devices isinstance add_implicit_resolver list SafeLoader X compile isinstance makedirs splitext splitext constant log shape_list while_loop reshape constant list len set dict zip range bytes_to_string split bytes_to_string zip row_lengths bytes_split edit_distance cast to_sparse as_list shape shape_list get_shape_invariants Config blank Interpreter invoke set_tensor speech_config add_featurizers resize_tensor_input shape CharFeaturizer normal get_tensor Conformer TFSpeechFeaturizer info allocate_tensors make constant get_concrete_function get_input_details convert get_output_details summary zeros from_concrete_functions decoder_config Config blank Interpreter invoke set_tensor speech_config add_featurizers resize_tensor_input shape CharFeaturizer normal get_tensor TFSpeechFeaturizer info allocate_tensors make constant ContextNet get_concrete_function get_input_details convert get_output_details summary zeros from_concrete_functions decoder_config Config make DeepSpeech2 info get_concrete_function convert TFSpeechFeaturizer shape speech_config add_featurizers summary from_concrete_functions decoder_config CharFeaturizer load join encode_as_pieces decode_ids decode_pieces SentencePieceProcessor dirname abspath encode_as_ids pardir join TFSpeechFeaturizer get_data dirname abspath load_from_file pardir join ASRSliceTestDataset create decode print search TFSpeechFeaturizer iextract lower sub dirname abspath iter next load_from_file Config make info get_concrete_function convert TFSpeechFeaturizer shape from_concrete_functions speech_config add_featurizers summary Jasper decoder_config CharFeaturizer Config blank Interpreter invoke set_tensor speech_config RnnTransducer add_featurizers resize_tensor_input shape CharFeaturizer normal get_tensor TFSpeechFeaturizer info allocate_tensors make constant get_concrete_function get_input_details convert get_output_details summary zeros from_concrete_functions decoder_config | usimarit/TiramisuASR | 3,971 |
usimarit/vnasr | ['speech enhancement'] | ['SEGAN: Speech Enhancement Generative Adversarial Network'] | scripts/create_tfrecords.py tensorflow_asr/utils/file_util.py tensorflow_asr/utils/feature_util.py tensorflow_asr/models/transducer/contextnet.py tensorflow_asr/losses/rnnt_loss.py tensorflow_asr/augmentations/methods/base_method.py examples/deepspeech2/train.py examples/deepspeech2/tflite.py tensorflow_asr/models/transducer/rnn_transducer.py examples/rnn_transducer/train.py tests/featurizer/test_sentencepiece.py scripts/generate_vocab_subwords.py scripts/generate_metadata.py examples/contextnet/tflite.py tensorflow_asr/models/layers/row_conv_1d.py tensorflow_asr/configs/config.py examples/deepspeech2/test.py tensorflow_asr/models/encoders/contextnet.py examples/conformer/inference/run_tflite_model.py examples/rnn_transducer/tflite.py tensorflow_asr/models/layers/point_wise_ffn.py examples/demonstration/rnn_transducer.py tensorflow_asr/models/encoders/conformer.py tensorflow_asr/models/layers/bnlstmcell.py tests/rnn_transducer/test_rnn_transducer.py examples/conformer/inference/gen_tflite_model.py examples/contextnet/test.py tensorflow_asr/featurizers/methods/gammatone.py tests/deepspeech2/test_ds2.py setup.py tensorflow_asr/featurizers/speech_featurizers.py tensorflow_asr/utils/env_util.py examples/conformer/test.py tensorflow_asr/utils/data_util.py tensorflow_asr/losses/ctc_loss.py examples/conformer/inference/run_saved_model.py tensorflow_asr/datasets/asr_dataset.py tensorflow_asr/models/ctc/deepspeech2.py tensorflow_asr/metrics/error_rates.py scripts/create_vocab_from_trans.py tensorflow_asr/utils/layer_util.py tensorflow_asr/models/ctc/jasper.py tensorflow_asr/models/transducer/base_transducer.py tensorflow_asr/utils/metric_util.py tensorflow_asr/augmentations/augmentation.py tensorflow_asr/models/layers/subsampling.py tensorflow_asr/datasets/base_dataset.py examples/jasper/test.py tensorflow_asr/optimizers/accumulation.py tests/losses/test_rnnt_loss.py tensorflow_asr/models/layers/multihead_attention.py examples/contextnet/train.py tensorflow_asr/augmentations/methods/specaugment.py tensorflow_asr/utils/shape_util.py scripts/generate_vocab_sentencepiece.py tensorflow_asr/models/layers/sequence_wise_bn.py tensorflow_asr/utils/app_util.py examples/jasper/tflite.py tensorflow_asr/optimizers/schedules.py tensorflow_asr/models/layers/embedding.py tests/jasper/test_jasper.py examples/demonstration/tflite_conformer.py examples/jasper/train.py scripts/saved_model_to_weights.py tensorflow_asr/utils/math_util.py scripts/create_mls_trans.py tensorflow_asr/models/layers/positional_encoding.py tests/conformer/test_conformer.py tensorflow_asr/models/activations/glu.py examples/conformer/inference/gen_saved_model.py examples/demonstration/conformer.py scripts/create_librispeech_trans.py examples/rnn_transducer/test.py tensorflow_asr/models/ctc/base_ctc.py tensorflow_asr/models/base_model.py tensorflow_asr/models/transducer/conformer.py examples/conformer/train.py tensorflow_asr/featurizers/text_featurizers.py examples/demonstration/streaming_tflite_conformer.py tests/contextnet/test_contextnet.py parse_requirements ConformerModule recognizer int_or_str send prepare_split make_alphabet_file Augmentation AugmentationMethod TimeMasking FreqMasking Config DecoderConfig LearningConfig RunningConfig DatasetConfig ASRTFRecordDataset ASRDataset ASRSliceDataset BaseDataset preemphasis normalize_signal tf_normalize_signal tf_read_raw_audio normalize_audio_feature TFSpeechFeaturizer tf_normalize_audio_features tf_preemphasis depreemphasis tf_depreemphasis SpeechFeaturizer slice_signal merge_slices tf_merge_slices NumpySpeechFeaturizer load_and_convert_to_wav read_raw_audio SentencePieceFeaturizer SubwordFeaturizer TextFeaturizer CharFeaturizer fft_weights erb_point make_erb_filters erb_space ctc_loss CtcLoss rnnt_loss_warprnnt transition_probs RnntLoss reduce_logsumexp nan_to_zero compute_rnnt_loss_and_grad_helper backward_dp extract_diagonals forward_dp rnnt_loss_tf rnnt_loss ErrorRate BaseModel GLU CtcModel RnnBlock DeepSpeech2 Reshape RnnModule ConvModule FcModule DeepSpeech2Encoder FcBlock ConvBlock Jasper JasperBlock Reshape JasperEncoder JasperResidual JasperSubBlockResidual JasperSubBlock ConvModule ConformerBlock ConformerEncoder MHSAModule FFModule Reshape ConvModule get_activation ContextNetEncoder ConvBlock SEModule ds2_rnn_batch_norm BNLSTMCell Embedding MultiHeadAttention RelPositionMultiHeadAttention PointWiseFFN PositionalEncodingConcat PositionalEncoding RowConv1D SequenceBatchNorm TimeReduction Conv2dSubsampling VggSubsampling Transducer TransducerPrediction TransducerJoint TransducerJointReshape Conformer ContextNet RnnTransducerBlock RnnTransducerEncoder RnnTransducer Reshape GradientAccumulation CyclicTransformerSchedule SANSchedule BoundExponentialDecay TransformerSchedule evaluate_results create_inputs create_labels create_logits setup_environment setup_strategy setup_tpu has_devices setup_devices float_feature bytestring_feature int64_feature load_yaml is_cloud_path is_hdf5_filepath save_file read_file preprocess_paths get_conv get_rnn pad_prediction_tfarray nan_to_zero count_non_blank merge_repeated find_max_length_prediction_tfarray get_reduced_length log10 get_num_batches merge_two_last_dims bytes_to_string execute_cer tf_cer wer cer execute_wer get_float_spec get_shape_invariants shape_list test_conformer test_contextnet test_ds2 test_featurizer test_encoder test_iextract test_jasper WarpRNNTTest test_streaming_transducer pop defaultdict strip startswith append get blank get_input_details ones print resize_tensor_input get_output_details Interpreter recognize allocate_tensors zeros join print load expanduser load read BytesIO ndarray isinstance ValueError resample mean asfortranarray expanduser resample decode_wav int list pad zip append range mean sqrt var sqrt reduce_mean reduce_variance abs max abs reduce_max expand_dims zeros range make_erb_filters float32 complex64 sqrt pad cast abs conj exp log ones_like exp cos complex64 sqrt stack cast sin abs log_softmax warp_rnnt_loss reduce_max nan_to_zero pad reverse matrix_diag_part_v2 multiply reduce_sum concat transpose scan reverse matrix_diag_part_v2 nan_to_zero one_hot sequence_mask transpose scan reverse expand_dims matrix_diag_part_v2 zeros_like concat where exp sequence_mask ones reduce_sum extract_diagonals gather_nd cast forward_dp expand_dims range transition_probs one_hot log_softmax backward_dp stack tile equal is_nan reshape scatter_nd lower batch_normalization concat moments split convert_to_tensor items list update_state tqdm info split simplefilter setLevel INFO list_physical_devices set_visible_devices info experimental_connect_to_cluster initialize_tpu_system TPUClusterResolver info setup_devices isinstance add_implicit_resolver list SafeLoader X compile isinstance makedirs splitext splitext constant log shape_list while_loop reshape constant list len set dict zip range bytes_to_string split bytes_to_string zip row_lengths bytes_split edit_distance cast to_sparse as_list shape shape_list get_shape_invariants Config blank Interpreter invoke set_tensor speech_config add_featurizers resize_tensor_input shape CharFeaturizer normal get_tensor Conformer TFSpeechFeaturizer info allocate_tensors make constant get_concrete_function get_input_details convert get_output_details summary zeros from_concrete_functions decoder_config Config blank Interpreter invoke set_tensor speech_config add_featurizers resize_tensor_input shape CharFeaturizer normal get_tensor TFSpeechFeaturizer info allocate_tensors make constant ContextNet get_concrete_function get_input_details convert get_output_details summary zeros from_concrete_functions decoder_config Config make DeepSpeech2 info get_concrete_function convert TFSpeechFeaturizer shape speech_config add_featurizers summary from_concrete_functions decoder_config CharFeaturizer load join encode_as_pieces decode_ids decode_pieces SentencePieceProcessor dirname abspath encode_as_ids pardir join TFSpeechFeaturizer get_data dirname abspath load_from_file pardir join ASRSliceTestDataset create decode print search TFSpeechFeaturizer iextract lower sub dirname abspath iter next load_from_file Config make info get_concrete_function convert TFSpeechFeaturizer shape from_concrete_functions speech_config add_featurizers summary Jasper decoder_config CharFeaturizer Config blank Interpreter invoke set_tensor speech_config RnnTransducer add_featurizers resize_tensor_input shape CharFeaturizer normal get_tensor TFSpeechFeaturizer info allocate_tensors make constant get_concrete_function get_input_details convert get_output_details summary zeros from_concrete_functions decoder_config | usimarit/vnasr | 3,972 |
uvavision/Double-Hard-Debias | ['word embeddings'] | ['Double-Hard Debias: Tailoring Word Embeddings for Gender Bias Mitigation'] | utils.py eval.py evaluate_ana evaluate_categorization evaluate_simi evaluate_cate evaluate_analogy_google evaluate_analogy_msr evaluate_similarity_pearson evaluate_analogy_semeval2012 evaluate_similarity train_and_predict p_value_sample topK extract_vectors has_digit norm_stand visualize pearson cluster_and_visualize p_value_exhust effect_size normalize s_group doPCA get_tuples_prof compute_corr association_diff similarity has_punct bias_by_neighbors limit_vocab s_word drop vectors from_dict list format isinstance print mean array vstack append word_id range len vectors from_dict format isinstance print mean array vstack append word_id range len from_dict iteritems format y evaluate_similarity isinstance print dict X len flatten vstack max vectors from_dict list append range format debug choice mean calculate_purity fit_predict enumerate isinstance print array len from_dict iteritems format y evaluate_categorization isinstance print dict X len int T arange print min dot flatten ceil zeros float sum array range len int T arange print min dot flatten ceil zeros float sum array range len print format from_dict T isinstance dict shape evaluate_analogy_google evaluate_analogy_msr zeros sum evaluate_analogy_semeval2012 any any list print tqdm set has_digit has_punct append zeros enumerate zeros T sum shape norm apply_along_axis dot print fit astype PCA mean append array range len list items sorted append append normalize append print text scatter fit_transform zip print fit_predict print len SVC float sum predict fit similarity append float sum len int list combinations print s_group set len similarity append float sum len association_diff append float sum std len seed int comb permutation s_group print min range len | uvavision/Double-Hard-Debias | 3,973 |
uvavision/DrillDown | ['image retrieval'] | ['Drill-down: Interactive Retrieval of Complex Scenes using Natural Language Queries'] | lib/modules/image_hred_trainer.py lib/modules/region_model.py lib/optim.py tools/eval_image.py tools/test_dataset.py tools/train_region.py lib/modules/ranker.py lib/datasets/vg.py lib/modules/region_encoder.py lib/visual_genome/api.py lib/modules/contrastive_loss.py lib/visual_genome/local.py lib/modules/image_model.py tools/demo.py lib/modules/grounding_loss.py lib/visual_genome/models.py lib/datasets/caption_template.py lib/modules/context_encoder.py lib/modules/image_encoder.py lib/vocab.py tools/save_region_features.py tools/train_image.py tools/html_writer.py tools/save_image_features.py tools/test_relative_captioning.py tools/test_modules.py tools/_init_paths.py lib/datasets/loader.py lib/modules/tirg_rnn.py lib/visual_genome/utils.py lib/utils.py lib/modules/text_encoder.py tools/create_html.py lib/config.py lib/logz.py lib/modules/region_grounding_model.py lib/modules/image_hred_model.py lib/modules/region_grounding_trainer.py tools/eval_region.py lib/visual_genome/__init__.py get_config str2bool save_params configure_output_dir G save_config colorize log_tabular dump_tabular Optimizer further_token_process natural_keys pickle_load paint_box xywhs_to_xyxys pad_sequence create_squared_image get_n_params reduce_similarities l1norm normalize_image l2norm xywh_to_xyxy clip_xyxys json_save xyxys_to_xywhs normalize_xywh atoi normalize_xywhs maybe_create prepare_directories xyxy_to_xywh clip_xyxy json_load unnormalize_image cosine_sim normalized_xywhs_to_xyxys pickle_save create_colormap paint_txt indices2onehots clamp_array Vocabulary region_collate_fn region_loader caption_loader caption_collate_fn vg ContextEncoder PolicyNet SoftContextEncoder ContrastiveLoss GroundingLoss ImageEncoder ImageHREDModel ImageHREDTrainer visualize ImageModel Ranker RegionEncoder RegionGroundingModel RegionGroundingTrainer visualize RegionModel TextEncoder TIRGRNNCell TIRGRNN get_QA_of_image get_image_data get_QA_of_type get_region_descriptions_of_image get_image_ids_in_range get_scene_graph_of_image get_region_graph_of_region get_all_QAs get_all_image_ids get_all_qas get_all_image_data get_scene_graphs get_scene_graphs_VRD init_synsets get_scene_graph map_object get_all_region_descriptions parse_graph_VRD add_attrs_to_scene_graphs save_scene_graphs_by_id parse_graph_local QA Object Image Graph QAObject Synset Attribute Region Relationship retrieve_data get_data_dir parse_QA parse_synset parse_image_data parse_region_descriptions parse_graph create_html_per_image create_text_reference_html create_img_reference_html main_rnn main_hred main_rl test_model test_model XML XHTML HTML TestCase dump_image_features maybe_create check_region_clses test_paragraph_loader test_vg_dataset test_caption_loader test_region_loader save_region_graphs_by_id test_region_encoder test_image_model test_image_hred_model test_tirg_rnn test_paragraph_model test_attention test_region_grounding_model test_text_encoder test_image_encoder test_region_model test_grounding_loss test_response_gen caption_3 caption_5 caption_1 caption_4 caption_2 train_model overfit_model test_model dump_trained_features train_model overfit_model test_model dump_trained_features add_path parse_known_args append str join print colorize name makedirs close output_dir register open append first_row get join clear hasattr print write first_row map append log_headers max flush makedirs join log_dir format maybe_create strftime model_dir exp_name set_line_width rectangle set_source_rgb stroke FontOptions select_font_face FONT_WEIGHT_BOLD set_source_rgb SUBPIXEL FONT_SLANT_ITALIC show_text move_to set_font_size set_font_options set_antialias ones reshape array maximum jet norm arange Normalize ndarray isinstance astype float32 copy append array range len size list parameters float size view scatter_ reshape transpose astype float32 copy minimum int uint8 reshape transpose astype maximum copy sqrt div abs div sum sum max array float max copy min max minimum maximum array transpose minimum transpose maximum max list stack zip long range len max list size zip float long range len items list set_palette extend set savefig append DataFrame relplot str retrieve_data extend retrieve_data range extend str retrieve_data parse_image_data str retrieve_data str get_image_data retrieve_data str get_image_data retrieve_data str get_image_data str retrieve_data get_image_data extend parse_QA str retrieve_data get_image_data extend parse_QA str retrieve_data get_image_data extend parse_QA load join get_data_dir open load join get_all_image_data get_data_dir parse_region_descriptions append open load join get_all_image_data get_data_dir parse_QA append open load str init_synsets parse_graph_local open int get_scene_graph relationships append listdir len Object format Object print map_object Attribute append Relationship load attributes relationships objects open load join str collect mkdir open load join collect copy append open Object Image Attribute append Relationship enumerate realpath join dirname json Object parse_synset Attribute append Relationship Image append Region append QA QAObject Synset join td table maybe_create img p print close vg scenedb open tr range HTML len td table print close vg scenedb open tr a range HTML len table img print close vg scenedb open tr a range HTML len demo_step color_path_from_index axis create_squared_image resize cuda show subplot vg IMREAD_COLOR imshow input append imread range astype eval RegionGroundingTrainer float uint8 suptitle print figure len demo_step color_path_from_index axis create_squared_image resize cuda show subplot vg IMREAD_COLOR imshow input append imread range astype eval RegionGroundingTrainer float uint8 suptitle print figure len demo_step color_path_from_index axis create_squared_image resize cuda show subplot ImageHREDTrainer vg IMREAD_COLOR imshow input append imread range astype eval float uint8 suptitle print figure len test vg ImageHREDTrainer RegionGroundingTrainer split set split set set join int pickle_save maybe_create print data_dir vg zfill DataLoader eval numpy ImageEncoder float caption_loader cuda enumerate time vg color_path_from_index batch_size axis model_dir DataLoader subplot vg IMREAD_COLOR imshow title savefig imread range maybe_create close float caption_loader long max_turns enumerate join time switch_backend print min figure color_path_from_index axis region_loader model_dir DataLoader create_squared_image subplot vg IMREAD_COLOR imshow title savefig xyxys_to_xywhs imread sum range maybe_create render_regions_as_output astype close float long enumerate join time uint8 switch_backend print min figure numpy len color_path_from_index axis region_loader model_dir DataLoader create_squared_image subplot vg IMREAD_COLOR imshow title savefig xyxys_to_xywhs imread sum range maybe_create render_regions_as_output astype close float long enumerate join time uint8 switch_backend print min figure numpy len join time str collect maybe_create print enumerate len max print min region_loader vg DataLoader item long enumerate randn print random_ attn_type Attention attention n_rnn_layers randn print TIRGRNN n_feature_dim float net print region_loader vg RegionEncoder DataLoader float long net enumerate print vg DataLoader ImageEncoder float caption_loader net enumerate view print size region_loader vg DataLoader float long net TextEncoder enumerate print vg DataLoader ImageModel float caption_loader long net enumerate compute_batch_mutual_similarity forward_loss explore_mode RegionModel print size region_loader vg loss_reduction_mode GroundingLoss DataLoader new_ones debug_compute_batch_mutual_similarity net enumerate loss time paragraph_loader evaluate print ParagraphModel vg named_parameters DataLoader unsqueeze train net enumerate time explore_mode RegionModel print region_loader vg named_parameters DataLoader train net enumerate forward_loss evaluate ImageHREDModel print float vg named_parameters DataLoader train caption_loader long net enumerate explore_mode region_loader pretrained DataLoader data_dir vg load_state_dict size final_loss float long net enumerate load join evaluate print RegionGroundingModel named_parameters new_ones train permutation range len permutation range len list permutation keys range len permutation range len list permutation keys range len caption_1 HTML open p vg append range collect_mentioned_candidates maybe_create img caption_5 close td tr caption_4 caption_2 join time items table RelativeCaptioner caption_3 print collect_unmentioned_candidates len train vg ImageHREDTrainer train vg ImageHREDTrainer test vg ImageHREDTrainer RegionGroundingTrainer RegionGroundingTrainer RegionGroundingTrainer insert | uvavision/DrillDown | 3,974 |
uwjunqi/Pytorch-Tensor-Train-Network | ['speech enhancement'] | ['Exploring Deep Hybrid Tensor-to-Vector Network Architectures for Regression Based Speech Enhancement', 'Tensor-to-Vector Regression for Multi-channel Speech Enhancement based on Tensor-Train Network'] | speech/python-pesq/compute_pesq.py speech/train_cnn.py speech/feat_extract.py tc/tc_cores.py tc/tc_init.py image/ae_tt_beta.py tc/tc_utils.py speech/train_dnn.py vae/tt_vae.py vae/vae.py tc/tc_fc.py speech/synthesis_tt.py build/lib/tc/tc_math.py speech/extract_feat.py speech/synthesis_cnn.py speech/python-pesq/compute_pesq_mix.py tc/tc_math.py speech/train_tt.py speech/python-pesq/setup.py image/train_tt_image.py speech/synthesis_dnn.py speech/python-pesq/build/lib.linux-x86_64-3.5/pypesq/__init__.py speech/python-pesq/build/lib.linux-x86_64-3.6/pypesq/__init__.py build/lib/tc/tc_fc.py image/Test_AE.py speech/downsample.py speech/python-pesq/pypesq/__init__.py cnn/normalize.py build/lib/tc/tc_cores.py build/lib/tc/tc_init.py tc/tc_decomp.py build/lib/tc/tc_decomp.py setup.py speech/pesq_metric.py cnn/conv.py clean_raw_shape _infer_raw_shape _are_tt_cores_valid _infer_tt_ranks TensorTrain _orthogonalize_tt_cores_left_to_right to_tt_tensor _orthogonalize_tt_cores_right_to_left to_tt_matrix round_tt orthogonalize_tt_cores TTLinear ones_like matrix_zeros matrix_with_random_cores zeros_like matrix_ones glorot_initializer tensor_zeros tensor_with_random_cores lecun_initializer tensor_ones _validate_input_parameters random_matrix eye random_tensor he_initializer get_variables _add_tensor_cores quadratic_form _add_matrix_cores multiply transpose matmul add tt_dense_matmul dense_tt_matmul tt_tt_flat_inner flat_inner tt_tt_matmul full_tt frobenius_norm_squared renormalize_tt_cores frobenius_norm param ConvTrans2D DWConv1D ConvTrans1D Conv2D Conv1D DWConv2D ChannelWiseLayerNorm GlobalChannelLayerNorm build_norm tt_autoencoder show_rec tt_autoencoder tt_model train test downsample_16k recons_spectrum_phase extract_clean_feats extract_noisy_feats make_spectrum_phase recons_spec_phase make_spectrum_phase recons_spec_phase make_spectrum_phase recons_spec_phase make_spectrum_phase param cnn_model param dnn_model tt_model si_snr read_wav permute_si_snr si_snr read_wav permute_si_snr pesq pesq pesq expand_batch_dim _infer_batch_tt_ranks squeeze_batch_dim clean_raw_shape TensorTrainBatch _infer_raw_shape _are_tt_cores_valid _infer_tt_ranks _infer_batch_raw_shape _are_batch_tt_cores_valid TensorTrain _orthogonalize_tt_cores_left_to_right to_tt_tensor _orthogonalize_tt_cores_right_to_left to_tt_matrix _orthogonalize_batch_tt_cores_left_to_right _round_tt _round_batch_tt round orthogonalize_tt_cores TTLinear zeros_like random_tensor_batch tensor_with_random_cores lecun_initializer random_tensor matrix_zeros matrix_with_random_cores random_matrix_batch glorot_initializer tensor_zeros _validate_input_parameters random_matrix tensor_batch_with_random_cores ones_like matrix_ones matrix_batch_with_random_cores tensor_ones he_initializer get_variables eye _add_tensor_cores quadratic_form _add_matrix_cores multiply transpose _full_tt _full_tt_batch matmul add tt_dense_matmul dense_tt_matmul tt_tt_flat_inner flat_inner tt_tt_matmul renormalize_tt_cores frobenius_norm_squared full frobenius_norm is_batch_broadcasting_possible expand_batch_dim squeeze_batch_dim test train loss_function TTVAE train loss_function VAE test shape clean_raw_shape range len list shape append range len append range len list isinstance tuple squeeze append Tensor array range len svd reshape transpose min astype range shape any int32 append tensor mm diag len list to_tt_tensor reshape tuple astype flatten prod get_tt_ranks permute append tensor array range len int list get_raw_shape reshape mm is_tt_matrix shape get_tt_ranks tt_cores qr ndims range list get_raw_shape reshape mm is_tt_matrix t shape get_tt_ranks tt_cores qr ndims range svd list get_raw_shape reshape min astype is_tt_matrix mm range int32 tt_cores ndims diag any ones size _validate_input_parameters array range ones size _validate_input_parameters zeros array range ones size _validate_input_parameters vstack type array range list ones size _validate_input_parameters array range len list ones size _validate_input_parameters zeros array range len ones insert size astype normal_ _validate_input_parameters append array range list concatenate ones size astype normal_ _validate_input_parameters array range len is_tt_matrix get_raw_shape is_tt_matrix get_raw_shape ones insert size astype tensor_with_random_cores prod _validate_input_parameters append array list matrix_with_random_cores concatenate ones size astype prod _validate_input_parameters array len list ones prod _validate_input_parameters array len list ones prod _validate_input_parameters array len list ones prod _validate_input_parameters array len Parameter append ndims range ParameterList get_shape list get_raw_shape reshape reversed t shape get_tt_ranks ndims range einsum isinstance get_raw_shape get_tt_ranks permute append ndims range t transpose get_raw_shape reshape get_tt_ranks append ndims range einsum format print shape ndims range einsum get_shape int get_raw_shape reshape mm is_tt_matrix get_tt_ranks permute append ndims range is_tt_matrix ndims range einsum orthogonalize_tt_cores ndims range einsum exp isinstance ndims sqrt tt_cores append sum max enumerate get_raw_shape get_tt_ranks append zeros ndims range cat ndims get_raw_shape get_tt_ranks append type range cat _add_tensor_cores _add_matrix_cores is_tt_matrix get_tt_ranks append ndims range list get_raw_shape abs reshape is_tt_matrix sign pow get_tt_ranks tt_cores zip append tensor ndims range einsum len sum subplots view model size squeeze imshow set_visible numpy iter zip to next format view model backward print nll_loss dataset zero_grad item step enumerate len format print eval dataset len join format print abspath run walk makedirs exp angle stft reshape log10 abs sqrt multiply istft frame_size reshape empty close frame_size empty close sqrt multiply istft float read mean inner vec_l2norm list permutations si_snr_avg append range len int16 _pesq astype array abs max shape clean_raw_shape range len list shape append range len append range len hasattr squeeze append ndims range list batch_size get_raw_shape reshape mm is_tt_matrix shape get_tt_ranks tt_cores qr ndims range isinstance svd list get_raw_shape reshape min astype is_tt_matrix mm range int32 tt_cores ndims diag svd list batch_size get_raw_shape reshape min astype is_tt_matrix mm range int32 tt_cores ndims diag isinstance ones insert size astype normal_ _validate_input_parameters append array range list format concatenate ones tuple size print astype normal_ _validate_input_parameters array range len tensor_batch_with_random_cores ones insert size astype prod _validate_input_parameters append array list concatenate ones size astype matrix_batch_with_random_cores prod _validate_input_parameters array len tanh relu sigmoid batch_size tanh format isinstance batch_size relu sigmoid squeeze_batch_dim isinstance squeeze_batch_dim get_shape int get_raw_shape reshape mm is_tt_matrix get_tt_ranks permute append ndims range get_shape batch_size get_raw_shape reshape is_tt_matrix get_tt_ranks permute append ndims range einsum isinstance format isinstance mul shape zeros len batch_size is_batch_broadcasting_possible squeeze format equal isinstance unsqueeze exp view binary_cross_entropy pow sum loss_function to | uwjunqi/Pytorch-Tensor-Train-Network | 3,975 |
uwjunqi/Tensor-Train-Neural-Network | ['speech enhancement'] | ['Exploring Deep Hybrid Tensor-to-Vector Network Architectures for Regression Based Speech Enhancement', 'Tensor-to-Vector Regression for Multi-channel Speech Enhancement based on Tensor-Train Network'] | speech/python-pesq/compute_pesq.py speech/train_cnn.py speech/feat_extract.py tc/tc_cores.py tc/tc_init.py image/ae_tt_beta.py tc/tc_utils.py speech/train_dnn.py vae/tt_vae.py vae/vae.py tc/tc_fc.py speech/synthesis_tt.py build/lib/tc/tc_math.py speech/extract_feat.py speech/synthesis_cnn.py speech/python-pesq/compute_pesq_mix.py tc/tc_math.py speech/train_tt.py speech/python-pesq/setup.py image/train_tt_image.py speech/synthesis_dnn.py speech/python-pesq/build/lib.linux-x86_64-3.5/pypesq/__init__.py speech/python-pesq/build/lib.linux-x86_64-3.6/pypesq/__init__.py build/lib/tc/tc_fc.py image/Test_AE.py speech/downsample.py speech/python-pesq/pypesq/__init__.py cnn/normalize.py build/lib/tc/tc_cores.py build/lib/tc/tc_init.py tc/tc_decomp.py build/lib/tc/tc_decomp.py setup.py speech/pesq_metric.py cnn/conv.py clean_raw_shape _infer_raw_shape _are_tt_cores_valid _infer_tt_ranks TensorTrain _orthogonalize_tt_cores_left_to_right to_tt_tensor _orthogonalize_tt_cores_right_to_left to_tt_matrix round_tt orthogonalize_tt_cores TTLinear ones_like matrix_zeros matrix_with_random_cores zeros_like matrix_ones glorot_initializer tensor_zeros tensor_with_random_cores lecun_initializer tensor_ones _validate_input_parameters random_matrix eye random_tensor he_initializer get_variables _add_tensor_cores quadratic_form _add_matrix_cores multiply transpose matmul add tt_dense_matmul dense_tt_matmul tt_tt_flat_inner flat_inner tt_tt_matmul full_tt frobenius_norm_squared renormalize_tt_cores frobenius_norm param ConvTrans2D DWConv1D ConvTrans1D Conv2D Conv1D DWConv2D ChannelWiseLayerNorm GlobalChannelLayerNorm build_norm tt_autoencoder show_rec tt_autoencoder tt_model train test downsample_16k recons_spectrum_phase extract_clean_feats extract_noisy_feats make_spectrum_phase recons_spec_phase make_spectrum_phase recons_spec_phase make_spectrum_phase recons_spec_phase make_spectrum_phase param cnn_model param dnn_model tt_model si_snr read_wav permute_si_snr si_snr read_wav permute_si_snr pesq pesq pesq expand_batch_dim _infer_batch_tt_ranks squeeze_batch_dim clean_raw_shape TensorTrainBatch _infer_raw_shape _are_tt_cores_valid _infer_tt_ranks _infer_batch_raw_shape _are_batch_tt_cores_valid TensorTrain _orthogonalize_tt_cores_left_to_right to_tt_tensor _orthogonalize_tt_cores_right_to_left to_tt_matrix _orthogonalize_batch_tt_cores_left_to_right _round_tt _round_batch_tt round orthogonalize_tt_cores TTLinear zeros_like random_tensor_batch tensor_with_random_cores lecun_initializer random_tensor matrix_zeros matrix_with_random_cores random_matrix_batch glorot_initializer tensor_zeros _validate_input_parameters random_matrix tensor_batch_with_random_cores ones_like matrix_ones matrix_batch_with_random_cores tensor_ones he_initializer get_variables eye _add_tensor_cores quadratic_form _add_matrix_cores multiply transpose _full_tt _full_tt_batch matmul add tt_dense_matmul dense_tt_matmul tt_tt_flat_inner flat_inner tt_tt_matmul renormalize_tt_cores frobenius_norm_squared full frobenius_norm is_batch_broadcasting_possible expand_batch_dim squeeze_batch_dim test train loss_function TTVAE train loss_function VAE test shape clean_raw_shape range len list shape append range len append range len list isinstance tuple squeeze append Tensor array range len svd reshape transpose min astype range shape any int32 append tensor mm diag len list to_tt_tensor reshape tuple astype flatten prod get_tt_ranks permute append tensor array range len int list get_raw_shape reshape mm is_tt_matrix shape get_tt_ranks tt_cores qr ndims range list get_raw_shape reshape mm is_tt_matrix t shape get_tt_ranks tt_cores qr ndims range svd list get_raw_shape reshape min astype is_tt_matrix mm range int32 tt_cores ndims diag any ones size _validate_input_parameters array range ones size _validate_input_parameters zeros array range ones size _validate_input_parameters vstack type array range list ones size _validate_input_parameters array range len list ones size _validate_input_parameters zeros array range len ones insert size astype normal_ _validate_input_parameters append array range list concatenate ones size astype normal_ _validate_input_parameters array range len is_tt_matrix get_raw_shape is_tt_matrix get_raw_shape ones insert size astype tensor_with_random_cores prod _validate_input_parameters append array list matrix_with_random_cores concatenate ones size astype prod _validate_input_parameters array len list ones prod _validate_input_parameters array len list ones prod _validate_input_parameters array len list ones prod _validate_input_parameters array len Parameter append ndims range ParameterList get_shape list get_raw_shape reshape reversed t shape get_tt_ranks ndims range einsum isinstance get_raw_shape get_tt_ranks permute append ndims range t transpose get_raw_shape reshape get_tt_ranks append ndims range einsum format print shape ndims range einsum get_shape int get_raw_shape reshape mm is_tt_matrix get_tt_ranks permute append ndims range is_tt_matrix ndims range einsum orthogonalize_tt_cores ndims range einsum exp isinstance ndims sqrt tt_cores append sum max enumerate get_raw_shape get_tt_ranks append zeros ndims range cat ndims get_raw_shape get_tt_ranks append type range cat _add_tensor_cores _add_matrix_cores is_tt_matrix get_tt_ranks append ndims range list get_raw_shape abs reshape is_tt_matrix sign pow get_tt_ranks tt_cores zip append tensor ndims range einsum len sum subplots view model size squeeze imshow set_visible numpy iter zip to next format view model backward print nll_loss dataset zero_grad item step enumerate len format print eval dataset len join format print abspath run walk makedirs exp angle stft reshape log10 abs sqrt multiply istft frame_size reshape empty close frame_size empty close sqrt multiply istft float read mean inner vec_l2norm list permutations si_snr_avg append range len int16 _pesq astype array abs max shape clean_raw_shape range len list shape append range len append range len hasattr squeeze append ndims range list batch_size get_raw_shape reshape mm is_tt_matrix shape get_tt_ranks tt_cores qr ndims range isinstance svd list get_raw_shape reshape min astype is_tt_matrix mm range int32 tt_cores ndims diag svd list batch_size get_raw_shape reshape min astype is_tt_matrix mm range int32 tt_cores ndims diag isinstance ones insert size astype normal_ _validate_input_parameters append array range list format concatenate ones tuple size print astype normal_ _validate_input_parameters array range len tensor_batch_with_random_cores ones insert size astype prod _validate_input_parameters append array list concatenate ones size astype matrix_batch_with_random_cores prod _validate_input_parameters array len tanh relu sigmoid batch_size tanh format isinstance batch_size relu sigmoid squeeze_batch_dim isinstance squeeze_batch_dim get_shape int get_raw_shape reshape mm is_tt_matrix get_tt_ranks permute append ndims range get_shape batch_size get_raw_shape reshape is_tt_matrix get_tt_ranks permute append ndims range einsum isinstance format isinstance mul shape zeros len batch_size is_batch_broadcasting_possible squeeze format equal isinstance unsqueeze exp view binary_cross_entropy pow sum loss_function to | uwjunqi/Tensor-Train-Neural-Network | 3,976 |
uzairakbar/info-retrieval | ['word embeddings'] | ['Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddings'] | assignments/nico_work/assignment1_nico.py | uzairakbar/info-retrieval | 3,977 |
uzh-dqbm-cmi/auto-discern | ['misinformation'] | ['AutoDiscern: Rating the Quality of Online Health Information with Hierarchical Encoder Attention-based Neural Networks'] | tests/test_annotations.py tests/test_data_manager.py autodiscern/annotations.py autodiscern/data_processors/sentence_data_processor.py neural/predict_with_neural.py neural/utilities.py neural/model.py neural/data_processor.py posthoc_analysis/best_epochs.py posthoc_analysis/coverage_and_attended_sents.py tests/test_model.py neural/neural_discern_run_script.py autodiscern/experiments/Sent2Doc_2ClassProb.py posthoc_analysis/dataset_stats.py autodiscern/experiments/YA_Sent2Doc_2ClassProb.py sacred_experiments/doc_experiment.py autodiscern/experiments/hierarchical_sent_doc_experiment.py sacred_experiments/svm_doc_experiment.py autodiscern/__init__.py posthoc_analysis/interrater_agreement.py autodiscern/data_processors/sentence_no_mm_data_processor.py autodiscern/model.py neural/dataset.py tests/test_experiment.py validator_site/app.py sacred_experiments/aa_compare_experiment.py autodiscern/experiments/DocExperiment.py autodiscern/predictor.py neural/run_workflow.py autodiscern/experiment.py sacred_experiments/sentence_experiment.py autodiscern/experiments/TwoLevelSentenceExperiment.py autodiscern/data_processors/doc_data_processor.py autodiscern/lemmatization.py sacred_experiments/first_experiment.py autodiscern/predictors/DocPredictor.py tests/test_transformations.py autodiscern/data_processors/sentence_no_ammend_data_processor.py setup.py autodiscern/data_manager.py autodiscern/transformations.py autodiscern/medical_text_detection.py autodiscern/data_processors/doc_no_mm_data_processor.py replace_links_with_plain_text add_word_token_annotations add_inline_citations_annotations split_repeated_metamap_concepts allennlp_ner_tagger replace_ner_with_type_labels remove_punctuation extract_potential_references select_custom_ner_label amend_content_with_metamap_concepts amend_content_with_link_plain_text execute_spacy_ner add_ner_annotations evaluate_potential_references apply_inline_citation_regex replace_metamap_content_with_concept_name add_reference_annotations get_metamap_pos annotate_potential_references amend_content_with_ner_type_labels ammed_content_replace_bad_punctuation_encoding add_metamap_annotations prune_overlapping_metamap_details ner_tuples_to_html replace_bad_punctuation_encoding DataInterface DataInterfaceManager CSVDataInterface DataProcessorCacheManager TextDataInterface DillDataInterface DataManager PickleDataInterface DataProcessor ModelRun PartitionedExperiment LemmatizationWithPOSTagger Splitter Lemmatizer view_relevant_metamap_details test_determine_medical_yn_metamap integration_test determine_medical_yn_metamap compute_polarity neg_neutral_pos_category vectorize_link_type density_scatter_plot build_data_for_question_submodels tile_images_into_square vectorize_metamap continuous_regression get_feature_importances calc_accuracy calc_in_sample_accuracy test_model build_remaining_feature_vector compile_multiple_density_scatter_plots tile_images_into_rectangle_of_width show_top_features_importances calc_base_rate_accuracy compile_multiple_confusion_matrices tfidf_data compute_bibliography_feature compare_base_to_random_cv make_error_df plot_confusion_matrix zero_one_category vectorize_citations vectorize_html combine_features neg_pos_category run_random_cv get_score_for_question Predictor Transformer convert_list_of_dicts_to_dict_of_dicts get_id doc_data_preprocessor doc_no_mm_data_preprocessor sentence_data_preprocessor sentence_no_ammend_data_preprocessor sentence_no_mm_data_preprocessor DocLevelModelRun sents_to_doc_buckets_mean calc_avg_over_equal_parts mean_0_when_empty SentenceToDocModelRun SentenceLevelModelRun series_of_list_to_df_columns calc_avg_over_ten_parts SentenceToDocProbaModelRun calc_avg_over_equal_parts Sent2Doc_2ClassProb_Experiment mean_0_when_empty series_of_list_to_df_columns calc_avg_over_ten_parts sents_to_doc_buckets_mean mean_0_when_empty calc_avg_over_equal_parts SentenceToDocModelRun SentenceLevelModelRun TwoLevelSentenceExperiment series_of_list_to_df_columns calc_avg_over_ten_parts SentenceToDocProbaModelRun calc_avg_over_equal_parts Sent2Doc_2ClassProb_Experiment mean_0_when_empty series_of_list_to_df_columns calc_avg_over_ten_parts make_prediction generate_docpartition_per_question validate_q_docpartitions validate_doc_tensor_repr construct_load_dataloaders compute_class_weights_per_fold_ validate_partitions report_label_distrib PartitionDataTensor get_stratified_partitions compute_class_weights DocDataTensor DataDictProcessor get_model_numparams restrict_grad_ validate_rnn_output DocEncoder SentenceEncoder generate_sents_embeds_from_docs DocEncoder_MeanPooling Attention DocCategScorer BertEmbedder build_accuracy_dfs run_training_parallel verbose_print read_pickles run_training run_hyperparam_search write_sents_embeddings load_biobert_model highlight_attnw_over_sents get_performance_results evaluate_on_test_set build_doc_partitions check_for_metamap_files make_prediction identify_attended_senteces build_DataDictProcessor parse_prediction_results check_for_biobert_files create_prediction_qdoc_partitions biobert_predict embed_sentences test_make_prediction build_data_dict check_for_non_git_files run_predict retrieve_page_from_internet get_saved_config get_random_question_fold_per_hyperparam_exp generate_models_config train_val_run_one_question test_run hyperparam_model_search get_hyperparam_options HyperparamConfig build_q_config_map_from_train_val build_predictions_df hyperparam_model_search_parallel run_one_questions_hyperparam_search get_best_config_from_hyperparamsearch highlight_attnw_over_sents train_val_run validate_doc_attnw run_neural_discern predict_neural_discern get_index_argmax generate_hyperparam_space dump_dict_content return_attnw_over_sents compute_numtrials create_directory delete_directory perfmetric_report plot_roc_curve report_available_cuda_devices ReaderWriter plot_loss get_cuda_device_stats ModelScore get_device plot_precision_recall_curve classify list_mean my_main get_exp_id my_config my_main get_exp_id my_config my_main get_exp_id my_config my_main get_exp_id my_config my_main get_exp_id my_config TestAnnotations TestDataManager TestExperiment TestModel TestTransformations TestAcceptanceTransformation create_app WordTokenizer replace replace_bad_punctuation_encoding int list time format replace print get_instance resource_filename extract_concepts getattr _fields split append sort_values keys read_csv len replace_metamap_content_with_concept_name int split join sorted replace split_repeated_metamap_concepts reversed prune_overlapping_metamap_details get_metamap_pos enumerate append split get_metamap_pos enumerate replace_links_with_plain_text replace_ner_with_type_labels join reversed load execute_spacy_ner append ents nlp select_custom_ner_label format any predict apply_inline_citation_regex findall extend next_siblings BeautifulSoup get_text find_all append append set annotate_potential_references extract_potential_references Transformer add_inline_citations_annotations add_metamap_annotations apply sum get decode print test_determine_medical_yn_metamap format append print format enumerate mean list format print concat now SentimentIntensityAnalyzer train_test_split keys format print TfidfVectorizer shape transform fit_transform len sum polarity_scores any format get_feature_names columns print hstack extend shape abs DataFrame show subplots colorbar ylim title set_facecolor hist2d xlim score confusion_matrix mean make_error_df predict fit print fit RandomizedSearchCV RandomForestClassifier deepcopy format print run_random_cv test_model best_params_ best_estimator_ RandomForestClassifier show list format subplots set_title text set_xlim hist2d set_facecolor keys enumerate set_ylim len format subplots text get_xticklabels astype confusion_matrix colorbar set tight_layout imshow setp max range int list new len map sqrt paste zip ceil max enumerate open int list new len map paste floor zip ceil max enumerate open list format savefig plot_confusion_matrix append keys enumerate feature_importances_ DataFrame sort_values join list format print index get_feature_importances keys DataFrame pivot_table append sum len append pivot_table DataFrame score pivot_table DataFrame append format get_id Transformer amend_content_with_ner_type_labels add_inline_citations_annotations ammed_content_replace_bad_punctuation_encoding add_metamap_annotations add_ner_annotations build_remaining_feature_vector apply SentimentIntensityAnalyzer amend_content_with_metamap_concepts amend_content_with_link_plain_text Transformer amend_content_with_ner_type_labels add_inline_citations_annotations ammed_content_replace_bad_punctuation_encoding build_remaining_feature_vector add_ner_annotations apply SentimentIntensityAnalyzer amend_content_with_link_plain_text Transformer amend_content_with_ner_type_labels add_inline_citations_annotations ammed_content_replace_bad_punctuation_encoding add_metamap_annotations add_ner_annotations build_remaining_feature_vector apply SentimentIntensityAnalyzer amend_content_with_metamap_concepts amend_content_with_link_plain_text Transformer add_inline_citations_annotations ammed_content_replace_bad_punctuation_encoding add_metamap_annotations add_ner_annotations build_remaining_feature_vector apply SentimentIntensityAnalyzer Transformer amend_content_with_ner_type_labels add_inline_citations_annotations ammed_content_replace_bad_punctuation_encoding build_remaining_feature_vector add_ner_annotations apply SentimentIntensityAnalyzer amend_content_with_link_plain_text series_of_list_to_df_columns apply ceil int len concat DataFrame index enumerate get decode Transformer add_inline_citations_annotations add_metamap_annotations build_remaining_feature_vector apply SentimentIntensityAnalyzer predict join DataLoader ModelScore get StratifiedShuffleSplit print StratifiedKFold len report_label_distrib numpy get_docs_id split zeros vectorize docs_labels print sum unique enumerate print set intersection union len list convert_ids_to_tokens print docs_batch numpy range PartitionDataTensor print docs_data_tensor id compute_class_weight numpy unique fill_ item float range len get format view print size range clip_grad_norm clamp_ join format print get_device bertembeder item to range dump_tensor len join read_data update generate_docpartition_per_question validate_q_docpartitions DataDictProcessor compute_class_weights_per_fold_ set_instance_attr load join str format print BertForPreTraining load_state_dict from_json_file create_directory dump_data join float32 generate_sents_embeds_from_docs BertEmbedder create_directory hyperparam_model_search_parallel Process join print start Queue append create_directory train_val_run create_directory test_run join format read_data accuracy sort_values mean macro_f1 isfile append median micro_f1 DataFrame std range get_performance_results concat DataFrame topk print size item range print return_attnw_over_sents create_directory join format predict_neural_discern get decode DataDictProcessor generate_articles_repr join dump_data float32 generate_sents_embeds_from_docs BertEmbedder from_pretrained Transformer get_saved_config build_DataDictProcessor identify_attended_senteces create_prediction_qdoc_partitions run_predict bert apply load_biobert_model update format generate_docpartition_per_question resource_filename join generate_doctensor_from_articles print articles_repr embed_sentences get_device check_for_non_git_files DataFrame exp resource_filename format resource_filename check_for_metamap_files check_for_biobert_files build_data_dict biobert_predict retrieve_page_from_internet parse_prediction_results print parse_prediction_results resource_filename biobert_predict build_data_dict sentencoder_dim join format dump_data zero_grad plot_loss save dataset macro_f1 dump_data list read_data Adam SentenceEncoder build_predictions_df getpid load_state_dict ceil append to Attention DocCategScorer range state_dict get create_directory format eval train keys enumerate NLLLoss load join int perfmetric_report DocEncoder print construct_load_dataloaders to_csv parameters dump_dict_content get_device isfile DocEncoder_MeanPooling numpy CyclicLR BertEmbedder len DataFrame set_index topk format print size item append range print list product log seed choice compute_numtrials generate_hyperparam_space len seed randint create_directory join list format items get_hyperparam_options get_random_question_fold_per_hyperparam_exp print generate_models_config keys run_neural_discern enumerate create_directory join format get_hyperparam_options print generate_models_config run_neural_discern enumerate Process list items join get_random_question_fold_per_hyperparam_exp print start Queue append join read_data join list format read_data get_saved_config items get_random_question_fold_per_hyperparam_exp ones print get_index_argmax accuracy macro_f1 best_epoch_indx isfile micro_f1 range auc join format get_saved_config create_directory join format run_neural_discern create_directory join format run_neural_discern create_directory join format print exists run_neural_discern read_data SentenceEncoder getpid load_state_dict to Attention DocCategScorer get format size eval enumerate load join print DocEncoder construct_load_dataloaders get_device isfile DocEncoder_MeanPooling numpy BertEmbedder len join dirname makedirs is_available format format print device_count get_cuda_device_stats device range get_device_name print format ModelScore write_log append f1_score accuracy_score array join format plot xlabel close ylabel precision_recall_curve title savefig figure legend join format plot xlabel roc_curve close ylabel title savefig figure legend join list plot xlabel close ylabel savefig figure legend keys rmtree isdir data save_experiment concat Path round run add_artifact model_class columns DataManager head format Sent2Doc_2ClassProb_Experiment load_cached_data_processor type int print get_exp_id log_scalar index data_path subplots PartitionedExperiment get_figure classes_ model_runs list ylabel savefig legend range plot grid_scores_ y_train_predicted n_features_ plot_confusion_matrix y_test_predicted xlabel extend y_test y_train len to_string Flask from_pyfile from_mapping instance_path makedirs | uzh-dqbm-cmi/auto-discern | 3,978 |
uzh-rpg/dslam_open | ['visual place recognition'] | ['Efficient Decentralized Visual Place Recognition From Full-Image Descriptors'] | dslam/src/stata_unbag.py FilenameGen tfMsgToMat matchedWithin main TfTracker transQuatToMat matrix concatenate T rotation translation T kneighbors array fit read_messages outdir ravel kneighbors encoding tf_file savetxt matchedWithin times_filename array next bag_name FilenameGen Bag unique join T CvBridge norm print reshape translation rect_bag_name FLAGS transforms imgmsg_to_cv2 fit | uzh-rpg/dslam_open | 3,979 |
uzh-rpg/netvlad_tf_open | ['visual place recognition', 'image retrieval'] | ['NetVLAD: CNN architecture for weakly supervised place recognition'] | tests/test_nets.py python/netvlad_tf/precision_recall.py python/netvlad_tf/nets.py tests/test_kitti.py python/netvlad_tf/image_descriptor.py setup.py python/netvlad_tf/mat_to_checkpoint.py tests/test_net_from_mat.py python/netvlad_tf/net_from_mat.py python/netvlad_tf/layers.py ImageDescriptor netVLAD matconvnetNormalize vgg16NetvladPca defaultCheckpoint netFromMat structedMatPath exampleImgPath exampleStatPath evaluate TestNets TestNetFromMat transpose reduce_sum flatten conv2d softmax matconvnetNormalize expand_dims get_variable structedMatPath loadmat layers count_nonzero cumsum astype argsort sum | uzh-rpg/netvlad_tf_open | 3,980 |
v0lta/Spectral-RNN | ['time series'] | ['Sequence Prediction using Spectral RNNs'] | src/mocap_experiments/load_h36m.py src/eager_STFT.py synthetic_signal_test.py src/mocap_experiments/mocap_train_exp.py src/power_experiments/power_train_exp.py src/mocap_experiments/util.py synthetic_signal_plot.py src/custom_optimizers.py src/mocap_experiments/fft_loss.py src/stft_test.py src/compute_cgRNN_parameters.py src/mocap_experiments/viz.py src/power_experiments/power_eval_15min_1d_fit.py src/power_experiments/power_data_handler.py src/mocap_experiments/to_video.py src/lorenz_data_generator.py src/power_experiments/power_plot_day_ahead.py src/run_synthetics.py src/RNN_wrapper.py src/custom_regularizers.py src/mocap_experiments/prediction_graph.py src/mocap_experiments/write_movie.py src/power_experiments/power_eval.py src/window_learning.py src/mackey_glass_generator.py src/power_experiments/prediction_graph.py src/tensorboard_plot_helper_module.py src/mocap_experiments/pickle_h36m.py src/power_experiments/power_plot.py src/custom_cells.py src/mocap_experiments/tests.py plot adjust_parameters compute_state_size compute_cgRNN_cell_params permutation mod_sigmoid_gamma StiefelGatedRecurrentUnit mod_sigmoid_sum hirose single_sigmoid_real hilbert mod_sigmoid_sum_beta double_sigmoid arjovski_init matmul_plus_bias split_relu mod_sigmoid diag_mul mod_sigmoid_prod complex_matmul single_sigmoid_imag relu mod_relu unitary_init C_to_R rfl_mul gate_phase_hirose tanh mod_sigmoid_beta linear z_relu moebius UnitaryCell mod_sigmoid_split real_mod_sigmoid_beta RMSpropNatGrad complex_dropout stft zero_ext interpolate istft generate_data LorenzGenerator MackeyGenerator generate_mackey LinearProjWrapper ResidualWrapper RnnInputWrapper run_experiemtns np_scalar_to_summary generate_data return_logs plot_logs tensoboard_average gauss_plank_window gaussian_window tukey_window plank_taper consistency_loss_fun power_spectrum_kl_divergence power_spectrum_entropy compute_power_spectrum H36MDataSet fix_pd np_scalar_to_summary FFTpredictionGraph compute_parameter_total seq_to_angles_transformer organize_into_batches rotmat_to_euler compute_ent_metrics_splits compute_ent_metrics quaternion_between get_body_graph expmap_to_rotmat quaternion_to_expmap pd_to_string Ax3DPose select_dataset write_movie write_figure read_pose PowerDataHandler MergePowerHandler get_pred organize_into_batches organize_into_batches fix_parameters FFTpredictionGraph compute_parameter_total load MackeyGenerator FFTpredictionGraph ConfigProto GPUOptions open int print sqrt svd print transpose matmul sqrt uniform stack conj ifft fft norm exp permutation print transpose pi matmul uniform stack eye zeros diag conj as_list as_list constant shape pad zeros len rfft list as_strided concatenate numpy resize_images expand_dims Value Summary add_summary str print FileWriter strftime gmtime total_parameters FFTpredictionGraph ConfigProto GPUOptions enumerate max arange lorenz square odeint append abs array append mean range grid linspace show semilogy ylabel ylim title savefig legend append summary_iterator value tikz_save plot simple_value enumerate xlabel tensoboard_average array join value print simple_value tensoboard_average linspace split append array walk enumerate summary_iterator fft complex zeros_like transpose real imag expand_dims log reduce_sum compute_power_spectrum expand_dims log reduce_sum compute_power_spectrum power_spectrum_kl_divergence reduce_mean power_spectrum_entropy scalar int print get_shape int stack array_split len list keys copy items list sorted copy add OrderedDict zip append range values len _vector_batch_dot concatenate ones less where _length_2 sqrt tile zeros sum equal list sin reshape transpose cos square matmul sqrt stack shape tile eye zeros expand_dims sum range len mod arctan2 square pi greater where sqrt tile expand_dims sum arctan2 ones cos where pi logical_or stack zeros equal get_body_graph seq_to_angles_transformer fft sum rotmat_to_euler print expmap_to_rotmat angle_trans abs log print compute_ent_metrics append items list copy len reshape transpose array dict close FFMpegWriter figure update set_zticklabels set_yticklabels set_xticklabels add_subplot close Ax3DPose flatten savefig figure range load print FFTpredictionGraph ConfigProto GPUOptions open int PowerDataHandler MergePowerHandler | v0lta/Spectral-RNN | 3,981 |
v0lta/fourier-prediction | ['time series'] | ['Sequence Prediction using Spectral RNNs'] | src/mocap_experiments/load_h36m.py src/eager_STFT.py synthetic_signal_test.py src/mocap_experiments/mocap_train_exp.py src/power_experiments/power_train_exp.py src/mocap_experiments/util.py synthetic_signal_plot.py src/custom_optimizers.py src/mocap_experiments/fft_loss.py src/stft_test.py src/compute_cgRNN_parameters.py src/mocap_experiments/viz.py src/power_experiments/power_eval_15min_1d_fit.py src/power_experiments/power_data_handler.py src/mocap_experiments/to_video.py src/lorenz_data_generator.py src/power_experiments/power_plot_day_ahead.py src/run_synthetics.py src/RNN_wrapper.py src/custom_regularizers.py src/mocap_experiments/prediction_graph.py src/mocap_experiments/write_movie.py src/power_experiments/power_eval.py src/window_learning.py src/mackey_glass_generator.py src/power_experiments/prediction_graph.py src/tensorboard_plot_helper_module.py src/mocap_experiments/pickle_h36m.py src/power_experiments/power_plot.py src/custom_cells.py src/mocap_experiments/tests.py plot adjust_parameters compute_state_size compute_cgRNN_cell_params permutation mod_sigmoid_gamma StiefelGatedRecurrentUnit mod_sigmoid_sum hirose single_sigmoid_real hilbert mod_sigmoid_sum_beta double_sigmoid arjovski_init matmul_plus_bias split_relu mod_sigmoid diag_mul mod_sigmoid_prod complex_matmul single_sigmoid_imag relu mod_relu unitary_init C_to_R rfl_mul gate_phase_hirose tanh mod_sigmoid_beta linear z_relu moebius UnitaryCell mod_sigmoid_split real_mod_sigmoid_beta RMSpropNatGrad complex_dropout stft zero_ext interpolate istft generate_data LorenzGenerator MackeyGenerator generate_mackey LinearProjWrapper ResidualWrapper RnnInputWrapper run_experiemtns np_scalar_to_summary generate_data return_logs plot_logs tensoboard_average gauss_plank_window gaussian_window tukey_window plank_taper consistency_loss_fun power_spectrum_kl_divergence power_spectrum_entropy compute_power_spectrum H36MDataSet fix_pd np_scalar_to_summary FFTpredictionGraph compute_parameter_total seq_to_angles_transformer organize_into_batches rotmat_to_euler compute_ent_metrics_splits compute_ent_metrics quaternion_between get_body_graph expmap_to_rotmat quaternion_to_expmap pd_to_string Ax3DPose select_dataset write_movie write_figure read_pose PowerDataHandler MergePowerHandler get_pred organize_into_batches organize_into_batches fix_parameters FFTpredictionGraph compute_parameter_total load MackeyGenerator FFTpredictionGraph ConfigProto GPUOptions open int print sqrt svd print transpose matmul sqrt uniform stack conj ifft fft norm exp permutation print transpose pi matmul uniform stack eye zeros diag conj as_list as_list constant shape pad zeros len rfft list as_strided concatenate numpy resize_images expand_dims Value Summary add_summary str print FileWriter strftime gmtime total_parameters FFTpredictionGraph ConfigProto GPUOptions enumerate max arange lorenz square odeint append abs array append mean range grid linspace show semilogy ylabel ylim title savefig legend append summary_iterator value tikz_save plot simple_value enumerate xlabel tensoboard_average array join value print simple_value tensoboard_average linspace split append array walk enumerate summary_iterator fft complex zeros_like transpose real imag expand_dims log reduce_sum compute_power_spectrum expand_dims log reduce_sum compute_power_spectrum power_spectrum_kl_divergence reduce_mean power_spectrum_entropy scalar int print get_shape int stack array_split len list keys copy items list sorted copy add OrderedDict zip append range values len _vector_batch_dot concatenate ones less where _length_2 sqrt tile zeros sum equal list sin reshape transpose cos square matmul sqrt stack shape tile eye zeros expand_dims sum range len mod arctan2 square pi greater where sqrt tile expand_dims sum arctan2 ones cos where pi logical_or stack zeros equal get_body_graph seq_to_angles_transformer fft sum rotmat_to_euler print expmap_to_rotmat angle_trans abs log print compute_ent_metrics append items list copy len reshape transpose array dict close FFMpegWriter figure update set_zticklabels set_yticklabels set_xticklabels add_subplot close Ax3DPose flatten savefig figure range load print FFTpredictionGraph ConfigProto GPUOptions open int PowerDataHandler MergePowerHandler | v0lta/fourier-prediction | 3,982 |
v1n337/semeval2017-task5 | ['sentiment analysis', 'data augmentation'] | ['Sentiment Analysis on Financial News Headlines using Training Dataset Augmentation', 'UW-FinSent at SemEval-2017 Task 5: Sentiment Analysis on Financial News Headlines using Training Dataset Augmentation'] | processors/tfidf_processor.py fpb_semeval_doc2vec_hl.py processors/bigram_processor.py semeval_hl.py utils/log_helper.py utils/options.py utils/doc2vec_helper.py processors/docvec_processor_crossval.py processors/fpb_docvec_processor.py processors/processor.py utils/evaluation_helper.py tests/cross_validation.py utils/file_helper.py utils/ml_helper.py tests/text_rsplit.py processors/docvec_processor.py entities/fpb_tagged_line_document.py entities/semeval_tagged_line_document.py main parse_args main parse_args FPBTaggedLineDocument SemevalTaggedLineDocument BigramProcessor DocvecProcessor DocvecProcessorCrossval FPBDocvecProcessor Processor TFIDFProcessor init_model evaluate_task_score annotate_test_set get_articles_list get_article_details get_logger persist_model_to_disk train_gnb_classifier train_xgboost_regressor get_model_from_disk get_confusion_matrix train_linear_regressor train_svm_regressor Options parse_args FPBDocvecProcessor process add_argument ArgumentParser DocvecProcessorCrossval Doc2Vec train build_vocab str info append list get_articles_list replace dumps info basicConfig getLogger LinearRegression fit LinearSVR fit GaussianNB fit XGBRegressor fit dump Series crosstab | v1n337/semeval2017-task5 | 3,983 |
vagisha-nidhi/TextSummarizer | ['text summarization', 'extractive summarization'] | ['Extractive Summarization using Deep Learning'] | logistic_sgd.py saveCre.py para_reader.py entity2.py Summarizer.py plot.py rbm.py plotLines.py numofSen.py ner extract_entity_names sgd_optimization_mnist load_data predict LogisticRegression split_into_sentences show_paragraphs Paragraphs RBM test_rbm text_to_vector properNounScores remove_stop_words_without_lower similarityScores sentencePos sentencePosition remove_stop_words namedEntityRecog thematicFeature cuePhraseFeature sentenceLength executeForAFile similar centroidSimilarity is_number get_cosine upperCaseFeature posTagger numericToken split_into_sentences tfIsf append join extend print extend sent_tokenize set extract_entity_names ne_chunk_sents print zeros shared_dataset train_model ivector function inf print min grad default_timer LogisticRegression mean lscalar load_data negative_log_likelihood matrix max range load predict_model function print get_value load_data open sub replace split append Paragraphs open function scan lscalar DataFrame RandomStreams transpose default_timer RBM shared range update asarray RandomState matrix zeros gibbs_vhv T print to_csv dot load_data randint get_cost_updates append stem split append split pos_tag append list Counter append keys log len float union intersection len append append float range len findall sqrt sum keys set text_to_vector get_cosine index append max float append float is_number len append ner append cos range len append maxsize join print Counter append most_common len remove_stop_words_without_lower append len print append split_into_sentences range len properNounScores similarityScores sentencePosition sentencePos remove_stop_words test_rbm namedEntityRecog open thematicFeature sentenceLength append sum range centroidSimilarity chdir close zeros show_paragraphs read print upperCaseFeature sort tfIsf write posTagger numericToken split_into_sentences len | vagisha-nidhi/TextSummarizer | 3,984 |
val-iisc/GAMA-GAT | ['adversarial defense', 'adversarial attack'] | ['Guided Adversarial Attack for Evaluating and Enhancing Adversarial Defenses'] | ImageNet -100/GAT-ImageNet100.py CIFAR10/GAT_cifar10.py MNIST/GAT-MNIST.py GAMA/GAMA_FW.py CIFAR10/ResNet.py GAMA/GAMA_PGD.py GAMA/arch.py MNIST/MNIST_Network.py ResNet ResNet18 Bottleneck ResNet34 ResNet101 conv3x3 ResNet50 test_resnet BasicBlock ResNet152 ResNet Bottleneck ResNet34 ResNet101 conv3x3 ResNet50 test_resnet arch BasicBlock ResNet152 max_margin_loss GAMA_FW max_margin_loss GAMA_PGD validate AverageMeter pgd execfile accuracy main_pgd_worker save_checkpoint pgdvalidate Guided_Attack ProgressMeter adjust_learning_rate main_worker main train FGSM_Attack_step MNIST_Network randn Variable print size ResNet50 net mean size cuda max_margin_loss model Variable backward size clamp grad sign mean clamp_ cuda range cat zero_gradients data max_margin_loss model Variable backward size clamp training sign mean cuda range zero_gradients multiprocessing_distributed warn main_worker argmax max seed str EXP_NAME main_pgd_worker device_count world_size parse_args range spawn START_EVAL manual_seed int print epochs array gpu workers data validate batch_size multiprocessing_distributed SGD pretrained DataParallel DistributedDataParallel ImageFolder DataLoader adjust_learning_rate arch save_checkpoint features cuda max set_device DistributedSampler rank load_state_dict append to range format init_process_group Compose start_epoch distributed lr resume item load int join evaluate print set_epoch parameters isfile train epochs gpu workers data batch_size multiprocessing_distributed model DataParallel DistributedDataParallel DataLoader ImageFolder arch features cuda set_device exit rank pgdvalidate load_state_dict append format init_process_group Compose distributed item load int join print isfile gpu data loss model Variable backward clamp sign range cuda gpu zero_gradients data loss model Variable backward sign mean range cuda gpu zero_gradients data loss model Variable backward size clamp training sign range cuda gpu zero_gradients model zero_grad Bval cuda display Guided_Attack update size mean eval item enumerate lce time criterion backward l2_reg clamp AverageMeter accuracy ProgressMeter step gpu len len eval AverageMeter ProgressMeter model pgd cuda str display update format size start_epoch eval item enumerate time criterion print AverageMeter accuracy ProgressMeter gpu len save lce str mul param_groups l2_reg print lr | val-iisc/GAMA-GAT | 3,985 |
val-iisc/sketch-parse | ['sketch based image retrieval', 'image retrieval', 'pose prediction'] | ['SketchParse : Towards Rich Descriptions for Poorly Drawn Sketches using Multi-Task Hierarchical Deep Networks'] | exp-src/resnet_dilated_frozen_pose.py exp-src/train_r5.py valsketch/valsketch/__init__.py valsketch/valsketch/views/__init__.py exp-src/deeplab_resnet_sketchParse_r1.py retrieval-src/fgm-master/data/cmum/house/scfs.py exp-src/table1.py exp-src/resnet_dilated_frozen_r5_D.py exp-src/eval_r5_test.py exp-src/table3.py valsketch/valsketch/models.py valsketch/manager.py exp-src/eval_r5.py valsketch/valsketch/wsgi.py valsketch/valsketch/views/views.py valsketch/valsketch/helper.py exp-src/deeplab_resnet_sketchParse_r5.py retrieval-src/fgm-master/data/cmum/house/makedata.py retrieval-src/fgm-master/data/cmum/house/adjs.py exp-src/resnet_dilated_frozen.py valsketch/valsketch/forms.py exp-src/resnet_dilated_frozen_r5_D_pose.py valsketch/valsketch/extensions.py exp-src/evalpyt_r5_D.py exp-src/eval_r1.py retrieval-src/fgm-master/data/cmum/house/delaunay.py valsketch/valsketch/config.py exp-src/train_r1.py det centrerad dist dictadd tofile make_shell_context createdb Config TestingConfig DevelopmentConfig ProductionConfig load_user SigninForm SignupForm Annotation User create_app signin tool process_request get_sketch_meta index signup logout dashboard getIdx det array str write len create_all PasswordField RecaptchaField StringField PasswordField BooleanField RecaptchaField StringField String Integer relationship Column ForeignKey String Integer Column init_app register_blueprint from_object Flask user SigninForm validate_on_submit login_user user commit SignupForm add flash validate_on_submit getIdx commit url_for process_request get_sketch_meta form add redirect last_idx logout_user strip dirname Annotation id join root_path | val-iisc/sketch-parse | 3,986 |
valeoai/WoodScape | ['depth estimation', 'autonomous driving'] | ['WoodScape: A multi-task, multi-camera fisheye dataset for autonomous driving'] | omnidet/train_detection.py omnidet/train_distance_semantic_detection.py omnidet/eval/quantitative_motion.py omnidet/models/detection_decoder_inference.py omnidet/models/normnet_decoder.py scripts/parsers/detection/occlusion_level.py scripts/polygon_generator.py omnidet/data/generate_luts.py omnidet/eval/quantitative_semantic.py scripts/parsers/detection/metadata.py omnidet/models/onnx/onnx_export.py omnidet/utils.py omnidet/models/detection_decoder.py omnidet/data_loader/woodscape_loader.py omnidet/train_utils/pose_utils.py omnidet/losses/mtl_losses.py omnidet/models/semantic_decoder.py omnidet/train_distance_semantic_motion.py scripts/parsers/segmentation/image_annotator.py omnidet/train_motion.py omnidet/models/motion_decoder.py scripts/calibration/projection.py omnidet/eval/qualitative_detection.py omnidet/train_utils/generate_anchors.py scripts/semantic_map_generator.py omnidet/eval/quantitative_detection.py omnidet/eval/qualitative_semantic.py scripts/parsers/detection/abstract_detection_parser.py scripts/parsers/detection/filter_params.py omnidet/train_utils/distance_utils.py omnidet/train_distance_semantic.py omnidet/eval/qualitative_distance.py scripts/parsers/detection/annotation_detection_parser.py omnidet/train_distance_semantic_detection_motion.py omnidet/train_utils/detection_utils.py omnidet/losses/distance_loss.py omnidet/train_distance.py scripts/ann_utils.py omnidet/losses/semantic_loss.py scripts/calibration/example.py omnidet/models/onnx/verify_onnx_models.py omnidet/models/posenet.py omnidet/train_detection_semantic.py omnidet/main.py omnidet/models/resnet.py omnidet/train_utils/compute_class_weights.py omnidet/losses/inverse_warp_fisheye.py scripts/box_2d_generator.py omnidet/losses/detection_loss.py scripts/parsers/detection/helpers.py scripts/parsers/detection/class_names.py scripts/parsers/detection/detection_object.py omnidet/data/datapath_create.py omnidet/train_semantic.py printj collect_args collect_tupperware main DetectionModelBase DetectionModel DetectionSemanticModel DistanceModelBase DistanceModel DistanceSemanticModelBase DistanceSemanticModel DistanceSemanticDetectionModelBase DistanceSemanticDetectionModel DistanceSemanticDetectionMotionModel DistanceSemanticMotionModelBase DistanceSemanticMotionModel MotionModel MotionInit SemanticInit SemanticModel semantic_color_encoding AverageMeter TrainUtils IoU Tupperware woodscape_paths_to_txt get_intrinsics scale_intrinsic inverse_poly_lut WoodScapeRawDataset color_encoding_woodscape_detection test_simple scale_norm test_simple high_res_colormap get_image pre_image_op test_simple evaluate collect_args evaluate collect_args evaluate ObjectDetectionLoss InverseWarp PhotometricReconstructionLoss PhotometricFisheye UncertaintyLoss CrossEntropyLoss2d FocalLoss YOLOLayer YoloDecoder YoloDecoderDeployment YOLOLayerDeployment MotionDecoder conv1x1 PixelShuffleICNR conv3x3 NormDecoder convblock PoseDecoder conv1x1 resnet50 Bottleneck conv3x3 _resnet ResNetMultiImageInput resnet_multiimage_input resnet18 ResnetEncoder BasicBlock convblock SemanticDecoder NormNet FisheyePerception Encoder DetectionNet PoseNet SemanticNet MotionNet motion_color_encoding get_image verify_onnx_model pre_image_op post_process_semantic_motion post_process_distance post_process_detection main median_freq_balancing enet_weighing compute_ap to_cpu horisontal_flip build_targets log_metrics scale_annotation bbox_iou xywh2xyxy bbox_wh_iou get_batch_statistics get_tensor_value ap_per_class crop_annotation get_contour non_max_suppression normalize_image high_res_colormap tensor2array bilinear_sampler generate_anchors calc_iou get_objects_width_and_height main run_kmeans pose_vec2mat get_translation_matrix quat2mat euler2mat get_url absolute_file_paths convert_to_path create_dir parser_arguments parser_arguments parser_arguments make_cylindrical_cam read_cam_from_json Projection CylindricalProjection RadialPolyCamProjection Camera create_img_projection_maps ensure_point_list AbstractDetectionParser AnnotationDetectionParser ClassNames DetectionObject get_poly_cords FilterParams read_image_as_rgb generate_polygons write_to_file contours2uniform_points generate_2d_boxes Metadata OcclusionLevel ImageAnnotator Instance parse_annotation parse_args add_argument ArgumentParser config collect_args safe_load printj open Tupperware strtobool distance_semantic_detection_motion_train DistanceSemanticDetectionModel distance_semantic_train semantic_train DistanceSemanticModel DistanceSemanticDetectionMotionModel MotionModel detection_train input distance_train motion_train distance_semantic_detection_train collect_tupperware mkdir DetectionSemanticModel distance_semantic_motion_train join DistanceSemanticMotionModel isdir DetectionModel print detection_semantic_train DistanceModel rmtree output_directory model_name SemanticModel object dict zeros items enumerate seed int list sorted glob print set sample percent len load join list sorted glob insert len dataset_dir zip append enumerate values open crop copy input_height zeros_like roots min astype float32 input_width tqdm dict sqrt linspace real scale_intrinsic meshgrid crop enumerate dict zeros items enumerate imwrite LANCZOS endswith FONT_HERSHEY_SIMPLEX COLOR_RGB2BGR unsqueeze resize VideoWriter device VideoWriter_fourcc release dtype str transpose tolist shape load_state_dict color_encoding_woodscape_detection encoder to cat non_max_suppression int0 eval mkdir enumerate load join int drawContours uint8 decoder print putText pretrained_weights write output_directory pre_image_op zeros numpy coords cvtColor split N stack low_res_cmap linspace paste save to_pil_image percentile fromarray list squeeze new append concatenate astype ScalarMappable Normalize scale_norm array dict get_image crop join convert crop dataset_dir data semantic_color_encoding max create_video xywh2xyxy DataLoader device ap_per_class list WoodScapeRawDataset load_state_dict encoder to non_max_suppression eval enumerate load join items print pretrained_weights tqdm cpu data siamese_net max add cat update value decoder AverageMeter accuracy IoU dataset semantic_num_classes load_url cat load_state_dict ResNetMultiImageInput load_state_dict_from_url load_state_dict ResNetMultiImageInput dict zeros items enumerate percentile uint8 asarray astype ScalarMappable Normalize argmax copy str drawContours print putText tolist int0 FONT_HERSHEY_SIMPLEX copy coords cat non_max_suppression transpose astype float32 motion_color_encoding show uint8 semantic_color_encoding concatenate name astype from_numpy InferenceSession imshow onnx_load_model pre_image_op run post_process_semantic_motion color_encoding_woodscape_detection post_process_distance post_process_detection split enet_weighing num_classes batch_size WoodScapeRawDataset DataLoader median_freq_balancing printj flatten log tqdm flatten median bincount tqdm flip Tensor isinstance shape new compute_ap cumsum argsort unique append sum concatenate size maximum sum range list len zip append zeros max range enumerate t min clamp min max box rotate size xywh2xyxy stack sum max cat enumerate float size clamp t bbox_iou stack floor device to max log cat enumerate mean float sum dict multiply mul clone shape zeros abs scale_annotation shape reshape grid_sample data float cpu astype float32 glob list print enumerate join print transpose range dict vstack sum run_kmeans all calc_iou argmin copy zeros sum full range append list generate_anchors add_argument get_objects_width_and_height ArgumentParser parse_args transpose clone quat2mat matmul get_translation_matrix euler2mat to view reshape size cos sin norm size reshape cat mkdir abspath dst_path read add_argument create_dir loads ArgumentParser parse_args CylindricalProjection round pi as_euler array range isinstance concatenate property T height arange ones project_3d_to_2d convertMaps project_2d_to_3d width zeros range Camera append flatten list FONT_HERSHEY_COMPLEX get_class_name get_box max show str list get_objects imshow append is_cover_by_glass get_occlusion is_depiction close get_poly_cods zip print putText min dict rectangle array threshold fillPoly FONT_HERSHEY_COMPLEX get_class_name get_box max show str list RETR_EXTERNAL get_objects imshow append is_cover_by_glass findContours get_occlusion is_depiction close get_poly_cods zip CHAIN_APPROX_SIMPLE print putText min extend dict rectangle zeros array contours2uniform_points circle drawContours findNonZero squeeze zeros_like append Instance sorted | valeoai/WoodScape | 3,987 |
valeoai/carrada_dataset | ['semantic segmentation', 'autonomous driving'] | ['CARRADA Dataset: Camera and Automotive Radar with Range-Angle-Doppler Annotations'] | carrada_dataset/annotation_generators/centroid_tracking.py carrada_dataset/utils/generate_annotations.py carrada_dataset/utils/camera.py carrada_dataset/utils/visualize_signal.py carrada_dataset/scripts/generate_annotation_files.py carrada_dataset/annotation_generators/rd_points_generator.py carrada_dataset/utils/__init__.py carrada_dataset/scripts/generate_rd_points.py carrada_dataset/tests/test_annotation_files.py carrada_dataset/tests/test_centroid.py carrada_dataset/annotation_generators/instance_generator.py carrada_dataset/tests/test_transform_data.py carrada_dataset/utils/transform_data.py carrada_dataset/utils/transform_annotations.py carrada_dataset/annotation_generators/utils.py carrada_dataset/utils/configurable.py carrada_dataset/scripts/set_path.py setup.py carrada_dataset/tests/test_rd_points.py carrada_dataset/scripts/generate_instances.py carrada_dataset/utils/sort.py carrada_dataset/tests/test_instances.py carrada_dataset/scripts/generate_centroids.py CentroidTracking CentroidMatching InstanceGenerator Instance ImageInstances InstanceRDPoints RDPoint RDPointsGenerator InstancePoints compute_kl visualise_doa visualise_points_on_rd convert_to_rd_points threshold_mask compute_determinant compute_line_coefs get_random_rgb compute_orthogonal_proj main get_instance_oriented get_frame_oriented main main main get_true_data_frame test_get_instance_oriented0 test_get_frame_oriented0 test_get_frame_oriented1 test_get_frame_oriented2 test_get_instance_oriented2 get_true_data_instance test_get_instance_oriented1 test_centroid get_true_data get_img_points test_image_instances1 test_image_instances3 test_image_instances2 test_rd_points_generator1 get_true_data test_rd_points_generator0 test_rd_points_generator2 test_data_transfomer_ra1 test_data_transfomer_rd1 test_data_transfomer_ra2 test_data_transfomer_rd2 get_true_ra get_true_rd test_data_transfomer_rd0 test_data_transfomer_ra0 Camera Configurable AnnotationGenerator KalmanBoxTracker iou Sort convert_bbox_to_z associate_detections_to_trackers convert_x_to_bbox parse_args AnnotationTransformer DataTransformer SignalVisualizer det abs isclose nan T inv matmul compute_determinant trace log len sqrt list ndarray set_title isinstance reshape set_xlabel add_subplot close cycle scatter set_ylabel figure set_zlabel zip savefig range get_image close astype imsave seed randint join list format to_rd print sort get_mask tolist to_ra index where dict AnnotationTransformer get_box keys AnnotationGenerator join list format to_rd print glob sort tolist get_mask to_ra index where dict AnnotationTransformer get_box keys AnnotationGenerator join time config format print get_instance_oriented round get_frame_oriented create_annotations process_sequence get_rd_points RDPointsGenerator get_instance_oriented get_frame_oriented get_instance_oriented get_frame_oriented get_instance_oriented get_frame_oriented join CentroidTracking create_annotations dict join sorted glob join sorted Sort glob ImageInstances eval get_img_points get_paths InstanceGenerator maskrcnn_resnet50_fpn update_instances join sorted Sort glob ImageInstances eval get_img_points get_paths InstanceGenerator maskrcnn_resnet50_fpn update_instances join sorted Sort glob ImageInstances eval get_img_points get_paths InstanceGenerator maskrcnn_resnet50_fpn update_instances get_rd_points RDPointsGenerator get_rd_points RDPointsGenerator get_rd_points RDPointsGenerator load join param load join param load join DataTransformer to_ra load join DataTransformer to_rd load join DataTransformer to_ra load join DataTransformer to_rd load join DataTransformer to_ra load join DataTransformer to_rd minimum maximum float sqrt T iou concatenate reshape append zeros empty enumerate add_argument ArgumentParser | valeoai/carrada_dataset | 3,988 |
vamshi009/End-to-End-HRED-Dialogue-System | ['word embeddings'] | ['Building End-To-End Dialogue Systems Using Generative Hierarchical Neural Network Models'] | HRED-DialogueSys.py evaluateAndShowAttention showAttention filterPairs AttnDecoderRNN EncoderRNN timeSince readLangs Lang showPlot tensorFromSentence indexesFromSentence normalizeString filterPair asMinutes trainIters evaluate tensorsFromPair evaluateRandomly unicodeToAscii prepareData DecoderRNN train strip sub unicodeToAscii Lang print split append range len append split print len print name addSentence filterPairs readLangs n_words len append indexesFromSentence tensorFromSentence zero_grad tensor gruvamc topk view gruvish append encoder GRU range detach size initHidden decoder backward zeros step hidden_size len floor time NLLLoss time showPlot print SGD parameters append train range set_major_locator subplots plot MultipleLocator figure join evaluate print choice range show set_major_locator matshow set_xticklabels set_yticklabels add_subplot colorbar MultipleLocator figure numpy split print join evaluate | vamshi009/End-to-End-HRED-Dialogue-System | 3,989 |
vanduc103/air_analysis_v1 | ['time series'] | ['Real-time Air Pollution prediction model based on Spatiotemporal Big data'] | hybrid_model_v1.py hybrid_model_final.py convolutional.py read_data.py cross_validate.py rnn.py hybrid_model_v2.py batch_creator read_data max_pool_2x2 weight_variable conv2d dense_to_one_hot bias_variable preproc unpickle time2onehot batch_creator read_data date2onehot_test model read_weather date2onehot_train batch_creator read_data RNN time2onehot batch_creator read_data date2onehot_test model read_weather date2onehot_train time2onehot batch_creator read_data date2onehot_test model read_weather date2onehot_train zeros arange astype dense_to_one_hot preproc choice reshape list asarray copy truncated_normal constant time2onehot list concatenate randrange append date2onehot_train range append float list array astype zeros localtime zeros mktime tm_wday localtime zeros mktime tm_wday static_rnn BasicLSTMCell unstack matmul len static_rnn BasicLSTMCell unstack BasicRNNCell | vanduc103/air_analysis_v1 | 3,990 |
var-skip/var-skip | ['density estimation', 'data augmentation'] | ['Variable Skipping for Autoregressive Range Density Estimation'] | eval_model.py train.py estimators.py made.py common.py text_infer.py summarize.py transformer.py datasets.py Discretize Table CsvTable TableDataset Column Census LoadSynthetic LoadDryadURLs Synthetic LoadKDD KDD LoadURLTiny LoadCensus LoadDmv KDDFull ProgressiveSamplingMade Heuristic FillInUnqueriedColumns InvertOrder QueryToPredicate CardEst Sampling Oracle GenerateQuery Query ErrorMetric RunN SaveEstimators MakeModel SampleTupleThenRandom SampleFromDomains InvertOrder ReportEsts MakeMadeDmv ReportModel MakeTransformer MaskedResidualBlock MADE MaskedLinear time_this OracleModel q_error infer_skip TrainedModel progressive_sampling infer_naive Entropy ReportModel MakeMade gen_dryad_query_set weight_init get_device run_epoch NaruTrainer Block Transformer order_respecting_mask3 LayerNorm mask pprint GeLU Conv1d MultiHeadSelfAttention data isnull codes all_distinct_values astype any int32 load remove print CsvTable save exists open load print CsvTable save exists open CsvTable cols load print CsvTable cols save exists open range len str join range len ColumnIndex columns name zip len print to_datetime64 choice where take values len isnull where choice take append len hasattr min SampleTupleThenRandom SampleFromDomains randint len str time format AddError ErrorMetric name pprint zip cardinality str print errs quantile max GenerateQuery Query time format RandomState print ReportEsts dataset range print InvertOrder inv_order permutation layers arange inv_order asarray print special_orders use_query_order use_worst_order use_best_order special_dmv_arch InvertOrder append to array range enumerate len format print size named_parameters append sum prod append DataFrame to_csv time list print char_width extend sample prob_occurs_starting_at max range append len print char_width sample append max range prob_occurs_starting_at len sample time print max join RandomState print readlines choice append randint range len append format entropy print zeros_like model set_grad_enabled zero_grad DataLoader kl_div tensor log hasattr view step logsumexp binary_cross_entropy_with_logits append to range detach format param_groups nout mean stack item embed_size enumerate backward print update_masks nin min float32 orderings len print to get_device len bias xavier_uniform_ normal_ zeros_ weight print arange zeros as_tensor range | var-skip/var-skip | 3,991 |
vasselai/Replication-of-Conditional-Neural-Processes | ['gaussian processes'] | ['Conditional Neural Processes'] | plotting.py main.py financialdata.py cnp.py aggregator mlp decoder cnp encoder reg_plotting mlp reshape concat reduce_mean mlp softplus reshape concat tile expand_dims split dense reshape set_shape enumerate aggregator encoder decoder clear str plot grid savefig fill_between | vasselai/Replication-of-Conditional-Neural-Processes | 3,992 |
vatile/CWS-NAACL2019 | ['word embeddings', 'chinese word segmentation'] | ['Improving Cross-Domain Chinese Word Segmentation with Word Embeddings'] | skip_gram.py preprocess.py lm_w2v.py decode.py get_w2v.py decode_split_by_punc decoder next_hypo decode_file Hypo next_prob get_w2v store_sim get_text Word2Vec build_w2i_w2c build_cooccur skipgram_fix make_sampling_table neg_sample_remix trans_w2i min m sum range append len append deepcopy next_prob join format isinstance print prob decode_beam append range len decoder len match append float sum enumerate print format print reshape format load_model format print tqdm float cos_sim fit_on_texts format word_counts print word_index Tokenizer print defaultdict format arange log list min set sample range len append cumsum max values seed list sorted append sum range shuffle set sqrt neg_sample_remix zip power empty keys enumerate items combinations min dict trans_w2i randint array make_sampling_table len | vatile/CWS-NAACL2019 | 3,993 |
vatsalsharan/pidforest | ['anomaly detection'] | ['PIDForest: Anomaly Detection via Partial Identification'] | code/run_time_series_sklearn_pidforest_alg.py code/scripts/fast_buckets.py code/scripts/myforest.py code/header.py code/run_classification_pyod.py code/run_classification_rrcf.py code/scripts/subcube.py code/scripts/cube.py code/run_classification_sklearn_pidforest_alg.py code/scripts/old_forest.py code/scripts/hg.py code/run_rrcf_timeseries.py code/get_roc_classification.py code/scripts/forest.py code/run_timeseries_pyod.py code/scripts/new_forest.py code/scripts/timeseries.py code/get_roc_series.py Cube compress fast_buckets fast_approx app_buckets gen_mix seg_var exact_buckets compute_buckets Forest Cube Node PointSet two_split approx_buckets compress Histogram Forest Cube Node PointSet Cube Node PointSet NewForest OldForest Cube Node PointSet Partition SubCube create_ts shingle create_period inject_anomalies print_anomalies cumsum reshape seg_var zeros range len cumsum reshape seg_var append zeros range len zeros range int shape randn concatenate range len cumsum range len int sorted min set searchsorted max log compress cumsum array range len cumsum list zeros keys range len zeros range pi sin normal int create_period zeros range zeros range len randint range show plot | vatsalsharan/pidforest | 3,994 |
vdenberg/context-in-informational-bias-detection | ['bias detection'] | ['Context in Informational Bias Detection'] | preprocessing/tapt/scripts/pretokenize.py analyses/significance_tests.py lib/PLMWrapper.py lib/ErrorAnalysis.py preprocessing/tapt/scripts/convert_pytorch_to_memmap.py preprocessing/tapt/scripts/train_tokenizer.py experiments/finetune_plm.py experiments/tapt/dsp_ft/hp_reproduction/hp_preprocess.py preprocessing/preprocess_for_cim.py lib/handle_data/PreprocessForPLM.py lib/ContextAwareClassifier.py preprocessing/preprocess_for_plm.py preprocessing/preprocess_for_tapt.py lib/handle_data/SplitData.py lib/Eval.py lib/handle_data/BasilLoader.py preprocessing/tapt/scripts/query_index.py analyses/performance_analysis.py preprocessing/tapt/scripts/run_vampire.py lib/utils.py experiments/tapt/agg_eval.py preprocessing/tapt/scripts/build_index.py experiments/context_inclusive_model.py make_weight_matrix get_weights_matrix Processor select_model sentence_split preprocess_for_plm load_labeled preprocess_for_dsp_run_ml remove_lhml ContextAwareModel CIMClassifier Classifier BahdanauAttention bin_length bin_subj_score flatten_e extract_e give_subj_score load_subj_lex get_len got_quote ErrorAnalysis lat clean_inf_quote tokenize top_in_row students_t_test get_metrics my_eval convert_bio_to_binary BertForSequenceClassification RobertaForSequenceClassification save_model InputFeatures RobertaForSequentialSequenceClassification RobertaForTokenClassification RobertaClassificationHead load_features Inferencer BertForTokenClassification arrays_in_series InputFeatures to_batches format_runtime clean_mean plm_feats_to_tensors get_torch_device standardise_id to_tensors load_basil_spans standardise_id LoadBasil convert_basil_for_plm_inputs SpanToBio convert_to_bio InputFeatures BinaryClassificationProcessor InputExample _truncate_seq_pair expand_to_wordpieces convert_example_to_roberta_feature convert_example_to_bert_feature DataProcessor strip_totally mix_into_ten_folds cut_in_ten load_basil_w_tokens load_basil collect_sent_ids StorySplit match_set_to_basil Split draw_1 order_stories SentenceSplit split_input_for_plm add_sbert add_use convert_to_cim_instance preprocess_for_cim tokenize redistribute_feats preprocess_for_plm rm_special_tokens enforce_max_sent_per_example flatten_sequence preprocess_basil_for_dsp_train preprocess_cc_for_lm write_for_dsp_train write_for_dsp_lm list_cc_files preprocess_basil_for_lm read_dataset write_dataset sample_across_mmap_shards fvecs_mmap fvecs_read ivecs_read DomainsDataset Processor batchify load_huggingface_tokenizer read_dataset write_dataset sample_across_mmap_shards fvecs_mmap fvecs_read ivecs_read DomainsDataset Processor batchify _PredictManager _get_predictor _predict items list replace len index sub embeddings zip zeros array split make_weight_matrix rename fillna print join str setdefault print copy sent_tokenize append enumerate convert_example_to_roberta_feature convert_example_to_bert_feature append load print bs text sub split extract_e intersection isinstance set extract_e extend append str print exit tokenize len replace set_index astype apply DataFrame drop_duplicates len split print ttest_ind precision_recall_fscore_support f1_score accuracy_score ravel convert_bio_to_binary get_metrics round to_batches join makedirs to_json_file save state_dict tensor TensorDataset tensor array to_numpy SequentialSampler DataLoader RandomSampler is_available print device tuple strip map extend sub split int list sub split lower rename to_csv len join SpanToBio span_to_bio zip append append tokenize startswith enumerate pop len join SpanToBio len expand_to_wordpieces span_to_bio label text_a encode_plus join SpanToBio convert_tokens_to_ids expand_to_wordpieces span_to_bio tokenize label text_a len value_counts len pop randint list shuffle zip join compile isinstance append list pop extend rename fillna fillna extend join apply_split Split index to_csv read_csv enumerate print print join str lower append range len add_sbert add_use len len extend label_id rm_special_tokens my_id append input_ids enumerate sorted list setdefault values InputFeatures flatten_sequence copy article enforce_max_sent_per_example append sum enumerate len list values join int set_index print write_for_dsp_lm unique listdir list_cc_files join print extend join str apply_split write_for_dsp_train print Split index mkdir sum enumerate int array_split tqdm fromfile append tokenizer cuda_device archive_file print load_archive check_for_gpu _get_predictor use_dataset_reader include_package batch_size print _PredictManager import_submodules exit output_file input_file run | vdenberg/context-in-informational-bias-detection | 3,995 |
vearch/vearch | ['image retrieval'] | ['The Design and Implementation of a Real Time Visual Search System on JD E-commerce Platform'] | test/test_vearch.py docs/source/conf.py test_health test_insterNoId test_deleteDocById test_listspace test_deleteSpace test_getspace_name_rocksdb test_searchByFeatureandRangeRocksdb test_deleteDB test_searchByFeatureRocksdb test_bulk_searchByFeature test_insterNoIdRocksdb test_getspace test_searchByFeatureandFilter test_insterNoId1 test_insertBulkRocksdb test_dbsearch test_insertWithIdRocksdb test_createspacerocksdb test_searchById test_deleteDocByIdRocksdb test_searchByIdRocksdb test_searchByFeatureandFilterRocksdb test_searchByTermRocksdb test_searchByTerm test_bulk test_insterNoId1Rocksdb test_deleteSpaceRocksdb test_createDB test_searchByFeatureandRange test_stats test_server test_insertWithId test_dblist test_searchByFeature test_createSpaceMmap get text print info get text print get text print get text print put text print info get text print get text print print text dumps put get text print info print text post info range info info print post text range info info print text delete print text dumps put get text print info info info info info info print text delete print text delete | vearch/vearch | 3,996 |
vedantc6/SeqGAN | ['text generation'] | ['SeqGAN: Sequence Generative Adversarial Nets with Policy Gradient'] | rollout.py discriminator.py seqGAN.py test_seqgan.py instapic_data_loader.py discriminator_keras.py generator.py target_lstm.py data_loader.py instapic_data_util.py Discriminator_Data_Loader Generator_Data_Loader highway linear_function Discriminator linear highway Discriminator Generator tokenize_all vocab_mapping create_vocabulary pad_sentences take load_json main sort_dict tokenize tokenize_all save_data create_vocabulary get_tfidf_words load_json main sort_dict tokenize ROLLOUT generate_samples pre_train_epoch main target_loss TARGET_LSTM vocab_mapping as_list as_list placeholder Constant range info join replace isinstance lower sub split items list Counter tqdm info tokenize split append range len sort_dict info list items sorted info tokenize_all items basicConfig list str vocab_mapping write create_vocabulary close pad_sentences take load_json tokenize open toarray _preprocess TfidfTransformer _extract_tokens info enumerate _save_data join info makedirs int range extend generate next_batch num_batch append pretrain_loss reset_pointer range run pretrain_step num_batch append next_batch reset_pointer range num_batch create_batches Session Generator_Data_Loader seed run ROLLOUT Generator Discriminator generate pre_train_epoch Discriminator_Data_Loader range load_train_data get_reward update_params ConfigProto generate_samples time train_op print g_updates tqdm global_variables_initializer next_batch reset_pointer | vedantc6/SeqGAN | 3,997 |
vedhasua/mse_ccc_corollary | ['sentiment analysis', 'time series'] | ['The Many-to-Many Mapping Between the Concordance Correlation Coefficient and the Mean Square Error'] | load_features.py test_ccc_minmax_given_errorset.py test_ccc_minmax_at_mse.py test_ccc_to_mse_mapping.py calc_scores.py calc_std calc_mse calc_denominator calc_dotproduct calc_scores calc_rhoc2 calc_rhoc1 load_features_shift load_all get_num_columns get_num_lines_array load_features get_num_lines nanmean sqrt nansum array len mean calc_std calc_mse calc_dotproduct calc_denominator calc_denominator empty load_features_shift concatenate len get_num_lines zeros empty range get_num_lines_array get_num_columns empty sum zeros get_num_lines len count | vedhasua/mse_ccc_corollary | 3,998 |
venkatasg/Advice-EMNLP2020 | ['text generation'] | ['Help! Need Advice on Identifying Advice'] | utility.py ClassificationModel.py Advice_Classification_Simple.py Advice_Classification.py ClassificationModel get_metrics BIO_convert EncodeAndLoad find_context_both get_questions write_preds_to_file find_context find_context_full mcc f1 prec unique acc rec len to_csv range index len walk join str int empty split join str int empty split join tolist split DataLoader TensorDataset batch_encode_plus | venkatasg/Advice-EMNLP2020 | 3,999 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.