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
ajacot/NTK_utils
['gaussian processes']
['Neural Tangent Kernel: Convergence and Generalization in Neural Networks']
network.py linalg.py power_method forward_grad scalar_product _ConvNd ConvTranspose1d ConvTranspose3d _ntuple make_mask Conv3d double_factorial make_mask_transpose Conv2d _ConvTransposeNd center_function Conv1d group_coord_pool2d ConvTranspose2d LinearNet Linear grad zeros_like T sign sqrt scalar_product sum range len print f item sum range zero_ range zero_ exp view squeeze avg_pool2d shape
# NTK_utils The file network.py contains an alternative definition of the usual Linear and ConvNd layers using the parametrization described in the article https://arxiv.org/abs/1806.07572. This parametrization gives a consistent scaling behaviour as one increases the width of the network (the number of neurons in the hidden layers). As a result of the reparametrization, we suggest a learning rate around 1.0. Furthermore network.py contains a module LinearNet which defines a fully-connected network given a list of the number of neurons in each layer. From this module, one can directly calculate the Neural Tangent Kernel, and the activation kernels as described in the article.
1,300
akakzia/decstr
['language acquisition']
['Grounding Language to Autonomously-Acquired Skills via Goal Generation']
mpi_utils/mpi_utils.py language/get_data.py demo_sentence_seq.py logger.py env/rotations.py plots.py env/__init__.py rl_modules/continuous_models.py train.py env/utils.py language/train_language_module_binary.py demo_sentence_expr.py rl_modules/semantic_models.py env/fetch_manipulate_env_continuous.py rl_modules/rl_agent.py utils.py rl_modules/sac_models.py language/build_dataset.py her_modules/her.py language/utils.py rollout.py rl_modules/networks.py demo_sentence_test.py rl_modules/replay_buffer.py rl_modules/language_models.py mpi_utils/normalizer.py env/fetch_manipulate_env.py language/train_language_module_continuous.py arguments.py env/demo_with_xbox_controller.py demo.py env/envs.py goal_sampler.py env/robot_env.py language/vae.py updates.py language/descriptions.py mpi_utils/logger.py get_args get_env_params sample_vae_logic sample_vae rollout check_sentence get_env_params get_env_params sample_vae_logic sample_vae rollout get_env_params sample_vae_logic sample_vae rollout GoalSampler log_results plot_sr_av plot_c_lp_p_sr save_fig plot_lp_av get_mean_sr setup_figure setup_n_figs check_length_and_seeds RolloutWorker launch get_env_params log_and_save update_deepsets update_disentangled update_entropy update_flat generate_all_goals_in_goal_space CompressPDF get_instruction init_storage generate_goals get_stat_func invert_dict FetchManipulateEnvContinuous FetchManipulateEnv above FetchManipulateEnv objects_distance goal_distance FetchManipulateEnvContinuous above RobotEnv quat2mat euler2point_euler quat2point_quat quat_conjugate quat_rot_vec subtract_euler euler2mat quat_mul quat_identity get_parallel_rotations normalize_angles point_quat2quat euler2quat mat2euler quat2axisangle quat2euler point_euler2euler round_to_straight_angles mat2quat mocap_set_action reset_mocap_welds ctrl_set_action robot_get_obs reset_mocap2body_xpos str_to_class her_sampler compute_reward_language get_dataset label_transitions sentence_from_configuration get_description get_data get_test_sets main train get_test_sets main train AbstractEncoder generate_all_goals_in_goal_space get_corresponding_sentences analyze_inst OneHotEncoder ConfigLanguageDataset Vocab generate_goals check_same_plane get_list_of_expressions Decoder ContextVAE idx2onehot Encoder dumpkvs HumanOutputFormat SeqWriter get_dir read_json warn set_level Logger CSVOutputFormat log logkvs make_output_format JSONOutputFormat read_tb getkvs configure TensorBoardOutputFormat debug logkv info KVWriter _demo error ProfileKV scoped_configure logkv_mean reset profile read_csv sync_grads sync_networks fork mpi_fork _get_flat_params_or_grads _set_flat_params_or_grads normalizer DeepSetContinuous ContinuousActor ContinuousCritic LanguageCritic LanguageActor DeepSetLanguage PhiActorDeepSet GaussianPolicyFlat RhoCriticDeepSet PhiCriticDeepSet RhoActorDeepSet QNetworkFlat weights_init_ MultiBuffer RLAgent hard_update QNetworkFlat GaussianPolicyFlat weights_init_ SemanticActor SemanticCritic DeepSetSemantic parse_args add_argument ArgumentParser reset int astype repeat expand_dims array deepcopy sample_vae isinstance isinstance sentence_generator reset_goal _get_obs act print sample_vae_logic step shuffle copy render check_sentence append get_list_of_expressions array range set flatten lower curriculum_learning format buckets print now eval_path save model_path num_buckets range len xlabel add_subplot ylabel set_linewidth ylim figure tick_params xlim subplots set_xlabel set_xlim set_linewidth set_ylabel tick_params ravel set_ylim enumerate join remove compress close savefig sorted listdir read_csv len sorted arange plot set_xticklabels print save_fig set_yticks transpose range setup_figure legend listdir array read_csv setup_n_figs len arange err_min save_fig sorted err_plus legend append range setup_figure plot copy nan fill listdir enumerate line zeros fill_between array read_csv arange err_min save_fig sorted list err_plus generate_goals legend append range setup_figure plot astype copy mean nan zip fill listdir keys enumerate line set_yticks float32 dict zeros fill_between array read_csv len arange flatten err_min save_fig sorted err_plus set_linewidth scatter legend append range setup_figure plot copy mean get_lines nan fill listdir enumerate line set_yticks dict zeros fill_between array read_csv len compute_reward arange RolloutWorker init_storage generate_rollout save update_LP gather cuda seed RLAgent valid_goals GoalSampler save_bucket_contents array env_name Get_rank range update configure format n_cycles astype choice mean get_instruction info manual_seed vars get_env_params biased_init n_epochs make time sync int sample_goal _update_normalizer n_batches dict log_and_save train evaluations store items list record_tabular save dump_tabular exp backward automatic_entropy_tuning zero_grad clone tensor step sync_grads critic_network concatenate reshape backward min zero_grad mse_loss mean update_entropy sample tensor step cuda sync_grads critic_network backward reshape min zero_grad mse_loss mean update_entropy configuration_network sample tensor step cuda sync_grads backward reshape min zero_grad actor critic mse_loss mean update_entropy tensor step cuda forward_pass append join curriculum_learning format automatic_buckets symmetry_trick now biased_init mkdir architecture save_dir dict empty asarray empty asarray sqrt empty asarray where iternext asarray nditer eigh zeros empty quat_mul quat_conjugate euler2quat sum empty asarray array swapaxes quat_mul array quat_conjugate norm arcsin array expand_dims cos copy sin expand_dims copy arctan expand_dims arccos copy expand_dims cos copy arctan pi copy round pi all product pi mat2euler round euler2mat range split mocap_quat mocap_pos reshape reset_mocap2body_xpos nmocap split forward array range eq_obj2id eq_type eq_obj1id zip astype float32 list format arange set choice split append range len format split append range len make list int concatenate astype get_data label_transitions generate_goals unique append array values enumerate format get_data split append range enumerate len dict list range zip str list tolist set flatten unique append array range enumerate get_test_sets DataLoader device seed list tolist get_dataset Vocab encode append analyze_inst OneHotEncoder set copy manual_seed is_available keys enumerate print dict ConfigLanguageDataset array get_test_sets zero_grad str defaultdict step Adam append expand_dims to range format astype set mean item zip enumerate int backward print parameters vae repeat loss_fn zeros epochs array len arange len index numpy make _get_configuration extend set split append len int bool enumerate list format values lower split append check_same_plane range enumerate len list format isinstance shuffle choice append range len zeros size unsqueeze scatter_ makedirs items list logkv log log log log join strftime gettempdir log getenv Logger split Get_rank makedirs close log DEFAULT configure dumpkvs debug logkv_mean rmtree set_level logkv info exists join sorted defaultdict value isdir glob keys empty nan startswith append step max enumerate summary_iterator mpi_fork exit Get_rank update copy check_call COMM_WORLD Bcast _get_flat_params_or_grads _set_flat_params_or_grads COMM_WORLD zeros_like Allreduce _get_flat_params_or_grads _set_flat_params_or_grads copy_ data view_as parameters isinstance bias xavier_uniform_ weight constant_ Linear copy_ parameters data zip
# Grounding Language to Autonomously-Acquired Skills via Goal Generation This repository contains the code associated to the *Grounding Language to Autonomously-Acquired Skills via Goal Generation* paper submitted at the ICLR 2021 conference. **Abstract** We are interested in the autonomous acquisition of repertoires of skills. Language-conditioned reinforcement learning (LC-RL) approaches are great tools in this quest, as they allow to express abstract goals as sets of constraints on the states. However, most LC-RL agents are not autonomous and cannot learn without external instructions and feedback. Besides, their direct language condition cannot account for the goal-directed behavior of pre-verbal infants and strongly limits the expression of behavioral diversity for a given language input. To resolve these issues, we propose a new conceptual approach to language-conditioned RL: the Language-Goal-Behavior architecture (LGB). LGB decouples skill learning and language grounding via an intermediate semantic representation of the world. To showcase the properties of LGB, we present a specific implementation called DECSTR. DECSTR is an intrinsically motivated learning agent endowed with an innate semantic representation describing spatial relations between physical objects. In a first stage (G -> B), it freely explores its environment and targets self-generated semantic configurations. In a second stage (L -> G), it trains a language-conditioned goal generator to generate semantic goals that match the constraints expressed in language-based inputs. We showcase the additional properties of LGB w.r.t. both an end-to-end LC-RL approach and a similar approach leveraging non-semantic, continuous intermediate representations. Intermediate semantic representations help satisfy language commands in a diversity of ways, enable strategy switching after a failure and facilitate language grounding. **Link to Website** You can find videos on the [paper's website](https://sites.google.com/view/decstr). The paper can be found on Arxiv [here](https://arxiv.org/abs/2006.07185). **Requirements** * gym * mujoco
1,301
akibcmi/SAMS
['chinese word segmentation']
['Attention Is All You Need for Chinese Word Segmentation']
train/opts.py module/multiheadattention.py module/embeddings.py model/__init__.py module/position_ffn.py train/optimizers.py data/__init__.py train/savers.py module/__init__.py scripts/q2b.py module/biaffineattention.py train/getlabel.py train/prf1.py train/trainers.py maxlens.py train_single.py model/transformer.py data/data.py log/logger.py log/__init__.py preprocess.py valid_single.py train/__init__.py train/callos.py calculatePRF1.py gettraindev.py train/evalsaver.py train/loss.py score createopt opt B2Q writea lines getengs strQ2B lines2 replaceFiles check create_opts preprocess replacespace getnums reps writesdatasets create_optim create_models create_vocabs create_valid_dataset create_embeddings create_trainer create_logs create_saver create_calloss create_checkpointer Logger init_logger create_getlabel create_criterion create_eval create_train_dataset train_single create_models create_parse_valid create_vocabs create_valid_dataset create_embeddings valid_single create_logs create_calloss create_checkpointer Logger init_logger create_getlabel create_criterion create_eval FilesReaderDataset BuffersDatasers Dataset Vocabulary init_logger Addwords BiaffineScoreLayer BiaffineSegmentationModel TransformerEncoder TransformerEncoderLayer BiaffineAttention EmbeddingPE PositionalEncoding MultiHeadAttention PositionwiseFeedForward strQ2B SegLayerLoss SingleLabelLoss CalculateLoss SegLayerEvalSaver SingleLabelEvalSaver EvalSaver CNSeglayerLabelResult CNSegSeqLabelResult SeqLabelResult LabelSmoothingLoss Optimizer create_parse CalculatePRF ModelSaver Trainer add_argument ArgumentParser add_argument ArgumentParser ord compile strip split strip split readlines getengs open zip append getnums split ord add_argument ArgumentParser trainfile pretrain_files dim Vocabulary from_pretrained dim dropout position_encoding Variable load_state_dict cuda Tensor EmbeddingPE word2vectors_arr batch_size cyc des use_buffers FilesReaderDataset trainfile info buffer_size token valid_batch_size valid_token use_buffers evalfile FilesReaderDataset info buffer_size learning_rate Optimizer print set_parameters optim optimizer reloadlrs savesteps ModelSaver savefiles setFormatter getLogger addHandler StreamHandler Formatter DEBUG setLevel INFO FileHandler logfiles Logger init_logger train_steps epoch savevalid valid_steps batch_size name train_from cyc showsteps Trainer accumulate savesteps create_criterion dataset cuda gpu load update epoch learning_rate __dict__ batch_size train_from multigpu accumulate info reloadlrs window ff DataParallel segwords cuda str seglayers norm_after load_state_dict sum head dim middecode dropout multigpu gate info BiaffineSegmentationModel layer create_valid_dataset create_saver create_checkpointer str create_models create_vocabs create_calloss create_eval __dict__ create_embeddings create_trainer info create_getlabel create_optim create_parse position_encoding create_logs train create_train_dataset add_argument ArgumentParser model create_valid_dataset Softmax model create_checkpointer str create_models create_vocabs create_calloss create_parse_valid __dict__ create_embeddings eval info create_getlabel valid_batch_size position_encoding create_logs create_eval Dataset addFilter add_argument ArgumentParser
# Self-Attention Model for Segmentation (SAMS) This is a Python implementation of the CWS described in "Attention is All You Need for Chinese Word Segmentation" ## Requirements * Python 3.6 * [Pytorch](http://pytorch.org/) 1.0.0 or later. 1.5.0 is available. * [Scipy](scipy.org) 1.5.2 ### Pre-trained Embeddings * Gensim ## Training ### Data
1,302
akshayb7/Style-Transfer
['style transfer']
['A Neural Algorithm of Artistic Style']
image_helpers.py layer_helpers.py automation.py plot_images style_transfer image_tensor_to_numpy load_image_as_tensor gram_matrix get_features backward zero_grad Adam mean get_features gram_matrix shape to step range image_tensor_to_numpy subplots set_title axis imshow size Compose convert unsqueeze transform max squeeze transpose array clip detach items list layer shape view
# Style-Transfer ## Introduction This repository contains a PyTorch-based implementation of "A Neural Algorithm of Artistic Style" by L. Gatys, A. Ecker, and M. Bethge, which presents a method for transferring the artistic style of one input image onto another. You can read the paper here: http://arxiv.org/abs/1508.06576. ## Requirements - Python 3.0 or above - PyTorch 1.0.0 (may work with older versions) - CUDA (recommended) CUDA will enable GPU-based computations. ## How to use? All of the necessary codes are available in the different helper functions for ease of understanding and then combined in the `style transfer.ipynb` notebook. The different helper functions are in image_helpers.py and layer_helpers.py.
1,303
akshaybhatia10/Book-Genre-Classification
['genre classification']
['Judging a Book By its Cover']
appweb/app.py learn_embeddings.py preprocess_text prepare_data clean_text plot_embeddings sampling generate_batches window_words build_vocab predict form join sub split append preprocess_text read_csv enumerate append split sorted Counter Counter len randint set window_words range extend len scatter savefig figure annotate enumerate load transform lower append
# Book Genre Classification ### About This project was a part of Spikeway Technologies AI Lab(SAIL) and discusses the classification of books based only on title, without prior knowledge or context of author and origin. The total number of genres for the books to be classified into is 32. The notebooks focus on achieving this task using different Machine Learning and Deep Learning techniques. **_Basic_Bag_of_Words_model.ipynb_** does a very simple exploration and uses a basic feed forward network. **_Best_TFIDF-Vectorizer_model.ipynb_** uses Logistic Regression, Multinominal NaiveBayes, Multi Layer Perceptron and XGBoost. **_RNN_LSTM_using_Glove_vectors.ipynb_** uses Deep Learning concepts such as Recurrent Neural Networks(RNN) and Long Short Term Memory(LSTM). A live demo hosted using [Heroku](https://heroku.com) is available [here](https://book-genre-classification.herokuapp.com). This webapp uses the pre-saved Logistic Regression model for inference. ### Install This project requires **Python 3** and the following Python libraries installed:
1,304
akshu281/KDD_LSTM
['anomaly detection']
['Detecting Spacecraft Anomalies Using LSTMs and Nonparametric Dynamic Thresholding']
telemanom/helpers.py run.py telemanom/_globals.py telemanom/modeling.py telemanom/errors.py run get_anomalies prune_anoms compare_to_epsilon evaluate_sequences get_errors find_epsilon process_errors anom_stats shape_data view_results make_dirs load_data final_stats setup_logging get_model predict_in_batches Config final_stats int list smoothing_perc join batch_size flatten window_size l_s save array int sorted list get_anomalies batch_size extend error_buffer set window_size find_epsilon append max range len sorted list arange len set mean append float std range enumerate sorted list batch_size set l_s append range len sorted p sort index append max range len percentile list prune_anoms error_buffer mean compare_to_epsilon set find_epsilon float std append eval enumerate len mkdir stdout setFormatter getLogger addHandler dir StreamHandler Formatter info setLevel INFO FileHandler load join shape_data n_predictions shuffle l_s append array range len float info info join dropout n_predictions Sequential fit add Dense save info LSTM Activation compile Dropout int join batch_size n_predictions reshape l_s save append array range predict len
# Telemanom ### Branch info: - `master`: for use with data containing labeled anomalies and recreating KDD paper experiments - `no-labels`: for use with unlabeled data (a set of time-series streams) ## Anomaly Detection in Time Series Data Using LSTMs and Automatic Thresholding [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) Telemanom employs vanilla LSTMs using [Keras](https://github.com/keras-team/keras)/[Tensorflow](https://github.com/tensorflow/tensorflow) to identify anomalies in multivariate sensor data. LSTMs are trained to learn normal system behaviors using encoded command information and prior telemetry values. Predictions are generated at each time step and the errors in predictions represent deviations from expected behavior. Telemanom then uses a novel nonparametric, unsupervised approach for thresholding these errors and identifying anomalous sequences of errors. This repo along with the linked data can be used to re-create the experiments in our 2018 KDD paper, "[Detecting Spacecraft Anomalies Using LSTMs and Nonparametric Dynamic Thresholding](https://arxiv.org/abs/1802.04431)", which describes the background, methodologies, and experiments in more detail. While the system was originally deployed to monitor spacecraft telemetry, it can be easily adapted to similar problems. # Getting Started Clone the repo (only available from source currently):
1,305
akula01/DeepFork
['link prediction']
['DeepFork: Supervised Prediction of Information Diffusion in GitHub']
parameters.py roc.py utils/database_util.py baseline_latest.py config.py utils/data_util.py main.py baseline.py predict_links_graph_distance predict_links_adamic_adar predict_links_common_neighbours predict_links_random predict_links_pearson predict_links_jaccard test_baseline test_prediction predict_links_common_neighbourhood build_network get_key predict_links_rooted_pagerank predict_preferential_attachment predict_links_simrank predict_links_katz visualize predict_links_graph_distance predict_links_adamic_adar predict_links_common_neighbours predict_links_random predict_links_pearson predict_links_jaccard test_baseline test_prediction predict_links_common_neighbourhood build_network get_key predict_links_rooted_pagerank predict_preferential_attachment predict_links_simrank predict_links_katz visualize train_svm get_test_data_topological get_train_data_joint get_train_data_topological get_train_data get_test_data build_model get_test_data_joint train_nbc train_decisiontree_model train_extratree_model test train_linear_model train_kmeans train_knn train train_random_forest get_roc get_fork_events_for_repo_after_creation get_fork_events_for_repo_between get_fork_events_for_repos_between get_repositories_created_between get_repos_forkcounts_created_between get_push_events_for_repo_between get_watch_events_for_repo_between get_fork_events get_watch_events_for_repos_between get_issues_closed_for_repo_between is_follower get_repositories_created_between_filtered_type get_follower_forks get_user_profile get_repositories_created_between_filtered get_forked_users get_repo_profile get_client get_push_events_for_repos_between is_watching get_fork_events_between get_forked_repos get_repos_forked_between plot_fork_events get_follower_list get_repos_with_forkcount_between did_forked get_repo_create_events_between get_user_features build_graph get_train_features_topological get_test_features_topological get_test_features get_test_data get_feature get_edges_from_testset build_train_graph get_training_data get_test_features_joint get_features_parallel get_train_features get_feature_joint get_features_joint_parallel get_train_features_joint convert_timestamp get_repo_features build_nkt_graph get_topological_features get_feature_topological get_features_topological_parallel load list addEdge Graph len keys edges open read_gpickle enumerate items list append SimRank predict top items list GraphDistance append predict top items list append RootedPageRank predict top items list CommonNeighbours append predict top items list Katz append predict top items list CommonNeighbours append predict top items list AdamicAdar append predict top items list append DegreeProduct predict top items list append Jaccard predict top items list Pearson append predict top items list Random append predict top float shuffle len load predict_links_graph_distance predict_links_adamic_adar print predict_links_random predict_links_pearson predict_links_jaccard test_prediction predict_links_common_neighbourhood build_network predict_links_rooted_pagerank predict_links_simrank predict_links_katz open show draw_networkx build_network print remove_edges_from append Sequential load list concatenate use_subset len shuffle append range open load list concatenate len shuffle append range open load list concatenate len shuffle with_fork range append open load list len shuffle with_fork range append open load list use_subset len shuffle append range open load list len shuffle append range open str join get_train_data_joint use_topological get_train_data build_model get_train_data_topological TensorBoard fit Adam input_size save ModelCheckpoint train_joint compile makedirs get_test_data_topological load_model use_topological get_test_data print get_test_data_joint precision_recall_fscore_support train_joint predict accuracy_score dump append get_train_data get_test_data precision_recall_fscore_support print open sleep RandomForestClassifier accuracy_score range predict fit dump append get_train_data get_test_data print LinearSVC SVC open sleep precision_recall_fscore_support accuracy_score range predict fit dump sleep append get_train_data get_test_data print choice open KNeighborsClassifier precision_recall_fscore_support randint accuracy_score range predict fit dump append get_train_data get_test_data print open sleep precision_recall_fscore_support accuracy_score MultinomialNB range predict fit dump append get_train_data get_test_data print SGDClassifier open sleep precision_recall_fscore_support accuracy_score range predict fit dump append get_train_data get_test_data print open DecisionTreeClassifier sleep precision_recall_fscore_support accuracy_score range predict fit dump ExtraTreeClassifier get_train_data get_test_data print append open sleep precision_recall_fscore_support accuracy_score range predict fit dump get_train_data get_test_data print labels_ sleep precision_recall_fscore_support accuracy_score range append open get_test_data_joint SVC KNeighborsClassifier show load_model get_train_data get_test_data ylabel ylim title legend predict get_test_data_topological ExtraTreeClassifier plot RandomForestClassifier xlim auc xlabel roc_curve LinearSVC DecisionTreeClassifier figure MultinomialNB fit Elasticsearch sort get_client scan sort get_client scan dump get_client print sort scan open enumerate filter get_client scan query get_client execute query get_client execute query get_client append execute get_follower_list filter get_client scan execute filter get_client query get_client execute filter get_client scan get_fork_events get_forked_repos put get_follower_list append to_dict execute filter get_client append sort get_client scan append sort get_client scan append filter get_client scan execute filter get_client execute filter get_client execute filter get_client execute filter get_client execute filter get_client execute filter get_client execute filter get_client filter get_client scan str dump get_fork_events_for_repo_between print strptime strftime timedelta open enumerate load str list yscale show plot xscale histogram values open add_edge dump write_gpickle DiGraph print add set intersection enumerate open load list addEdge Graph len keys edges open read_gpickle enumerate readline build_graph print readlines len extend open load readline dump readlines append open Process time join dump print extend start open Queue append range len Process time join dump print build_nkt_graph extend start open Queue append range len Process time join dump print build_nkt_graph extend start open Queue append range len strptime fromtimestamp convert_timestamp get_user_profile convert_timestamp get_repo_profile get_user_features ravel get_repo_features put get_topological_features ravel put get_user_features get_repo_features put get_topological_features ravel run load list dump print subgraph nodes keys difference set edges intersection open read_gpickle enumerate append len dump subgraph print nodes set difference get_follower_list intersection read_gpickle enumerate load get_features_parallel open load get_features_parallel print open load print get_features_topological_parallel open load print get_features_topological_parallel open load get_features_joint_parallel print open load get_features_joint_parallel print open
# DeepFork: Supervised Prediction of Information Diffusion in GitHub Information spreads on complex social networks extremely fast. A piece of information can go viral in no time and can be harmful. Often it is hard to stop this information spread causing social unrest. An intentional spread of software vulnerabilities in GitHub has caused millions of dollars in losses. GitHub is a social coding platform that enables a huge number of open source software projects to thrive. To better understand how the information spreads on GitHub, we develop a deep neural network model: “DeepFork”, a supervised machine learning based approach that aims to predict information diffusion; considering node as well as topological features in complex social networks. In our empirical studies, we observed that information diffusion can be detected by link prediction using supervised learning. This model investigates the followee-follower influence that underlay information dynamics in social coding platform. DeepFork outperforms other machine learning models as it better learns the discriminative patterns from the input features. DeepFork helps us in understand human influence on information spread and evolution.
1,306
akulkailwoo/zalando-fashion-mnist
['data augmentation']
['DENSER: Deep Evolutionary Network Structured Representation']
utils/helper.py configs.py benchmark/convnet.py app.py benchmark/runner.py utils/argparser.py utils/mnist_reader.py visualization/project_zalando.py start_s3_sync get_json_logger touch touch_dir _get_logger main cnn_model_fn PredictJob JobWorker JobManager get_args_request parse_arg get_args_cli now_int upload_result_s3 get_sprite_image invert_grayscale create_sprite_image vector_to_matrix_mnist UploadS3Thread load_mnist UploadS3Thread start Event dirname makedirs makedirs setFormatter touch_dir DEBUG getLogger addHandler StreamHandler Formatter touch setLevel INFO FileHandler setFormatter getLogger addHandler Formatter touch setLevel INFO FileHandler dense max_pooling2d dropout one_hot minimize reshape GradientDescentOptimizer conv2d softmax_cross_entropy asarray evaluate print Estimator shuffle labels images numpy_input_fn train range read_data_sets int append items list defaultdict utcfromtimestamp info int isinstance ones sqrt ceil array range vector_to_matrix_mnist invert_grayscale join
# Fashion-MNIST [![GitHub stars](https://img.shields.io/github/stars/zalandoresearch/fashion-mnist.svg?style=flat&label=Star)](https://github.com/zalandoresearch/fashion-mnist/) [![Gitter](https://badges.gitter.im/zalandoresearch/fashion-mnist.svg)](https://gitter.im/fashion-mnist/Lobby?utm_source=share-link&utm_medium=link&utm_campaign=share-link) [![Readme-CN](https://img.shields.io/badge/README-中文-green.svg)](README.zh-CN.md) [![Readme-JA](https://img.shields.io/badge/README-日本語-green.svg)](README.ja.md) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Year-In-Review](https://img.shields.io/badge/%F0%9F%8E%82-Year%20in%20Review-orange.svg)](https://hanxiao.github.io/2018/09/28/Fashion-MNIST-Year-In-Review/) <details><summary>Table of Contents</summary><p> * [Why we made Fashion-MNIST](#why-we-made-fashion-mnist) * [Get the Data](#get-the-data)
1,307
akutuzov/error_annotation
['language acquisition']
['Semi-automated typical error annotation for learner English essays: integrating frameworks']
aspell2.py lemmatizer.py lemmatizer2.py conll2standoff.py docimport.py freeling2conll.py correction NoWritePermissionError save_import FileExistsError InvalidDirError lemmatizer2 list lemmatizer2 conll join_path zip_longest isfile standoff_main lemmatizer real_directory append split
# Automatic Language Errors Annotation This is a framework for pre-annotating learner corpora with typical errors. The system itself is described in detail in the paper 'Semi-automated typical error annotation for learner English essays: integrating frameworks' (included in this repository). It can be used to ease the work of human annotator who spot errors in learner texts. It employs Aspell spellchecker and Freeling suite of linguistic analyzers (http://nlp.lsi.upc.edu/freeling/) to find positions where there is a possible error. The system is used together with Brat web annotation framework (http://brat.nlplab.org/) and works automatically whenever a new document is uploaded via web interface. It is processed and annotations with possible errors are generated. Aferwards, human annotators can use them as hints to make error spotting easier. The system was developed for Russian Error-Annotated Learner English Corpus (REALEC, http://realec.org). Instructions ============ You should have Brat, Freeling and Aspell installed on your Unix server. Supposedly, Aspell is already there, if not, check http://aspell.net/.
1,308
akutuzov/russian_wsi
['word embeddings', 'word sense induction']
['Russian word sense induction by clustering averaged word embeddings']
evaluate.py wsi.py helpers.py ari_per_word_weighted gold_predict main evaluate visualize fingerprint wordweight save main copy gold_predict sum sorted format print ari_per_word_weighted keys read_csv len evaluate add_argument ArgumentParser parse_args dataset list print divide wordweight set zeros sum range len count print format to_csv int TSNE print exit close clf scatter savefig zip annotate tick_params fit_transform len context model endswith twostage save max visualize str iterrows init_sims tolist fingerprint input context_id load_word2vec_format set_defaults append testing arg set unique cluster_centers_indices_ empty load print fit gold_sense_id min average split zeros vector_size std read_csv len
# Word Sense Induction for Russian This is an implementation of Russian Word Sense induction system designed for the [RUSSE'18 shared task](http://russe.nlpub.org/2018/wsi/). This system [ranked 2nd](https://competitions.codalab.org/competitions/17810#results) among 19 participants for the **wiki-wiki** task. The [paper](https://arxiv.org/abs/1805.02258) describing it is accepted to the 24rd International Conference on Computational Linguistics and Intellectual Technologies (Dialogue’2018). The approach is based on clustering averaged word vectors ("semantic fingerprints") of contexts for ambiguous words. Word vectors can be extracted from any word embedding model. Input data must correspond to the RUSSE'18 data format, as exemplified by the files in the `RUSSE_data` subdirectory in this repository. Note that the words in the `word` and `context` columns of the input dataset should match entries in your word embedding model: for example, regarding lemmatization and PoS-tags. We provide each RUSSE'18 dataset in 3 versions: raw text, lemmas, lemmas + PoS tags. Word embedding models for Russian can be downloaded, for example, from [RusVectōrēs](http://rusvectores.org/models/) web service. ## Usage: ```
1,309
alainjungo/reliability-challenges-uncertainty
['medical image segmentation', 'semantic segmentation']
['Assessing Reliability and Challenges of Uncertainty Estimations for Medical Image Segmentation']
common/trainloop/steps.py common/utils/filehelper.py common/trainloop/context.py common/model/management.py common/trainloop/loops.py scripts/prepare_isic_data.py scripts/create_brats18_dataset.py rechun/eval/helper.py bin-dl/brats_test_default.py rechun/dl/customdatasets.py bin-analysis/plot_supplmat_error_prec_recall.py common/model/helpers.py common/utils/labelhelper.py bin-dl/brats_test_aleatoric.py common/utils/logginghelper.py common/model/factory.py common/model/postnet.py rechun/directories.py bin-analysis/plot_calibration.py common/evalutation/torchfunctions.py common/utils/messages.py common/trainloop/data.py rechun/dl/multimodelcontext.py common/data/collector.py common/loss.py scripts/create_brats18_split.py bin-analysis/table_ece_ue_bnf_dice.py bin-dl/isic_test_ensemble.py bin-dl/brats_train_auxiliary_segm.py bin-dl/isic_train_auxiliary_segm.py rechun/analysis/resultdata.py bin-dl/isic_train_aleatoric.py scripts/create_isic_subtrain_split.py common/evalutation/eval.py bin-dl/isic_train_auxiliary_feat.py common/data/collate.py common/utils/threadhelper.py common/trainloop/factory.py bin-dl/brats_train_aleatoric.py bin-dl/isic_test_default.py common/trainloop/config.py bin-dl/brats_train_auxiliary_feat.py common/utils/torchhelper.py common/data/selectionhelper.py bin-dl/isic_test_aleatoric.py common/model/unet.py bin-eval/eval_uncertainty.py bin-dl/brats_test_auxiliary_feat.py bin-dl/brats_test_auxiliary_segm.py bin-dl/brats_train_default.py bin-dl/isic_train_default.py rechun/dl/customsteps.py rechun/eval/evaldata.py rechun/eval/hook.py common/utils/idhelper.py common/data/split.py bin-analysis/table_supplmat_ece_dataset_vs_meansubject.py common/configuration/config.py common/trainloop/hooks.py bin-dl/isic_test_auxiliary_segm.py bin-dl/brats_test_ensemble.py bin-dl/isic_test_auxiliary_feat.py bin-analysis/save_images.py rechun/eval/analysis.py common/evalutation/numpyfunctions.py create_pdf_all_run_id get_isic_data create_legend_only get_brats_data create_subject_pdfs miscalibration_percentage get_bins main gather_base get_isic_data create_legend_only get_brats_data main plot_precision_recall main OutWriterPng get_slice_and_str get_isic_data gather_information get_brats_data get_best_thresholds main prepare_for_print get_isic_data gather_information get_brats_data data_set_vs_mean_subject_ece get_bins main prepare_for_print AleatoricPredictStep main WriteHook main WriteHook SegmentationPredictStep EvalSubjectStep main WriteHook SegmentationPredictStep EvalSubjectStep main WriteHook EvalSubjectStep main EnsemblePredictionStep WriteHook EvalSubjectStep AleatoricPredictStep main TrainStepWithEval EvalSubjectStep main SpecialTrainStep SpecialSegmentationPredictStep EvalSubjectStep main SpecialTrainStep SpecialSegmentationPredictStep main EvalSubjectStep PrepareSubjectStep WriteHook AleatoricPredictStep EvalSubjectStep main PrepareSubjectStep WriteHook SegmentationPredictStep EvalSubjectStep main PrepareSubjectStep WriteHook SegmentationPredictStep EvalSubjectStep main main PrepareSubjectStep WriteHook EvalSubjectStep EnsemblePredictionStep PrepareSubjectStep WriteHook EvalSubjectStep main AleatoricPredictStep main EvalStep TrainStepWithEval PrepareSubjectStep SpecialSegmentationPredictStep EvalSubjectStep main SpecialTrainStep EvalSubjectStep main SpecialTrainStep SpecialSegmentationPredictStep main PrepareSubjectStep EvalStep get_actions EvalCase EvalAction _make_dir_if_not_exists EceCalibrationAction CorrectionAction main SaveMinMaxAction EceAction AleatoricLoss DictableParameterExt DictableParameter CollateDict Collector IsicCollector combine Brats17Collector PostfixPredictionCollector load_indices save_indices calculate_or_load_indices split_subjects_k_fold create_stratified_shuffled_split save_split _normalize_sizes split_subjects split_subject_k_fold_stratified load_split EmptyEvaluation NumpyEvaluationStrategy LogLossSklearn ConfusionMatrix EvaluationStrategy SmoothDice TorchEvaluationStrategy UncertaintyErrorDiceNumpy DiceNumpy UncertaintyAndCorrectionEvalNumpy ComposeEvaluation EceBinaryNumpy Nll _check_and_return LambdaEvaluation _get_proportion ece_binary entropy _binary_calibration error_recall accuracy log_loss_sklearn dice uncertainty error_precision error_dice confusion_matrx binary_calibration _check_ndarray nll _check_tensor_type smooth_dice get_model get_optimizer InterpolateWrapper _ModelService ModelFiles PostNet _get_dropout ConvResidualBlock UNet UpConv _get_dropout_mode Conv2dBnRelu ConvBlock DownConv TrainConfiguration member_to_dict_with_parametric OtherParameters TestConfiguration DataConfiguration dict_to_member_with_parametric TestContext TrainContext BatchContext TorchTrainContext History TaskContext TorchTestContext Context SubjectContext BuildDataset Data BuildLoader BuildDefaultLoader BuildSelectionSampler BuildParametrizableDataset BuildDefaultSampler BuildSampler BuildSubsetSampler BuildData get_selection_strategy get_optimizer get_transform get_model get_indexing get_extractor TensorboardXHook ReducedComposeTestLoopHook ReducedComposeTrainLoopHook ConsoleTestLogHook TestLoopHook WriteValidationMetricsCsvHook ComposeTrainLoopHook ConsoleLogHook make_compose SaveNLastModelHook WriteTestMetricsCsvHook make_reduce_compose TrainLoopHook SaveBestModelHook tensor_to_numpy ValidateSubject Validate Train Test TrainStep EvalStep ExtractSubjectInfoStep BatchStep SubjectStep SegmentationPredictStep EvalSubjectStep remove_if_exists create_dir_if_not_exists create_and_clean_dir get_unique_identifier extract_leading_identifier boarder_mask to_one_hot setup_file_logging get_type_error_msg join_all do_work set_dropout_mode channel_to_end entropy end_to_channel get_channel_to_end_permutation do_seed optimizer_to_device get_end_to_channel_permutation BratsResultData _get_files_in_dir ResultsData _place_holder_to_glob _combine_file_dicts IsicResultData _place_holder_to_regex BuildIsicDataset IsicDataset McPredictStep MultiPredictionSummary MultiModelTorchTrainContext Loader MoveEntry _get_rescale_prep_and_idstr RescaleSubjectMinMax RescaleLinear ToForegroundProbabilities ComposePreparation AddBackgroundProbabilities ToEntropy get_confidence_entry_preparation get_probability_preparation PrepareData get_uncertainty_preparation get_brats_eval_data get_isic_data get_brats_data EvalData get_isic_eval_data uncertainty_to_foreground_probabilities read_min_max pandas_error_precision rescale_uncertainties add_background_probability check_min_max pandas_error_recall WriteBinsCsvHook ReducedComposeEvalHook WriteSummaryCsvHook WriteCsvHook EvalHook build_brats_dataset build_binarized_train to_binary add_predictions WriteGradeCallback build_binarized_with_prediction_test build_binarized_with_predictions_train LoadSubject BuildParameters main get_params build_binarized_test main main main process_data join create_pdf_all_run_id get_isic_data get_brats_data create_legend_only concat create_subject_pdfs miscalibration_percentage CALIB_NAME ISIC_PLOT_DIR create_dir_if_not_exists BRATS_PLOT_DIR read_csv append percentile items list asarray compressed groupby format print size mean get_bins append sum join list subplots plot savefig figure legend values len items list join subplots compressed plot format xlabel close ylabel get_bins savefig legend tick_params data items list join subplots compressed plot format xlabel close ylabel get_bins savefig legend allclose tick_params sum values array values brats_selection_id_name_dict list BratsResultData OrderedDict get_files keys list OrderedDict isic_selection_id_name_dict get_files keys IsicResultData gather_base format plot_precision_recall format Series concat append read_csv items list remove subplots reset_index plot xlabel set_xlim pandas_error_precision ylabel mean savefig tick_params sort_values pandas_error_recall Loader get_data on_test_id confidence_entry Params get_brats_eval_data ISIC_EVAL_DIR get_isic_eval_data on_new_subject OutWriterPng prepare subject get_uncertainty_preparation id_ print MINMAX_NAME BRATS_EVAL_DIR makedirs sum argmax gather_information replace sub prepare_for_print format get_isic_data get_brats_data print Series concat get_best_thresholds merge mean rename append read_csv drop to_latex print astype apply round rename zip sum append groupby concat idxmax to_latex reset_index data_set_vs_mean_subject_ece items list rename apply load_from_config ReducedComposeTestLoopHook SubjectAssembler test Test is_log_sigma CONFIG_DIR TorchTestContext BuildData weight_checkpoint_dir model_dir device from_model_dir load_model_from_parameters test_at to find_checkpoint_file eval model_path load_checkpoint parameters hasattr others basename info enumerate isinstance len ValidateSubject ComposeTrainLoopHook Train TorchTrainContext train Subject2dAssembler prediction_dir PrepareSubjectStep ReducedComposeTrainLoopHook start_eval finish_eval subject_files get_actions eval_subject time setup_eval makedirs EceCalibrationAction CorrectionAction append SaveMinMaxAction EceAction items list categories join sorted basename format bytes repr dataset_path crc32 indexing_strategy hex select_indices dirname save_indices info subject_subset exists makedirs append _normalize_sizes len append range len append StratifiedKFold split train_test_split remove_if_exists append int isinstance _get_proportion sum binary_calibration ndim _binary_calibration flatten squeeze logical_and bincount digitize linspace sum log sum logical_and _check_ndarray ConfusionMatrix DiceCoefficient _check_ndarray ConfusionMatrix Accuracy _check_ndarray ConfusionMatrix reshape _check_ndarray sum float _check_tensor_type view view float _check_tensor_type long log isinstance from_parameter getattr member_to_dict append range len dict_to_member isinstance recursive_string_to_dict to_parameter getattr append setattr range len append isinstance from_dict isinstance DictableParameterExt startswith append append isinstance setattr _get_loop_fn append _get_loop_fn setattr getattr rmtree exists makedirs remove isdir isinstance rmtree isfile dirname makedirs strptime max bool distance_transform_edt astype setFormatter format addHandler Formatter info FileHandler join format __name__ start fn Thread append join items list to is_tensor values seed manual_seed_all manual_seed isinstance eval modules train enumerate join basename glob group _place_holder_to_glob match _place_holder_to_regex items list _get_rescale_prep_and_idstr id_ extend AddBackgroundProbabilities append _get_rescale_prep_and_idstr MoveEntry id_ AddBackgroundProbabilities ToEntropy confidence_entry append read_min_max join format id_ get_subject_files isinstance eval_path combine Brats17Collector load_split PostfixPredictionCollector get_subject_files isinstance eval_path IsicCollector combine PostfixPredictionCollector check_min_max check_min_max stack format max warn min any any BuildParameters LambdaTransform append build_binarized_with_prediction_test build_binarized_with_predictions_train build_binarized_test build_binarized_train join get_params DATASET_DIR build_brats_dataset join get_params DATASET_DIR build_brats_dataset join get_params DATASET_DIR build_brats_dataset join get_params DATASET_DIR build_brats_dataset get_subject_files is_train_data sort in_dir add_prediction_fn split_file out_file remove_if_exists prediction_path create_dir_if_not_exists load_split Brats17Collector glob split_subjects_k_fold list SPLITS_DIR split_subjects get_subject_files zip create_stratified_shuffled_split int save_split BRATS_ORIG_DATA_DIR split_subject_k_fold_stratified Brats17Collector seed getstate shuffle IsicCollector ISIC_PREPROCESSED_TRAIN_DATA_DIR setstate ISIC_ORIG_VALID_DATA_DIR ISIC_ORIG_TRAIN_DATA_DIR process_data create_and_clean_dir ISIC_PREPROCESSED_DIR ISIC_ORIG_TEST_DATA_DIR join basename format NEAREST print len BILINEAR IsicCollector get_img_and_label_dirs subject_files get_all_files open resize subject save enumerate makedirs
# Assessing Reliability and Challenges of Uncertainty Estimations for Medical Image Segmentation This is the code to the MICCAI 2019 contribution: "Assessing Reliability and Challenges of Uncertainty Estimations for Medical Image Segmentation" (Alain Jungo and Mauricio Reyes) ## Installation 1. Install the required Python packages (we use Python version 3.6): ```bash pip install -r requirements.txt ``` 2. Get the BraTS 2018 and the ISIC 2017 dataset
1,310
alali3030/earnings_calls_NLP
['text classification']
['Deep Learning Framework for Measuring the Digital Strategy of Companies from Earnings Calls']
text_classification/Maturity-RoBERTa.py text_classification/Aspect_RoBERTa.py seed_all TransformersVocab CustomTransformerModel TransformersBaseTokenizer get_preds_as_nparray seed_all TransformersVocab CustomTransformerModel TransformersBaseTokenizer get_preds_as_nparray seed is_available manual_seed_all manual_seed argsort numpy
[![](https://img.shields.io/badge/arXiv-2010.12418-00ff00.svg)](https://arxiv.org/abs/2010.12418) # earnings_calls_NLP - COLING 2020 Al-Ali, A. G., Sull, D., and Phaal, R. (2020) Deep Learning Framework for Measuring the Digital Strategy of Companies from Earnings Calls, in The 28th International Conference on Computational Linguistics (COLING 2020). Link to paper: https://www.aclweb.org/anthology/2020.coling-main.80/ This repository includes the work published at Computational Linguistics 2020 paper on extracting the digital transformation strategy of Fortune 500 companies from earnings calls transcripts. This work includes the following folders: - Converting around 5000 earnings calls transcripts from pdf format to a single dataframe - Building two text classifiers to classify the digital strategy and its maturity (Aspect based maturity analysis) - Clastering of the classification results to identify the digital strategy patterns of Fortune's Global 500 companies - Visualize the digital strategy patterns ![alt text](Strategy_Patterns.png) High-level illustration of the project pipeline:
1,311
alan-turing-institute/SemAIDA
['type prediction']
['Learning Semantic Annotations for Tabular Data', 'ColNet: Embedding the Semantics of Web Tables for Column Type Prediction']
IJCAI19/SemColHNN_Codes/prop2vec.py AAAI19/exp_Limaye/evaluate_restrict.py IJCAI19/SemColHNN_Codes/HNN.py IJCAI19/SemColHNN_Codes/samples.py IJCAI19/SemColHNN_Codes/T2D_IO/col_split.py AAAI19/exp_T2D/evaluate_cnn_fm.py AAAI19/exp_T2D/evaluate_cnn_tm.py AAAI19/exp_Limaye/util_kb.py IJCAI19/SemColHNN_Codes/util/util_hnn.py IJCAI19/SemColHNN_Codes/util/util_limaye.py AAAI19/exp_T2D/predict_ensemble.py IJCAI19/SemColHNN_Codes/CNN.py IJCAI19/SemColHNN_Codes/Ensemble1.py AAAI19/exp_T2D/train_cnn.py IJCAI19/SemColHNN_Codes/util/util_micro_table.py IJCAI19/SemColHNN_Codes/util/util_t2d.py AAAI19/exp_Limaye/train_cnn.py AAAI19/exp_T2D/util_kb.py IJCAI19/SemColHNN_Codes/Cache/cache_classes.py IJCAI19/SemColHNN_Codes/util/util_cnn.py IJCAI19/SemColHNN_Codes/util/util_kb.py AAAI19/exp_T2D/sample_lookup.py AAAI19/exp_Limaye/predict_ent_class.py AAAI19/exp_Limaye/util_cnn.py IJCAI19/SemColHNN_Codes/Baseline.py IJCAI19/SemColHNN_Codes/lookup_vote.py AAAI19/exp_Limaye/sample_particular.py IJCAI19/SemColHNN_Codes/Ensemble2.py IJCAI19/SemColHNN_Codes/Cache/cache_entities.py AAAI19/exp_Limaye/sample_general.py AAAI19/exp_Limaye/predict_lookup.py AAAI19/exp_T2D/evaluate_strict.py AAAI19/exp_T2D/util_cnn.py AAAI19/exp_T2D/evaluate_tolerant.py IJCAI19/SemColHNN_Codes/util/util_wikipedia.py AAAI19/exp_T2D/sample_particular.py AAAI19/exp_T2D/predict_lookup.py IJCAI19/SemColHNN_Codes/T2D_IO/prop2vec_analyze.py AAAI19/exp_Limaye/evaluate_tolerant.py AAAI19/exp_T2D/sample_general.py AAAI19/exp_Limaye/util_limaye.py IJCAI19/SemColHNN_Codes/T2D_IO/properties.py AAAI19/exp_T2D/util_t2d.py AAAI19/exp_T2D/predict_colnet.py AAAI19/exp_Limaye/predict_colnet.py AAAI19/exp_Limaye/predict_ensemble.py IJCAI19/SemColHNN_Codes/util/util_rnn.py AAAI19/exp_Limaye/sample_lookup.py AAAI19/exp_T2D/evaluate_infer_col_gt.py AAAI19/exp_Limaye/evaluate_infer_col_gt.py IJCAI19/SemColHNN_Codes/RNN.py predict read_cls_entities batch_iter embedding align_samples train random_cells2synthetic_columns sequence2matrix SyntheticColumnCNN synthetic_columns2sequence generate_synthetic_columns ordered_cells2synthetic_columns permutation_cells2synthetic_columns equivalent_classes query_sub_classes query_super_classes query_complete_classes_of_entity lookup_dbo_classes lookup_resources fine_grained_class query_general_entities read_cells_by_cols predict_unit predict_unit predict read_cls_entities batch_iter embedding align_samples train random_cells2synthetic_columns sequence2matrix SyntheticColumnCNN synthetic_columns2sequence generate_synthetic_columns ordered_cells2synthetic_columns permutation_cells2synthetic_columns super_classes_of_classes lookup_dbo_classes lookup_resources query_general_entities super_classes read_table_cols read_col_header read_t2d_cells primary_key_cols read_col_gt col_predict save_scores col_predict col_predict col_predict col_predict save_scores save_fc_out entity_cell_score col_predict read_class_cols print_row print_property cnn_predict cnn_train MicroTableCNN batch_iter hnn_train HNN hnn_predict query_property_ent_num query_complete_classes_of_entity_with_repeat lookup_entities_with_partial query_complete_classes_of_entity query_ent_num lookup_entities_with_repeat query_property_object lookup_entities read_limaye_columns Synth_Column_Encode_WV cell_phrase_preprocess cell_vector Table_Encode_WV_Avg Is_Number cell_vector_avg To_Number Is_Number_Col Table_Encode_WV extract_samples_by_col batch_iter AttRNN rnn_predict rnn_train attention read_t2d_columns read_wikipedia_columns latest_checkpoint join cnn_evaluate Graph dict len int permutation arange batch_size min num_epochs array range len join seed list permutation arange sequence2matrix concatenate synthetic_column_size sequence_size synthetic_columns2sequence generate_synthetic_columns append zeros enumerate append list append list range len append list range sample list len sample append enumerate join list tokenize replace zeros reshape enumerate get list replace strip fromstring findall content append get list replace text strip fromstring set add findall content append str list print dict query Service fetchone keys append str add query set Service fetchone str add query set Service fetchone str add query set Service fetchone str add query set Service fetchone add query_sub_classes set int join list dict split latest_checkpoint join cnn_evaluate Graph text dict str print query Service fetchone keys append enumerate str set dict query add Service fetchone list dict join listdir dict join read_col_header read_table_cols dict join listdir set list transform concatenate reshape use_property_vector Table_Encode_WV_Avg predict_proba append array enumerate join dump output_score close io_dir mkdir open cnn_predict hnn_predict Table_Encode_WV join dump close io_dir mkdir output_fc open str Is_Number jaro_distance replace rnn_predict dict print print enumerate latest_checkpoint join Graph latest_checkpoint join Graph get list replace text strip fromstring findall content append get list replace text strip fromstring sleep findall content append get list replace text strip fromstring findall content append split startswith str set query add startswith Service fetchone int str dict query Service fetchone Service query fetchone str query Service fetchone append join Is_Number float numeric float numeric int list len split append range enumerate replace join tokenize enumerate cell_phrase_preprocess join cell_phrase_preprocess zeros tokenize enumerate cell_vector_avg To_Number Is_Number_Col vector_size range enumerate cell_vector To_Number Is_Number_Col vector_size range enumerate join list cell_phrase_preprocess zeros vector_size tokenize range enumerate latest_checkpoint join Graph value isinstance Variable concat transpose reduce_sum softmax expand_dims random_normal tensordot join join list encode replace reader len close findall range enumerate append open
# SemAIDA: Semantic Technologies for the AIDA project The [Artificial Intelligence for Data Analytics](https://www.turing.ac.uk/research/research-projects/artificial-intelligence-data-analytics-aida) (AIDA) project aims at applying new advances in AI and machine learning to address data wrangling issues, and help to automate the data analytics process. Semantic Web technologies have the potential of contributing in the Data Science pipeline by providing a more complete (semantic) understanding of the data. ## Current projects - Embedding the Semantics of Tabular Data (sources in this project). - Tabular Data Semantics. Auxiliary classes to access DBpedia, Wikidata and Google's KG for Web table matching. [(gihub-java)](https://github.com/ernestojimenezruiz/tabular-data-semantics) [(github-python)](https://github.com/ernestojimenezruiz/tabular-data-semantics-py) - Data integration and Knowledge Graphs at the Norwegian Institute for Water Research: [https://github.com/NIVA-Knowledge-Graph/](https://github.com/NIVA-Knowledge-Graph/) - **SemTab: Semantic Web Challenge on Tabular Data to Knowledge Graph Matching**. This [challenge](http://www.cs.ox.ac.uk/isg/challenges/sem-tab/) is collocated with the International Semantic Web Conference ([ISWC](https://iswc2020.semanticweb.org/)) and the International Workshop on Ontology Matching ([OM](http://om2020.ontologymatching.org/)). ## References - Ernesto Jimenez-Ruiz, Oktie Hassanzadeh, Vasilis Efthymiou, Jiaoyan Chen, Kavitha Srinivas. **SemTab 2019: Resources to Benchmark Tabular Data to Knowledge Graph Matching Systems**. In the 17th Extended Semantic Web Conference, **ESWC 2020**. [(pre-print)](https://openaccess.city.ac.uk/id/eprint/23907/) - Jiaoyan Chen, Ernesto Jimenez-Ruiz, Ian Horrocks, Charles Sutton. **Learning Semantic Annotations for Tabular Data**. In the 28th International Joint Conference on Artificial Intelligence, **IJCAI 2019**. [(arXiv)](https://arxiv.org/abs/1906.00781) [(proceedings)](https://www.ijcai.org/proceedings/2019/289)
1,312
alan-turing-institute/signatures-psychiatry
['time series']
['A signature-based machine learning model for bipolar disorder and borderline personality disorder']
logger.py heat_map.py plot_path.py psychiatry.py group_classification.py mood_prediction.py pairwise_group_classification.py test_synthetic.py _findMin test fit Logger test fit _findMin test fit plot_data buildData loadParticipants string2datenum normalise loadCSV buildSyntheticSigData Participant test_pairwise_group_classification_synth_defaults test_pairwise_group_classification_synth norm array data list stream2sig mean append array predict data RandomForestRegressor stream2sig append array zeros range len roc_auc_score accuracy_score data GridSpec linspace xticks yticks show subplot list open Participant ylabel scatter range plot tight_layout reader xlabel normalise figure array len int list join reader Participant open join sorted append loadCSV listdir data list tuple zeros range len data loadParticipants len normalise shuffle Participant append idNumber range diagnosis genfromtxt join int str shuffle zip append enumerate Participant findall system out zip findall system out
# A signature-based machine learning model for bipolar disorder and borderline personality disorder [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/alan-turing-institute/signatures-psychiatry/lab-add-synth-data?urlpath=lab) This repository contains the code from the paper [*A signature-based machine learning model for bipolar disorder and borderline personality disorder*](https://doi.org/10.1038/s41398-018-0334-0): > Perez Arribas, I., Goodwin, G.M., Geddes, J.R., Lyons, T. and Saunders, K.E., 2018. A signature-based machine learning model for distinguishing bipolar disorder and borderline personality disorder. _Translational Psychiatry_, _8_(1), p.274. DOI: [10.1038/s41398-018-0334-0](https://doi.org/10.1038/s41398-018-0334-0). **Contents** - [Reproducible Research Champions](#reproducible-research-champions) - [Data](#data) - [Setting up signatures-psychiatry](#setting-up-signatures-psychiatry) - [Generating figures and tables from the paper](#generating-figures-and-tables-from-the-paper) ## Reproducible Research Champions
1,313
alazraq/arabic-nlp
['sentiment analysis']
['ArSentD-LEV: A Multi-Topic Corpus for Target-based Sentiment Analysis in Arabic Levantine Tweets']
arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/tests/test_modularity_max.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/axis.py arabic_nlp_env/lib/python3.7/site-packages/joblib/_memmapping_reducer.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/tests/test_matching.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/isomorphism/tests/test_tree_isomorphism.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/mime/audio.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axisartist/grid_helper_curvelinear.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_gridspec.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/stackplot.py arabic_nlp_env/lib/python3.7/site-packages/blis/__init__.py arabic_nlp_env/lib/python3.7/site-packages/cachetools/decorators.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/fork_exec.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/projection.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_matplotlib.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_compare_images.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_store_backends.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/testing/jpl_units/UnitDbl.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/vitality.py arabic_nlp_env/lib/python3.7/site-packages/future/types/newobject.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/current_flow_betweenness_subset.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/cloudpickle/cloudpickle.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/testing/decorators.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_figure.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/flow/preflowpush.py arabic_nlp_env/lib/python3.7/site-packages/joblib/compressor.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/tests/test_basic.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/quality.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/colors.py arabic_nlp_env/lib/python3.7/site-packages/importlib_metadata/tests/test_integration.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_metaclass.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/edgelist.py arabic_nlp_env/lib/python3.7/site-packages/murmurhash/about.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/testing/jpl_units/Epoch.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_imports2.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid/anchored_artists.py arabic_nlp_env/lib/python3.7/site-packages/click/decorators.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/feedparser.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_unicode_literals_import.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/parser.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/isomorphism/vf2userfunc.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/parser/__init__.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tri/trirefine.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/html/parser.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_division.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/isomorphism/tests/test_temporalisomorphvf2.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_init.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_backports.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/http/cookiejar.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/__init__.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/mime/application.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/test_serialization.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/mime/nonmultipart.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/coloring/greedy_coloring_with_interchange.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_testing.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/node_classification/__init__.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/patches.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/total_ordering.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/http/server.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/__init__.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/assortativity/tests/test_connectivity.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/stoerwagner.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/chordal.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/curried/exceptions.py arabic_nlp_env/lib/python3.7/site-packages/joblib/pool.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_annotations.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/testing/compare.py arabic_nlp_env/lib/python3.7/site-packages/future/standard_library/__init__.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axisartist/grid_finder.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/ttconv.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/dbm/__init__.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/reciprocity.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_axes.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/tests/test_kcutsets.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/_version.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_division_safe.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/similarity.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/shortest_paths/tests/test_dense.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/regular.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_percolation_centrality.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/isomorphism/matchhelpers.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/shortest_paths/tests/test_unweighted.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/flow/mincost.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/winreg.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_newstyle.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/generator.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/_markupbase.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/subgraph_alg.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/tests/test_axisartist_axis_artist.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/test/support.py arabic_nlp_env/lib/python3.7/site-packages/importlib_metadata/tests/test_api.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/voterank_alg.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_backend_svg.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid1/axes_size.py arabic_nlp_env/lib/python3.7/site-packages/joblib/func_inspect.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/markers.py arabic_nlp_env/lib/python3.7/site-packages/chardet/jpcntx.py arabic_nlp_env/lib/python3.7/site-packages/murmurhash/tests/test_import.py arabic_nlp_env/lib/python3.7/site-packages/cachetools/lru.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/smetric.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/components/tests/test_semiconnected.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_subgraph.py arabic_nlp_env/lib/python3.7/site-packages/joblib/_deprecated_format_stack.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_input.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/_thread.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/tests/test_matching.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/urllib/request.py arabic_nlp_env/lib/python3.7/site-packages/networkx/convert.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/docstring.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/table.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/betweenness_subset.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/degree_alg.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/sparsifiers.py arabic_nlp_env/lib/python3.7/site-packages/blis/tests/test_dotv.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/axes/__init__.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/afm.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/synchronize.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_skew.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_image.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/_win_wait.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_style.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tri/tripcolor.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/shortest_paths/__init__.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_lines.py arabic_nlp_env/lib/python3.7/site-packages/plac_ext.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/tests/test_bridges.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/feature_base.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_backend_tk.py arabic_nlp_env/lib/python3.7/site-packages/networkx/__init__.py arabic_nlp_env/lib/python3.7/site-packages/joblib/logger.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/components/tests/test_weakly_connected.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/reduction.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/reprlib.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/shortest_paths/dense.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_hashing.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/coloring/greedy_coloring.py arabic_nlp_env/lib/python3.7/site-packages/future/types/newdict.py arabic_nlp_env/lib/python3.7/site-packages/future/builtins/disabled.py arabic_nlp_env/lib/python3.7/site-packages/certifi/__main__.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_fullargspec.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/tests/test_axes_grid.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid/axes_grid.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/tournament.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid/clip_path.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/covering.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/test_compatibility.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/rrule.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/test/support.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axisartist/parasite_axes.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/katz.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/swap.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/shortest_paths/weighted.py arabic_nlp_env/lib/python3.7/site-packages/bin/cythonize.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_qt5cairo.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_quiver.py arabic_nlp_env/lib/python3.7/site-packages/chardet/euctwfreq.py arabic_nlp_env/lib/python3.7/site-packages/pyparsing.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/dev_skip_test.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/_win_reduction.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/__init__.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/tests/test_covering.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/node_classification/utils.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/independent_set.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/operators/unary.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/queue.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/gridspec.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/cluster.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/tests/test_clique.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/richclub.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/isomorphism/temporalisomorphvf2.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backend_managers.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid/colorbar.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_table.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/subprocess.py arabic_nlp_env/lib/python3.7/site-packages/networkx/exception.py arabic_nlp_env/lib/python3.7/site-packages/bin/ud/conll17_ud_eval.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_subplots.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_nbagg.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_arrow_patches.py arabic_nlp_env/lib/python3.7/site-packages/chardet/escsm.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/core.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/tkinter/tix.py arabic_nlp_env/lib/python3.7/site-packages/networkx/relabel.py arabic_nlp_env/lib/python3.7/site-packages/cycler.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_container.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid/__init__.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid1/axes_divider.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/tests/test_edgelist.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_afm.py arabic_nlp_env/lib/python3.7/site-packages/cymem/about.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/__init__.py arabic_nlp_env/lib/python3.7/site-packages/chardet/sbcharsetprober.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_backend_tools.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/tests/test_connectivity.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/dbm/ndbm.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/collections.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/operators/tests/test_product.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/test_utils.py arabic_nlp_env/lib/python3.7/site-packages/chardet/utf8prober.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/tzwin.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/cloudpickle/compat.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/assortativity/pairs.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/centrality.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/__init__.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/structuralholes.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/lukes.py arabic_nlp_env/bin/activate_this 2.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/zoneinfo/__init__.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_backend_pdf.py arabic_nlp_env/lib/python3.7/site-packages/click/core.py arabic_nlp_env/lib/python3.7/site-packages/future/__init__.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/shortest_paths/tests/test_generic.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/utils.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/sankey.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_determinism.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/__init__.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/builtins.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/testing/exceptions.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_tkagg.py arabic_nlp_env/lib/python3.7/site-packages/chardet/universaldetector.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/connectivity.py arabic_nlp_env/lib/python3.7/site-packages/chardet/enums.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_numpy_pickle_utils.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/shortest_paths/tests/test_dense_numpy.py arabic_nlp_env/lib/python3.7/site-packages/six.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_execfile.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/reaching.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/parser/isoparser.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/__init__.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/tkinter/ttk.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/_constrained_layout.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/tests/test_ramsey.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/image.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/projections/polar.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_degree_centrality.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/coloring/__init__.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/widgets.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/semlock.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/transforms.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/euler.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_reaching.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_usetex.py arabic_nlp_env/lib/python3.7/site-packages/bidi/algorithm.py arabic_nlp_env/lib/python3.7/site-packages/future/types/newrange.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/tests/test_centrality.py arabic_nlp_env/lib/python3.7/site-packages/click/globals.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/operators/all.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axisartist/axes_rgb.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/tests/test_cuts.py arabic_nlp_env/lib/python3.7/site-packages/pylab.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_widgets.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/pylab.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/container.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_svg.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_constrainedlayout.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_dates.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/clique.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/node_classification/tests/test_local_and_global_consistency.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_future_standard_library_urllib.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/headerregistry.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/d_separation.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/xmlrpc/client.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_logger.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/legend.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/tests/test_spectral_bipartivity.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/tkinter/commondialog.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/process.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tri/triinterpolate.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backend_tools.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/__init__.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/tests/test_axisartist_axislines.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/fontconfig_pattern.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/qt_editor/formsubplottool.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/efficiency_measures.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/label_propagation.py arabic_nlp_env/lib/python3.7/site-packages/chardet/escprober.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_backend_cairo.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/tz/_common.py arabic_nlp_env/lib/python3.7/site-packages/future/tests/base.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/isomorphism/ismags.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axisartist/axes_grid.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_xrange_with_import.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_memoryview.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/steinertree.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_deprecated_objects.py arabic_nlp_env/lib/python3.7/site-packages/chardet/langcyrillicmodel.py arabic_nlp_env/lib/python3.7/site-packages/joblib/numpy_pickle.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/mis.py arabic_nlp_env/lib/python3.7/site-packages/cachetools/ttl.py arabic_nlp_env/lib/python3.7/site-packages/bidi/mirror.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/testing/widgets.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/test_signatures.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/flow/utils.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/xmlrpc/__init__.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_imports.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/utils.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/type1font.py arabic_nlp_env/lib/python3.7/site-packages/greek_stemmer/__init__.py arabic_nlp_env/lib/python3.7/site-packages/threadpoolctl.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/sphinxext/mathmpl.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/minors.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_trophic.py arabic_nlp_env/lib/python3.7/site-packages/blis/tests/common.py arabic_nlp_env/lib/python3.7/site-packages/click/_bashcomplete.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/socketserver.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/matrix.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_artist.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/urllib/error.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/charset.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_animation.py arabic_nlp_env/lib/python3.7/site-packages/importlib_metadata/tests/test_main.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/parser/_parser.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/qt_editor/_formsubplottool.py arabic_nlp_env/lib/python3.7/site-packages/chardet/charsetprober.py arabic_nlp_env/lib/python3.7/site-packages/cymem/__init__.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/matching.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/cycles.py arabic_nlp_env/lib/python3.7/site-packages/murmurhash/tests/test_against_mmh3.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/tests/test_kclique.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/cuts.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_next.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_tkcairo.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_legend.py arabic_nlp_env/lib/python3.7/site-packages/murmurhash/__init__.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/tests/test_disjoint_paths.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/components/tests/test_biconnected.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/tests/test_asteroidal.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/shortest_paths/tests/test_weighted.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/streamplot.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_preprocess_data.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/test_none_safe.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_ticker.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/graph_hashing.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/second_order.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/disjoint_paths.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/isomorphism/isomorph.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/tests/test_matrix.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/flow/boykovkolmogorov.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/relativedelta.py arabic_nlp_env/lib/python3.7/site-packages/chardet/euckrprober.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/testutils.py arabic_nlp_env/lib/python3.7/site-packages/joblib/_multiprocessing_helpers.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/tkinter/simpledialog.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/test_tlz.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/clustering_coefficient.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/tests/test_non_randomness.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/html/entities.py arabic_nlp_env/lib/python3.7/site-packages/idna/core.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/http/cookies.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/operators/__init__.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/errors.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/flow/shortestaugmentingpath.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_metaclass.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/scale.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_wx.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/_base.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/tests/test_axisartist_grid_finder.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/process_executor.py arabic_nlp_env/lib/python3.7/site-packages/importlib_metadata/tests/fixtures.py arabic_nlp_env/lib/python3.7/site-packages/arabic_reshaper/arabic_reshaper.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_backend_pgf.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/assortativity/tests/test_mixing.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/shortest_paths/generic.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_colors.py arabic_nlp_env/lib/python3.7/site-packages/joblib/memory.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/testing/jpl_units/UnitDblFormatter.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/assortativity/correlation.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/_encoded_words.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/mime/multipart.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_future_standard_library.py arabic_nlp_env/lib/python3.7/site-packages/click/exceptions.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/header.py arabic_nlp_env/lib/python3.7/site-packages/future/utils/surrogateescape.py arabic_nlp_env/lib/python3.7/site-packages/click/__init__.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_fontconfig_pattern.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/test/ssl_servers.py arabic_nlp_env/lib/python3.7/site-packages/click/_unicodefun.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/__init__.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_future_builtins.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_colorbar.py arabic_nlp_env/lib/python3.7/site-packages/zipp.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/mplot3d/art3d.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/operators/tests/test_binary.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/link_analysis/pagerank_alg.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/iterators.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/flow/dinitz_alg.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_qt4agg.py arabic_nlp_env/lib/python3.7/site-packages/cachetools/cache.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/tests/test_kcomponents.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/quiver.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/tests/test_centrality.py arabic_nlp_env/lib/python3.7/site-packages/click/parser.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/eigenvector.py arabic_nlp_env/lib/python3.7/site-packages/idna/package_data.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/tests/test_edge_augmentation.py arabic_nlp_env/lib/python3.7/site-packages/arabic_reshaper/__init__.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/mime/image.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/xmlrpc/server.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_second_order_centrality.py arabic_nlp_env/lib/python3.7/site-packages/networkx/version.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/path.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/tests/test_cluster.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/tests/test_stoer_wagner.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/__init__.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_disk.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_my_exceptions.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/dbm/gnu.py arabic_nlp_env/lib/python3.7/site-packages/chardet/compat.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/tkinter/messagebox.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/tests/test_axisartist_clip_path.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_features.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/flow_matrix.py arabic_nlp_env/lib/python3.7/site-packages/blis/tests/test_gemm.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/tests/test_utils.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/tests/conftest.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/link_analysis/hits_alg.py arabic_nlp_env/lib/python3.7/site-packages/click/_termui_impl.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_streamplot.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/configparser.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tight_bbox.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/tests/test_steinertree.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/isomorphism/tests/test_vf2userfunc.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/urllib/error.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_gtk3cairo.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/assortativity/__init__.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/projections/__init__.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_text.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/style/core.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_unpacking.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/_posix_wait.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/flow/__init__.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/test_functoolz.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/tests/test_axisartist_angle_helper.py arabic_nlp_env/lib/python3.7/site-packages/plac.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/boundary.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/components/semiconnected.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/xmlrpc/server.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/testing/jpl_units/UnitDblConverter.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_bytes.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_ps.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/font_manager.py arabic_nlp_env/lib/python3.7/site-packages/idna/compat.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/main.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/_policybase.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/test_dev_skip_test.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/assortativity/tests/base_test.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_sphinxext.py arabic_nlp_env/lib/python3.7/site-packages/future/types/newbytes.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_current_flow_betweenness_centrality.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_dviread.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/urllib/response.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/cluster.py arabic_nlp_env/lib/python3.7/site-packages/future/types/newopen.py arabic_nlp_env/lib/python3.7/site-packages/chardet/langhebrewmodel.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/testing/conftest.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/reusable_executor.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/community_utils.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/flow/tests/test_maxflow.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_cycles.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid1/anchored_artists.py arabic_nlp_env/lib/python3.7/site-packages/click/_textwrap.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_remove_old__future__imports.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/mathtext.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/components/biconnected.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_memmapping.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/units.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_harmonic_centrality.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/tests/test_dominating_set.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/__init__.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/components/attracting.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid/axes_divider.py arabic_nlp_env/lib/python3.7/site-packages/idna/idnadata.py arabic_nlp_env/lib/python3.7/site-packages/chardet/codingstatemachine.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/_backend_pdf_ps.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid/axes_size.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axisartist/axisline_style.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/data/create_numpy_pickle.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/graphical.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/isomorphism/tests/test_ismags.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/urllib/response.py arabic_nlp_env/lib/python3.7/site-packages/click/termui.py arabic_nlp_env/lib/python3.7/site-packages/certifi/__init__.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/flow/networksimplex.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/non_randomness.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_numpy_pickle.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/voronoi.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/triads.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_order___future__imports.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/edge_augmentation.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/mime/text.py arabic_nlp_env/lib/python3.7/site-packages/arabic_reshaper/ligatures.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/html/entities.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/assortativity/tests/test_pairs.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/colorbar.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/load.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/tests/test_project.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/tests/test_lukes.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_dask.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/test_inspect_args.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/redundancy.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/clique.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_print_with_import.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/tests/test_vertex_cover.py arabic_nlp_env/lib/python3.7/site-packages/future/builtins/new_min_max.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/dates.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/__init__.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/_cm.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_next_call.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tri/trifinder.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid/angle_helper.py arabic_nlp_env/lib/python3.7/site-packages/plac_tk.py arabic_nlp_env/lib/python3.7/site-packages/cachetools/lfu.py arabic_nlp_env/lib/python3.7/site-packages/chardet/charsetgroupprober.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/axes/_secondary_axes.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/test/__init__.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/cloudpickle/__init__.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/curried/operator.py arabic_nlp_env/lib/python3.7/site-packages/chardet/latin1prober.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/http/__init__.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/distance_regular.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/components/connected.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/compatibility.py arabic_nlp_env/lib/python3.7/site-packages/cachetools/keys.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/_cm_listed.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/edge_kcomponents.py arabic_nlp_env/lib/python3.7/site-packages/joblib/disk.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/qt_editor/figureoptions.py arabic_nlp_env/lib/python3.7/site-packages/joblib/_deprecated_my_exceptions.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_polar.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/mlab.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/tests/test_approx_clust_coeff.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/lines.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/asyn_fluid.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_webagg_core.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/dispersion.py arabic_nlp_env/lib/python3.7/site-packages/future/types/newstr.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/socketserver.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/sphinxext/plot_directive.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/collections.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tri/triplot.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_rcparams.py arabic_nlp_env/lib/python3.7/site-packages/future/types/newmemoryview.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_agg_filter.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/asteroidal.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/tests/test_connectivity.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_mlab.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/mplot3d/__init__.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/test_docstrings.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/components/tests/test_strongly_connected.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/utils_test.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/tz/__init__.py arabic_nlp_env/lib/python3.7/site-packages/joblib/_dask.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/mplot3d/proj3d.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/ramsey.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/link_analysis/tests/test_pagerank.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/centrality.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/bezier.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/misc.py arabic_nlp_env/lib/python3.7/site-packages/idna/__init__.py arabic_nlp_env/lib/python3.7/site-packages/chardet/version.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axisartist/floating_axes.py arabic_nlp_env/lib/python3.7/site-packages/future/builtins/newnext.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_current_flow_betweenness_centrality_subset.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_add_future_standard_library_import.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/tests/test_kcomponents.py arabic_nlp_env/lib/python3.7/site-packages/chardet/euctwprober.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_testing.py arabic_nlp_env/lib/python3.7/site-packages/chardet/cli/chardetect.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_spines.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/tests/test_chains.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_sankey.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/tkinter/colorchooser.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_mathtext.py arabic_nlp_env/lib/python3.7/site-packages/pyphen.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/test/pystone.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/texmanager.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/cloudpickle_wrapper.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axisartist/axis_artist.py arabic_nlp_env/lib/python3.7/site-packages/future/builtins/newsuper.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/sys.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/http/cookies.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/__init__.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/tests/test_asyn_fluid.py arabic_nlp_env/lib/python3.7/site-packages/chardet/euckrfreq.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/socket.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_agg.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/animation.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/isomorphism/tests/test_match_helpers.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/tests/test_axisartist_floating_axes.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid/parasite_axes.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/__init__.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_backend_ps.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/tz/win.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/tests/test_independent_set.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/generators.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/coloring/equitable_coloring.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/_internal_utils.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backend_bases.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_template.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/tkinter/__init__.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/_version.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/queues.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_betweenness_centrality.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/urllib/parse.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/urllib/__init__.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_division.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axisartist/clip_path.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/components/strongly_connected.py arabic_nlp_env/lib/python3.7/site-packages/cachetools/abc.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid/axislines.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/utils.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/message.py arabic_nlp_env/lib/python3.7/site-packages/chardet/chardistribution.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/test_embedded_sigs.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/html/parser.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid1/__init__.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/tkinter/constants.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/hierarchy.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_qt4.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/tests/test_mplot3d.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/link_prediction.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/threshold.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/tests/test_generators.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/shortest_paths/astar.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/urllib/request.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid1/inset_locator.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/distance_measures.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/flow/maxflow.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axisartist/axes_divider.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_numpy_pickle_compat.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/flow/gomory_hu.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/cm.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/operators/tests/test_all.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/operators/tests/test_unary.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/figure.py arabic_nlp_env/lib/python3.7/site-packages/plac_core.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/html/__init__.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/http/cookiejar.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/http/server.py arabic_nlp_env/lib/python3.7/site-packages/chardet/langgreekmodel.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/category.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/textpath.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_pdf.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_dispersion.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/test_recipes.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/_animation_data.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/policy.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/kcutsets.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/popen_loky_win32.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/pyplot.py arabic_nlp_env/lib/python3.7/site-packages/joblib/hashing.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_pyplot.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/components/tests/test_attracting.py arabic_nlp_env/lib/python3.7/site-packages/chardet/gb2312freq.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_memory.py arabic_nlp_env/lib/python3.7/site-packages/chardet/langturkishmodel.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/testing/disable_internet.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_printfunction.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/offsetbox.py arabic_nlp_env/lib/python3.7/site-packages/joblib/numpy_pickle_utils.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_pickle.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/flow/capacityscaling.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/modularity_max.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_print.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/shortest_paths/unweighted.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/isomorphism/tests/test_isomorphvf2.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_cairo.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/projections/geo.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axisartist/angle_helper.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/easter.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/flow/edmondskarp.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/utils.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/_header_value_parser.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/operators/binary.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/axes/_base.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/popen_loky_posix.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/betweenness.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/pickle.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/__init__.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/datetime.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_category.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/tz/tz.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/text.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_voterank.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_add__future__imports_except_unicode_literals.py arabic_nlp_env/lib/python3.7/site-packages/chardet/sbcsgroupprober.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/current_flow_betweenness.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/components/tests/test_connected.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/communicability_alg.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/spines.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/_signatures.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/test_itertoolz.py arabic_nlp_env/lib/python3.7/site-packages/future/builtins/misc.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_backend_qt.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/isomorphism/__init__.py arabic_nlp_env/bin/plac_runner.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_getcwd.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/ticker.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tri/tricontour.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_current_flow_closeness.py arabic_nlp_env/lib/python3.7/site-packages/joblib/parallel.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid/grid_helper_curvelinear.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_ttconv.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_qt4cairo.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/context.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_oldstr_wrap.py arabic_nlp_env/lib/python3.7/site-packages/chardet/big5freq.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid1/colorbar.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_mixed.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid1/mpl_axes.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/html/__init__.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/cuts.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_wxcairo.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/treewidth.py arabic_nlp_env/bin/activate_this.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/shortest_paths/tests/test_astar.py arabic_nlp_env/lib/python3.7/site-packages/easy_install 2.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/urllib/robotparser.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/compat_win32.py arabic_nlp_env/lib/python3.7/site-packages/chardet/mbcssm.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/tkinter/dnd.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_parallel.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/dominating_set.py arabic_nlp_env/lib/python3.7/site-packages/blis/benchmark.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bridges.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_throw.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/test_curried.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_pgf.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_marker.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/testing/jpl_units/StrConverter.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_tightlayout.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/planar_drawing.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/_markupbase.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/matching.py arabic_nlp_env/lib/python3.7/site-packages/click/types.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/percolation.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/tests/test_kernighan_lin.py arabic_nlp_env/lib/python3.7/site-packages/future/builtins/iterators.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/link_analysis/tests/test_hits.py arabic_nlp_env/lib/python3.7/site-packages/future/builtins/__init__.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/assortativity/mixing.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_scale.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid1/axes_grid.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_png.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/components/weakly_connected.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/_layoutbox.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/kcomponents.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/style/__init__.py arabic_nlp_env/lib/python3.7/site-packages/joblib/format_stack.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/common.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/test/__init__.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/compat.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_gtk3agg.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/testing/jpl_units/EpochConverter.py arabic_nlp_env/lib/python3.7/site-packages/chardet/hebrewprober.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/hybrid.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/covering.py arabic_nlp_env/lib/python3.7/site-packages/catalogue.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/urllib/robotparser.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/dag.py arabic_nlp_env/lib/python3.7/site-packages/click/_winconsole.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/node_classification/tests/test_harmonic_function.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_backend_nbagg.py arabic_nlp_env/lib/python3.7/site-packages/idna/codec.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/cbook/__init__.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid1/parasite_axes.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/mplot3d/axes3d.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/tests/__init__.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/mime/message.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_raise_.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/wiener.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/group.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/_parseaddr.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/kcomponents.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/simple_paths.py arabic_nlp_env/lib/python3.7/site-packages/importlib_metadata/__init__.py arabic_nlp_env/lib/python3.7/site-packages/easy_install.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/tests/test_axes_grid1.py arabic_nlp_env/lib/python3.7/site-packages/_virtualenv 2.py arabic_nlp_env/lib/python3.7/site-packages/cachetools/func.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/tkinter/filedialog.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/http/client.py arabic_nlp_env/lib/python3.7/site-packages/arabic_reshaper/__version__.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_func_inspect.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/coloring/tests/test_coloring.py arabic_nlp_env/lib/python3.7/site-packages/bin/ud/__init__.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/quoprimime.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/mime/base.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_backend_bases.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/hatch.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/conftest.py arabic_nlp_env/lib/python3.7/site-packages/bidi/__init__.py arabic_nlp_env/lib/python3.7/site-packages/cymem/tests/test_import.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/itertools.py arabic_nlp_env/lib/python3.7/site-packages/joblib/testing.py arabic_nlp_env/lib/python3.7/site-packages/idna/intranges.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_cmp.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/assortativity/tests/test_correlation.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/xmlrpc/client.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/test_dicttoolz.py arabic_nlp_env/lib/python3.7/site-packages/cachetools/__init__.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_macosx.py arabic_nlp_env/lib/python3.7/site-packages/chardet/eucjpprober.py arabic_nlp_env/lib/python3.7/site-packages/chardet/langhungarianmodel.py arabic_nlp_env/lib/python3.7/site-packages/click/utils.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_contour.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axisartist/__init__.py arabic_nlp_env/lib/python3.7/site-packages/chardet/mbcharsetprober.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/copyreg.py arabic_nlp_env/lib/python3.7/site-packages/future/types/__init__.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/__init__.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/tests/test_axisartist_grid_helper_curvelinear.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_group.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_gtk3.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/_common.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/flow/tests/test_maxflow_large_graph.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/test_doctests.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/__init__.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/artist.py arabic_nlp_env/lib/python3.7/site-packages/arabic_reshaper/letters.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/compat_posix.py arabic_nlp_env/lib/python3.7/site-packages/joblib/executor.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_backend_webagg.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/qt_editor/_formlayout.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_future_builtins.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/tests/test_quality.py corpus.py arabic_nlp_env/lib/python3.7/site-packages/arabic_reshaper/reshaper_config.py arabic_nlp_env/lib/python3.7/site-packages/cachetools/rr.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/rcsetup.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/_mathtext_data.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/__init__.py arabic_nlp_env/lib/python3.7/site-packages/chardet/__init__.py clean_data.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/harmonic.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_offsetbox.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/tests/test_boundary.py arabic_nlp_env/lib/python3.7/site-packages/networkx/release.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/dbm/dumb.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tight_layout.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/cloudpickle/cloudpickle_fast.py arabic_nlp_env/lib/python3.7/site-packages/networkx/convert_matrix.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/_version.py arabic_nlp_env/lib/python3.7/site-packages/joblib/_store_backends.py arabic_nlp_env/lib/python3.7/site-packages/blis/about.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_path.py arabic_nlp_env/lib/python3.7/site-packages/certifi/core.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid/inset_locator.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/dominating.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/spectral.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/node_classification/hmn.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/main.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_basestring.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_basic.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/_pylab_helpers.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_type1font.py arabic_nlp_env/lib/python3.7/site-packages/idna/uts46data.py arabic_nlp_env/lib/python3.7/site-packages/click/formatting.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tri/__init__.py arabic_nlp_env/lib/python3.7/site-packages/decorator.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/tkinter/dialog.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_triangulation.py arabic_nlp_env/lib/python3.7/site-packages/importlib_metadata/docs/conf.py arabic_nlp_env/lib/python3.7/site-packages/bin/ud/ud_run_test.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid/axis_artist.py arabic_nlp_env/lib/python3.7/site-packages/chardet/langbulgarianmodel.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/smallworld.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tri/triangulation.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/_dummy_thread.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/compat/__init__.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_units.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_add_all__future__imports.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/contour.py arabic_nlp_env/lib/python3.7/site-packages/chardet/mbcsgroupprober.py arabic_nlp_env/lib/python3.7/site-packages/chardet/jisfreq.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/isomorphism/isomorphvf2.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/axes/_subplots.py arabic_nlp_env/lib/python3.7/site-packages/future/builtins/newround.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_unicode_keep_u.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_wxagg.py arabic_nlp_env/lib/python3.7/site-packages/joblib/_parallel_backends.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/_color_data.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/operators/product.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/matching.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/__init__.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/assortativity/connectivity.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/kernighan_lin.py arabic_nlp_env/lib/python3.7/site-packages/chardet/cp949prober.py arabic_nlp_env/lib/python3.7/site-packages/chardet/sjisprober.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid/axisline_style.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid/axes_rgb.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_object.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_UserDict.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/assortativity/tests/test_neighbor_degree.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_absolute_import.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_eigenvector_centrality.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixes/fix_raise.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/tests/test_label_propagation.py arabic_nlp_env/lib/python3.7/site-packages/libfuturize/fixer_util.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/tests/test_redundancy.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/http/client.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_betweenness_centrality_subset.py arabic_nlp_env/lib/python3.7/site-packages/joblib/backports.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_webagg.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axisartist/axislines.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/_posix_reduction.py arabic_nlp_env/lib/python3.7/site-packages/click/_compat.py arabic_nlp_env/lib/python3.7/site-packages/_virtualenv.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_bbox_tight.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/testing/jpl_units/Duration.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/_text_layout.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_simplification.py arabic_nlp_env/lib/python3.7/site-packages/joblib/my_exceptions.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/base64mime.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_patches.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/tests/test_curried_toolzlike.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_format_stack.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid/grid_finder.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_font_manager.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/urllib/parse.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/link_analysis/__init__.py arabic_nlp_env/lib/python3.7/site-packages/future/backports/email/encoders.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/components/__init__.py arabic_nlp_env/lib/python3.7/site-packages/importlib_metadata/_compat.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tri/tritools.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_add_all_future_builtins.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/_backend_tk.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/chains.py arabic_nlp_env/lib/python3.7/site-packages/joblib/__init__.py arabic_nlp_env/lib/python3.7/site-packages/click/testing.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_backends_interactive.py arabic_nlp_env/lib/python3.7/site-packages/future/types/newlist.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_qt5.py arabic_nlp_env/lib/python3.7/site-packages/future/utils/__init__.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/axes/_axes.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/closeness.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_cbook.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/node_classification/lgc.py arabic_nlp_env/lib/python3.7/site-packages/chardet/big5prober.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/tkinter/scrolledtext.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/tests/test_treewidth.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/tz/_factories.py arabic_nlp_env/lib/python3.7/site-packages/joblib/test/test_module.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/blocking_input.py arabic_nlp_env/lib/python3.7/site-packages/future/moves/tkinter/font.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/managers.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_texmanager.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/bipartite/basic.py arabic_nlp_env/lib/python3.7/site-packages/bin/ud/run_eval.py arabic_nlp_env/lib/python3.7/site-packages/networkx/conftest.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/isomorphism/tests/test_isomorphism.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/dviread.py arabic_nlp_env/lib/python3.7/site-packages/cytoolz/curried/__init__.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/resource_tracker.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/lowest_common_ancestors.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/mplot3d/axis3d.py arabic_nlp_env/lib/python3.7/site-packages/joblib/numpy_pickle_compat.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/flow/tests/test_gomory_hu.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_katz_centrality.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/current_flow_closeness.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/flow/tests/test_mincost.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/trophic.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/testing/__init__.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/assortativity/neighbor_degree.py arabic_nlp_env/lib/python3.7/site-packages/future/types/newint.py arabic_nlp_env/lib/python3.7/site-packages/joblib/externals/loky/backend/spawn.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/qt_compat.py arabic_nlp_env/lib/python3.7/site-packages/bin/train_word_vectors.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_patheffects.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_transforms.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_load_centrality.py arabic_nlp_env/lib/python3.7/site-packages/chardet/gb2312prober.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/dominance.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/centrality/tests/test_closeness_centrality.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/legend_handler.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/patheffects.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/connectivity/tests/test_edge_kcomponents.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid1/axes_rgb.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/__init__.py arabic_nlp_env/lib/python3.7/site-packages/chardet/langthaimodel.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_raise.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/connectivity.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/backends/backend_qt5agg.py arabic_nlp_env/lib/python3.7/site-packages/bin/load_reddit.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/planarity.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/isomorphism/tree_isomorphism.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/test_collections.py arabic_nlp_env/lib/python3.7/site-packages/mpl_toolkits/axes_grid/floating_axes.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/tests/__init__.py arabic_nlp_env/lib/python3.7/site-packages/dateutil/zoneinfo/rebuild.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/approximation/vertex_cover.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/community/kclique.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/moral.py arabic_nlp_env/lib/python3.7/site-packages/bin/ud/ud_train.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/isolate.py arabic_nlp_env/lib/python3.7/site-packages/networkx/algorithms/tests/test_dominance.py arabic_nlp_env/lib/python3.7/site-packages/importlib_metadata/tests/test_zip.py arabic_nlp_env/lib/python3.7/site-packages/matplotlib/testing/jpl_units/__init__.py arabic_nlp_env/lib/python3.7/site-packages/libpasteurize/fixes/fix_kwargs.py WordImportance PreprocessData RetrieveDocuemnts main run _get create _set _get_all check_exists _remove RegistryError Registry decorate ContextManager get_init __init__ FunctionMaker decorator append contextmanager dispatch_on getargspec iterable to_date parser_from to_datetime Annotation annotations call _extract_kwargs ArgumentParser _match_cmd pconf is_annotation decode Interpreter _AsynHandler Monitor gen_exc read_line import_main MPTask Process runp _AsynServer default_help sharedattr less _TaskLauncher TaskManager gen_val HelpSummary read_long_line BaseTask terminatedProcess Manager partial_call format_help StartStopObject stdout exec_ TerminatedProcess PlacFormatter SynTask write ReadlineInput ThreadedTask TkMonitor RecursiveGrammarException ParseFatalException _defaultSuccessDebugAction matchPreviousExpr MatchFirst unicode_set oneOf Keyword CloseMatch _enable_all_warnings LineStart conditionAsParseAction _lazyclassproperty withClass ParseSyntaxException locatedExpr srange QuotedString removeQuotes delimitedList countedArray OneOrMore Literal line TokenConverter _makeTags indentedBlock pyparsing_unicode ParseException _escapeRegexRangeChars NotAny CaselessKeyword LineEnd SkipTo _ParseResultsWithOffset _xml_escape StringStart _flatten Suppress makeHTMLTags Word replaceHTMLEntity _WordRegex ParseBaseException White Forward _defaultStartDebugAction originalTextFor infixNotation Token ZeroOrMore Combine OnlyOnce replaceWith dictOf lineno pyparsing_common makeXMLTags Regex StringEnd _defaultExceptionDebugAction _PendingSkip pyparsing_test Empty Dict ParserElement ParseExpression And _trim_arity GoToColumn CharsNotIn Each CaselessLiteral _MultipleMatch ParseResults nestedExpr traceParseAction WordEnd Optional Or _SingleCharLiteral withAttribute Char Group WordStart _NullToken tokenMap ParseElementEnhance PrecededBy matchPreviousLiteral _PositionToken matchOnlyAtCol FollowedBy NoMatch col ungroup nullDebugAction language_fallback DataInt Pyphen HyphDict AlternativeParser _SixMetaPathImporter remove_move u Module_six_moves_urllib_parse python_2_unicode_compatible create_unbound_method add_move assertRaisesRegex _update_wrapper Module_six_moves_urllib_request print_ iteritems ensure_binary assertCountEqual MovedAttribute assertRegex _LazyDescr _MovedItems get_unbound_function MovedModule ensure_str Module_six_moves_urllib iterlists wraps with_metaclass Module_six_moves_urllib_error itervalues _add_doc b _LazyModule Module_six_moves_urllib_response ensure_text assertNotRegex add_metaclass iterkeys Module_six_moves_urllib_robotparser reraise _import_module Cycler concat _cycler cycler _process_keys threadpool_limits _Module _ThreadpoolInfo _OpenBLASModule _main _dl_phdr_info _format_docstring _MKLModule threadpool_info _OpenMPModule _BLISModule FastLookup CompleteDirs _ancestry _pathlib_compat _parents Path _difference _Finder patch_dist _Finder patch_dist ArabicReshaper connects_with_letter_before connects_with_letter_after connects_with_letters_before_and_after config_for_true_type_font auto_config _embedding_direction explicit_embed_and_overrides resolve_weak_types resolve_implicit_levels resolve_neutral_types get_display apply_mirroring get_empty_storage _LEAST_GREATER_EVEN debug_storage get_embedding_levels reverse_contiguous_sequence reorder_resolved_levels _LEAST_GREATER_ODD get_base_level calc_level_runs main hash_add hash_changed save_hashes load_hashes process_pyx preserve_cwd process get_hash check_changes run main Reddit main Corpus iter_dir UDError evaluate load_conllu evaluate_wrapper load_deprel_weights load_conllu_file TestAlignment main load_model run_all_evals fetch_all_treebanks main run_single_eval get_freq_tuples split_text _contains_blinded_text load_default_model_sentencizer evaluate initialize_pipeline load_nlp _get_token_conllu get_token_split_end read_conllu get_token_split_start print_results main write_conllu split_text guess_fused_orths Config _load_pretrained_tok2vec read_data evaluate initialize_pipeline load_nlp golds_to_gold_tuples read_conllu _parse_morph_string print_progress _make_gold TreebankPaths main get_token_conllu write_conllu split_text Dataset _render_parses blis_gemm blis_einsum create_data get_numpy_blas numpy_einsum numpy_gemm main positive_ndarrays ndarrays_of_shape lengths matrices negative_ndarrays ndarrays split_row shapes parse_layer test_memoryview_double_noconj test_memoryview_float_noconj test_memoryview_float_notrans _reshape_for_gemm test_memoryview_double_notrans _stretch_matrix DefaultMapping Cache _DefaultSize cachedmethod cached ttl_cache _UnboundTTLCache lru_cache _cache lfu_cache rr_cache _UnboundCache typedkey _HashedTuple hashkey LFUCache LRUCache RRCache _choice _Link TTLCache _Timer where contents EUCTWProber Big5Prober Big5DistributionAnalysis EUCTWDistributionAnalysis CharDistributionAnalysis SJISDistributionAnalysis EUCJPDistributionAnalysis GB2312DistributionAnalysis EUCKRDistributionAnalysis CharSetGroupProber CharSetProber CodingStateMachine CP949Prober CharacterCategory MachineState ProbingState LanguageFilter InputState SequenceLikelihood EscCharSetProber EUCJPProber EUCKRProber GB2312Prober HebrewProber SJISContextAnalysis EUCJPContextAnalysis JapaneseContextAnalysis Latin1Prober MultiByteCharSetProber MBCSGroupProber SingleByteCharSetProber SBCSGroupProber SJISProber UniversalDetector UTF8Prober detect main description_of Parameter _check_multicommand MultiCommand iter_params_for_processing _maybe_show_deprecated_notice BaseCommand augment_usage_errors invoke_param_callback Command fast_exit _bashcomplete Group Option CommandCollection Context batch Argument version_option help_option argument _make_command password_option pass_obj group make_pass_decorator command option confirmation_option _param_memo pass_context _join_param_hints BadParameter ClickException UsageError MissingParameter NoSuchOption FileError BadArgumentUsage BadOptionUsage Abort Exit join_options wrap_text measure_table iter_rows HelpFormatter get_current_context pop_context push_context resolve_color_default normalize_opt ParsingState OptionParser Option split_arg_string _unpack_args _error_opt_args split_opt Argument clear echo_via_pager progressbar get_terminal_size style unstyle prompt _build_prompt hidden_prompt_func secho launch _format_default pause edit raw_terminal confirm getchar make_input_stream Result CliRunner EchoingStdin ParamType CompositeParamType FloatRange Tuple UUIDParameterType IntParamType FloatParamType File UnprocessedParamType convert_type Choice StringParamType DateTime IntRange Path FuncParamType BoolParamType get_os_args safecall open_file get_text_stream get_app_dir echo LazyFile get_binary_stream _posixify make_default_short_help KeepOpenFile PacifyFlushWrapper make_str format_filename add_subcommand_completions bashcomplete get_user_autocompletions do_complete_fish get_choices get_visible_commands_starting_with is_incomplete_argument resolve_ctx do_complete start_of_option is_incomplete_option get_completion_script filename_to_ui _is_jupyter_kernel_output get_text_stderr get_binary_stdout _make_text_stream _make_cached_stream_func open_stream get_streerror _get_argv_encoding get_filesystem_encoding strip_ansi get_best_encoding set_binary_mode is_ascii_encoding _wrap_io_open _NonClosingTextIOWrapper isatty get_binary_stdin is_bytes raw_input _AtomicFile should_strip_ansi get_text_stdin get_binary_stderr term_len _FixupStream get_text_stdout isidentifier _length_hint open_url _nullpager ProgressBar _pipepager raw_terminal pager Editor _tempfilepager _translate_ch_to_exc getchar TextWrapper _verify_python3_env _check_for_unicode_literals _find_unicode_literals_frame _get_text_stdin _wrap_std_stream _hash_py_argv Py_buffer _get_windows_argv ConsoleStream _get_text_stderr _WindowsConsoleWriter _get_text_stdout _WindowsConsoleRawIOBase _is_console _WindowsConsoleReader _get_windows_console_stream WindowsChunkedWriter test_address test_pool module_doctest _fix_module_doctest _from_module update_signature_registry merge_with merge should_curry test_sorted test_reduce test_curried_operator test_take test_module_name test_curried_namespace test_merge_with test_first test_merge test_merge_with_list test_cytoolz_like_toolz test_toolzcurry_is_class test_toolz_like_cytoolz test_dev_skip_test test_fails test_passes inc defaultdict TestDict test_environ iseven test_merge_with_non_dict_mappings CustomMapping TestDefaultDict TestCustomMapping test_docstrings_uptodate convertdoc test_get_in_doctest isfrommod test_doctest test_class_sigs test_sig_at_beginning isfrommod test_juxt_generator_input test_do test_curry_unknown_args test_compose_left test_curry_is_like_partial test_curry_attributes_writable test_flip AlwaysEquals inc test_memoize_on_classmethods generate_compose_test_cases NeverEquals test_curry_passes_errors test_curry_attributes_readonly test_memoize_kwargs test_memoize_wrapped test_curry_on_classmethods test_curry_kwargs double test_complement test_excepts test_thread_last test_memoize_key_signature test_memoize_key test_curry_comparable test_pipe test_curry_is_idempotent test_compose_metadata test_curry_simple test_curry_bind test_memoize_curried test_curry_docstring test_curry_module test_curry_bad_types test_compose iseven test_apply test_curry_call test_curry_subclassable generate_compose_left_test_cases test_memoize_partial test_memoize test_thread_first test_curry_doesnot_transmogrify isodd test_memoize_curry_cache test_inspect_signature_property test_has_varargs test_introspect_curry_py3 test_num_required_args test_is_valid test_has_keywords test_is_valid_py3 test_is_arity test_inspect_wrapped_property test_is_partial test_introspect_curry_partial_py3 test_has_unknown_args test_introspect_curry_valid_py3 test_func_keyword make_func test_introspect_builtin_modules test_make_func test_is_valid_curry test_left_outer_join test_remove test_take_nth test_sliding_window test_peekn test_sliding_window_of_short_iterator test_join_missing_element test_groupby test_reduceby test_accumulate_works_on_consumable_iterables test_isdistinct test_pluck test_merge_sorted test_topk_is_stable test_get test_reduce_by_init test_mapcat test_topk test_cons test_interleave inc test_drop test_outer_join test_right_outer_join identity test_groupby_non_callable test_isiterable test_partition double test_accumulate test_nth test_peek test_rest test_partition_all test_getter test_last test_random_sample test_tail test_key_as_getter test_first test_join test_second test_concatv test_join_double_repeats test_diff test_frequencies test_take test_count iseven test_iterate test_concat test_reduce_by_callable_default test_unique test_interpose isodd test_dicttoolz test_functoolz test_itertoolz GenException test_recipes test_partitionby iseven test_countby test_juxt test_curry test_curried_qualname test_compose test_curried_exceptions f GlobalCurried test_curried_bad_qualname test_instanceproperty test_flip test_complement test_for_coverage test_is_valid test_is_partial test_tlz test_raises test_consume easter _sign relativedelta weekday _iterinfo _rrulestr rrulebase _invalidates_cache rruleset rrule default_tzinfo today within_delta weekday isoparser _takes_ascii _timelex parse _tzparser parserinfo parser _parsetz _ymd UnknownTimezoneWarning _resultbase ParserError __deprecate_private_class __deprecated_private_func _tzicalvtz tzutc tzical tzoffset tzlocal _tzicalvtzcomp datetime_ambiguous resolve_imaginary tzfile tzrange datetime_exists _tzfile _datetime_to_timestamp _get_supported_offset _ttinfo tzstr __get_gettz tzwinlocal tzres tzwinbase _settzkeyname picknthweekday valuestodict tzwin enfold _tzinfo tzrangebase _validate_fromutc_inputs tzname_in_python2 _TzSingleton _TzOffsetFactory _TzStrFactory _TzFactory DeprecatedTzFormatWarning rebuild _print_on_nosuchfile gettz get_zonefile_instance tzfile gettz_db_metadata ZoneInfoFile getzoneinfofile_stream _ymd2ord _check_tzname _days_in_month _ord2ymd _call_tzinfo_method _days_before_year _isoweek1monday timezone tzinfo _is_leap _days_before_month _build_struct_time _cmperror _check_time_fields timedelta _cmp _wrap_strftime date datetime time _format_time _check_date_fields _check_utc_offset _check_tzinfo_arg ChainMap recursive_repr _count_elements check_output Counter OrderedDict cmp_to_key ceil _Link create_connection count socket socketpair fromfd fromshare SocketIO getfqdn create_connection UDPServer BaseRequestHandler _eintr_retry ForkingUDPServer ThreadingUnixDatagramServer DatagramRequestHandler UnixStreamServer ThreadingUDPServer ThreadingUnixStreamServer ForkingMixIn BaseServer ForkingTCPServer UnixDatagramServer StreamRequestHandler ThreadingMixIn TCPServer ThreadingTCPServer ParserBase decode body_encode header_length header_encode Charset add_charset add_alias add_codec _encode _qencode encode_quopri encode_7or8bit encode_noop encode_base64 MessageError InvalidHeaderDefect MultipartInvariantViolationDefect MisplacedEnvelopeHeaderDefect BoundaryError NonASCIILocalPartDefect UndecodableBytesDefect InvalidBase64PaddingDefect MultipartConversionError MessageParseError CharsetError InvalidMultipartContentTransferEncodingDefect StartBoundaryNotFoundDefect HeaderMissingRequiredValue MissingHeaderBodySeparatorDefect HeaderDefect HeaderParseError ObsoleteHeaderDefect NoBoundaryInMultipartDefect FirstHeaderLineIsContinuationDefect CloseBoundaryNotFoundDefect MessageDefect InvalidBase64CharactersDefect NonPrintableDefect FeedParser BytesFeedParser BufferedSubFile Generator DecodedGenerator BytesGenerator Header decode_header _ValueFormatter make_header _Accumulator BaseHeader UniqueSingleAddressHeader UniqueUnstructuredHeader UniqueDateHeader UniqueAddressHeader Address ContentDispositionHeader AddressHeader Group UnstructuredHeader ContentTypeHeader SingleAddressHeader ContentTransferEncodingHeader ParameterizedMIMEHeader MIMEVersionHeader _reconstruct_header DateHeader HeaderRegistry _structure typed_subpart_iterator walk body_line_iterator _unquotevalue _splitparam _formatparam _parseparam Message BytesParser Parser BytesHeaderParser HeaderParser EmailPolicy decode body_check header_decode quote unquote _unquote_match _body_accumulator body_encode header_length header_encode header_check _max_append body_length encode_rfc2231 collapse_rfc2231_value _format_timetuple_and_zone unquote decode_rfc2231 parseaddr formataddr localtime _sanitize make_msgid decode_params parsedate_to_datetime getaddresses format_datetime formatdate decode encode decode_q decode_b len_q _QByteMap encode_b encode_q len_b ObsRoute get_encoded_word get_bare_quoted_string get_extended_attrtext get_value get_group_list get_local_part Parameter get_invalid_mailbox ContentType ValueTerminal EncodedWord MIMEVersion QuotedString get_qcontent ContentDisposition get_word get_dot_atom get_domain_literal quote_string get_dot_atom_text UnstructuredTokenList get_address_list EWWhiteSpaceTerminal get_invalid_parameter get_fws WhiteSpaceTokenList get_addr_spec Atom DomainLiteral Phrase get_atom Word _check_for_early_dl_end _find_mime_parameters Value MailboxList get_qp_ctext get_mailbox Token _get_ptext_to_endchars get_obs_route AddrSpec get_domain get_obs_local_part ParameterizedHeaderValue CFWSList parse_content_disposition_header Comment _validate_xtext get_angle_addr get_attribute AddressList Attribute get_phrase InvalidMailbox Header Domain WhiteSpaceTerminal parse_content_type_header get_token get_atext get_mailbox_list get_parameter get_quoted_string DotAtom Terminal DisplayName get_group get_address MimeParameters get_section _decode_ew_run NameAddr TokenList LocalPart InvalidParameter parse_content_transfer_encoding_header GroupList parse_mime_version get_unstructured ObsLocalPart get_ttext ContentTransferEncoding get_dtext Group parse_mime_parameters AngleAddr Mailbox BareQuotedString get_display_name get_attrtext get_name_addr HeaderLabel get_cfws get_extended_attribute Address _Folded get_comment Section DotAtomText parsedate_tz quote mktime_tz AddressList _parsedate_tz AddrlistClass parsedate _extend_docstrings _PolicyBase Compat32 _append_doc Policy message_from_bytes message_from_string message_from_binary_file message_from_file MIMEApplication _whatsnd MIMEAudio MIMEBase MIMEImage MIMEMessage MIMEMultipart MIMENonMultipart MIMEText HTMLParseError HTMLParser escape UnknownProtocol CannotSendHeader ResponseNotReady LineTooLong ImproperConnectionState InvalidURL UnknownTransferEncoding HTTPException BadStatusLine NotConnected IncompleteRead UnimplementedFileMode HTTPResponse HTTPConnection CannotSendRequest HTTPMessage parse_headers lwp_cookie_str request_path split_header_words LoadError request_host uppercase_escaped_char DefaultCookiePolicy offset_from_tz_string FileCookieJar _warn_unhandled_exception domain_match parse_ns_headers deepvalues CookiePolicy request_port CookieJar _debug is_HDN reach liberal_is_HDN vals_sorted_by_key time2netscape eff_request_host join_header_words http2time time2isoz is_third_party unmatched LWPCookieJar MozillaCookieJar _str2time strip_quotes iso2time Absent _timegm Cookie escape_path user_domain_match CookieError _unquote _getdate BaseCookie Morsel SimpleCookie _quote HTTPServer _url_collapse_path CGIHTTPRequestHandler BaseHTTPRequestHandler SimpleHTTPRequestHandler executable test nobody_uid _quote_html Record Proc1 Proc3 Proc4 Proc6 error Proc7 Func1 Func3 Proc8 pystones Proc0 Proc5 main Proc2 Func2 RootedHTTPRequestHandler StatsRequestHandler make_https_server HTTPSServer HTTPSServerThread _filterwarnings no_tracing captured_stdin create_empty_file args_from_interpreter_flags _parse_guards _rmtree requires_freebsd_version CleanImport is_resource_enabled _requires_unix_version get_original_stdout run_doctest patch impl_detail skip_unless_xattr reap_children calcvobjsize run_unittest find_unused_port gc_collect rmtree _unlink check_syntax_error run_with_locale can_xattr set_memlimit reap_threads captured_stdout _is_gui_available Matcher sortdict disable_gc bind_port forget skip_unless_symlink transient_internet captured_stderr refcount_test get_attribute TestFailed run_with_tz EnvironmentVarGuard rmdir requires_resource check_impl_detail ResourceDenied _filter_suite make_legacy_pyc _ignore_deprecated_imports make_bad_fd requires_mac_ver temp_cwd swap_attr record_original_stdout anticipate_failure requires _MemoryWatchdog modules_setup swap_item suppress_crash_popup unlink TestHandler _rmdir _id _save_and_block_module open_urlresource threading_setup strip_python_stderr _run_suite cpython_only temp_umask calcobjsize check_warnings check_sizeof WarningsRecorder can_symlink BasicTestRunner unload _save_and_remove_module captured_output _is_ipv6_enabled DirsOnSysPath requires_linux_version bigmemtest threading_cleanup import_fresh_module TransientResource findfile python_is_optimized modules_cleanup import_module Error _waitfor bigaddrspacetest ContentTooShortError HTTPError URLError unquote_to_bytes _fix_result_transcoding quote_plus quote DefragResultBytes urljoin splittag _NetlocResultMixinBytes splituser urlunparse urldefrag parse_qs splitquery unwrap urlparse urlsplit splitattr splittype _ResultMixinBytes splithost _ResultMixinStr SplitResultBytes unquote_plus splitvalue parse_qsl _noop clear_cache unquote _encode_result ParseResult _splitnetloc urlunsplit urlencode splitport SplitResult DefragResult _coerce_args splitnport ParseResultBytes quote_from_bytes Quoter to_bytes _NetlocResultMixinBase splitpasswd _decode_args _NetlocResultMixinStr _splitparams parse_keqv_list proxy_bypass_environment HTTPPasswordMgr proxy_bypass_macosx_sysconf HTTPBasicAuthHandler AbstractDigestAuthHandler request_host ftperrors ProxyHandler noheaders _proxy_bypass_macosx_sysconf UnknownHandler _safe_gethostbyname HTTPErrorProcessor HTTPHandler AbstractHTTPHandler parse_http_list thishost install_opener HTTPDefaultErrorHandler getproxies_macosx_sysconf HTTPSHandler ProxyBasicAuthHandler _parse_proxy build_opener OpenerDirector urlretrieve getproxies Request urlopen localhost getproxies_environment HTTPDigestAuthHandler URLopener FileHandler BaseHandler ProxyDigestAuthHandler HTTPPasswordMgrWithDefaultRealm proxy_bypass ftpwrapper urlcleanup FTPHandler FancyURLopener HTTPRedirectHandler HTTPCookieProcessor CacheFTPHandler AbstractBasicAuthHandler addinfourl addbase addinfo addclosehook Entry RobotFileParser RuleLine ProtocolError Transport _binary _Method _datetime getparser loads ExpatParser _strftime Marshaller escape _MultiCallMethod SafeTransport DateTime gzip_encode MultiCall ResponseError Binary _iso8601_format Fault ServerProxy Unmarshaller gzip_decode Error dumps GzipDecodedResponse MultiCallIterator _datetime_type XMLRPCDocGenerator SimpleXMLRPCDispatcher DocCGIXMLRPCRequestHandler ServerHTMLDoc CGIXMLRPCRequestHandler list_public_methods DocXMLRPCRequestHandler DocXMLRPCServer SimpleXMLRPCServer MultiPathXMLRPCServer SimpleXMLRPCRequestHandler resolve_dotted_attribute ExampleService disabled_function pow newnext newround from_float_26 superm newsuper new_min_max newmax newmin RenameImport import_ install_hooks cache_py2_modules hooks suspend_hooks scrub_py2_sys_modules scrub_future_sys_modules install_aliases enable_hooks detect_hooks restore_sys_modules is_py2_stdlib_module remove_hooks disable_hooks exclude_local_folder_imports import_top_level_modules from_import CodeHandler expectedFailurePY27 expectedFailurePY26 PasteurizeError expectedFailurePY3 VerboseCalledProcessError reformat_code assertRegex expectedFailurePY2 order_future_lines assertWarns _AssertRaisesBaseContext _AssertWarnsContext FuturizeError newbytes _newchr BaseNewBytes BaseNewDict newdict newint BaseNewInt newlist BaseNewList newmemoryview newobject newopen newrange range_iterator BaseNewStr newstr issubset no disallow_types decodefilename u NotASurrogateError surrogateescape_handler replace_surrogate_encode replace_surrogate_decode encodefilename register_surrogateescape b lfilter raise_with_traceback is_new_style python_2_unicode_compatible _repr_strip viewitems raise_from viewkeys lzip iteritems isint isbytes _get_caller_globals_and_locals istext viewvalues native native_str_to_bytes lrange bord bind_method implements_iterator bstr bytes_to_native_str with_metaclass getexception itervalues lmap encode_filename tobytes bchr old_div as_native_str iterkeys text_to_native_str raise_ isnewbytes ensure_new_type isidentifier GreekStemmer StreamWriter Codec getregentry IncrementalEncoder IncrementalDecoder StreamReader ToASCII nameprep ToUnicode decode IDNAError _is_script check_initial_combiner check_hyphen_ok ulabel check_label check_bidi _combining_class encode valid_string_length uts46_remap alabel InvalidCodepoint InvalidCodepointContext valid_contextj valid_contexto valid_label_length check_nfc _unot _punycode IDNABidiError _decode_range intranges_contain _encode_range intranges_from_list _seg_37 _seg_70 _seg_72 _seg_4 _seg_63 _seg_36 _seg_19 _seg_53 _seg_23 _seg_55 _seg_12 _seg_41 _seg_47 _seg_74 _seg_17 _seg_58 _seg_60 _seg_66 _seg_10 _seg_8 _seg_56 _seg_68 _seg_33 _seg_65 _seg_45 _seg_3 _seg_51 _seg_30 _seg_73 _seg_52 _seg_13 _seg_67 _seg_62 _seg_15 _seg_50 _seg_38 _seg_22 _seg_76 _seg_42 _seg_44 _seg_71 _seg_61 _seg_79 _seg_5 _seg_46 _seg_57 _seg_49 _seg_14 _seg_26 _seg_25 _seg_1 _seg_24 _seg_77 _seg_11 _seg_48 _seg_78 _seg_0 _seg_6 _seg_35 _seg_21 _seg_54 _seg_59 _seg_31 _seg_29 _seg_7 _seg_43 _seg_18 _seg_75 _seg_40 _seg_2 _seg_9 _seg_32 _seg_27 _seg_16 _seg_34 _seg_69 _seg_39 _seg_28 _seg_20 _seg_64 disable_stdlib_finder NullFinder unique_everseen PyPy_repr py2_message_from_string install FileHash FastPath Prepared distribution DistributionFinder Distribution distributions files PathDistribution PackagePath metadata entry_points EntryPoint version MetadataPathFinder requires PackageNotFoundError Fixtures LocalPackage install_finder tempdir_as_cwd EggInfoPkg NullFinder FileBuilder OnSysPath save_cwd DistInfoPkg EggInfoFile build_files DistInfoPkgOffPath DALS SiteDir tempdir OffSysPathTests APITests LocalProjectTests IntegrationTests FinderTests InaccessibleSysPath ImportTests DiscoveryTests DirectoryTest NameNormalizationTests BasicTests TestEntryPoints MissingSysPath FileSystem NonASCIITests TestZip TestEgg concurrency_safe_rename make_memmap register_compressor LZ4CompressorWrapper XZCompressorWrapper GzipCompressorWrapper CompressorWrapper LZMACompressorWrapper ZlibCompressorWrapper BinaryGzipFile BZ2CompressorWrapper BinaryZlibFile delete_folder disk_used memstr_to_bytes mkdirp rm_subdirs MemmappingExecutor get_memmapping_executor _TestingMemmappingExecutor __getattr__ _clean_win_chars format_call filter_args _signature_str _function_called_str format_signature get_func_code get_func_name _format_arg NumpyHasher _MyHash _ConsistentSet hash Hasher PrintTime Logger pformat format_time short_format_time _squeeze_time _store_backend_factory NotMemorizedFunc JobLibCollisionWarning MemorizedResult _format_load_msg Memory extract_first_line register_store_backend NotMemorizedResult _get_func_fullname MemorizedFunc _build_func_identifier __getattr__ WorkerInterrupt load_temporary_memmap NumpyArrayWrapper dump load NumpyUnpickler _unpickle NumpyPickler write_zfile load_compatibility NDArrayWrapper ZipNumpyUnpickler read_zfile asbytes ZNDArrayWrapper hex_str _buffered_write_file _buffered_read_file _read_fileobject _write_fileobject _is_raw_file _detect_compressor _read_bytes _get_prefixes_max_len get_active_backend parallel_backend cpu_count BatchCompletionCallBack register_parallel_backend effective_n_jobs BatchedCalls Parallel delayed _register_dask _verbosity_filter MemmappingPool CustomizablePickler PicklingPool CustomizablePicklingQueue warnings_to_stdout check_subprocess_call Batch _WeakKeyDictionary _joblib_probe_task _make_tasks_summary _funcname is_weakrefable DaskDistributedBackend format_outer_frames eq_repr safe_repr fix_frame_records_filenames uniq_stable _fixed_getframes format_records format_exc _format_traceback_lines _mk_common_exceptions JoblibException _mk_exception TransportableException _get_backing_memmap reduce_array_memmap_backward _get_temp_dir _log_and_unlink _reduce_memmap_backed unlink_file get_memmapping_reducers ArrayMemmapForwardReducer TemporaryResourcesManager _WeakArrayKeyMap _strided_from_memmap has_shareable_memory add_maybe_unlink_finalizer AutoBatchingMixin ThreadingBackend FallbackToBackend SafeFunction MultiprocessingBackend LokyBackend ParallelBackendBase SequentialBackend ImmediateResult PoolManagerMixin StoreBackendMixin concurrency_safe_write FileSystemStoreBackend StoreBackendBase _make_dict_items _is_importable _builtin_type _extract_code_globals _get_or_create_tracker_id _gen_ellipsis _make_cell_set_template_code _make_skeleton_class _lookup_module_and_qualname _get_cell_contents _rehydrate_skeleton_class _create_parametrized_type_hint _make_skeleton_enum _typevar_reduce cell_set dynamic_subimport instance _gen_not_implemented _rebuild_tornado_coroutine _lookup_class_or_track _make_typevar _whichmodule _make_empty_cell _extract_class_dict _make_dict_values is_tornado_coroutine _walk_global_ops _make_dict_keys _get_bases _find_imported_submodules _empty_cell_value _make_cell subimport _make_skel_func _is_parametrized_type_hint _fill_function parametrized_type_hint_getinitargs _decompose_typevar _getset_descriptor_reduce _logger_reduce _mappingproxy_reduce _class_reduce _file_reduce _dict_keys_reduce _code_reduce _function_getstate _weakset_reduce _class_setstate dump _enum_getnewargs _cell_reduce _property_reduce _enum_getstate _method_reduce _root_logger_reduce _file_reconstructor _dict_values_reduce _dict_items_reduce _module_reduce _class_getstate _function_setstate CloudPickler _memoryview_reduce _class_getnewargs dumps _dynamic_class_reduce _classmethod_reduce wrap_non_picklable_objects CallableObjectWrapper CloudpickledObjectWrapper _wrap_non_picklable_objects _wrap_objects_when_needed _reconstruct_wrapper _chain_from_iterable_of_lists _sendback_result ProcessPoolExecutor _process_worker _check_max_depth _ExecutorManagerThread LokyRecursionError _get_chunks _ResultItem _process_chunk _WorkItem _ThreadWakeup BrokenProcessPool _rebuild_exc _RemoteTraceback _SafeQueue _check_system_limits ShutdownExecutorError _ExceptionWithTraceback _ExecutorFlags TerminatedWorkerError _CallItem _get_memory_usage _python_exit get_reusable_executor _get_next_executor_id _ReusablePoolExecutor Future set_cause get_start_method _count_physical_cores LokyContext get_context cpu_count LokyInitMainContext set_start_method _cpu_count_user fork_exec close_fds LokyManager _DupFd Popen is_forking get_command_line _path_eq main Popen LokyProcess AuthenticationKey LokyInitMainProcess SimpleQueue Queue dump _ReducerRegistry _reduce_method dumps set_loky_pickler loads _reduce_partial _rebuild_partial get_loky_pickler_name _C _reduce_method_descriptor get_loky_pickler main ResourceTracker spawnv_passfds raiseFromErrno SemLock sem_unlink FileNotFoundError FileExistsError _sem_open _sem_timedwait timespec _fixup_main_from_name get_executable _check_not_importing_main prepare get_preparation_data import_main_path _fixup_main_from_path SemLock Condition RLock Semaphore Event BoundedSemaphore Lock get_exitcodes_terminated_worker _get_exitcode_name _recursive_terminate_with_psutil recursive_terminate _format_exitcodes _recursive_terminate _flag_current_thread_clean_exit _recursive_terminate_without_psutil rebuild_connection DupFd reduce_connection _rebuild_socket _reduce_socket _mk_inheritable monotonic wait _poll reduce_pipe_connection DupHandle rebuild_pipe_connection reduce_socket fromfd _rebuild_socket wait _make_name setup_autokill with_memory_profiler teardown_autokill with_numpy memory_used return_slice_of_data print_filename_and_raise test_memmap test_concurrency_safe_rename test_nested_scatter test_no_undesired_distributed_cache_hit test_dask_backend_uses_autobatching test_secede_with_no_processes test_simple _worker_address test_dont_assume_function_purity noop test_auto_scatter random2 CountSerialized test_wait_for_workers_timeout test_dask_backend_keywords slow_raise_value_error test_cleanup middle test_manual_scatter test_correct_nested_backend test_nested_backend_context_manager count_events add5 test_nested_backend_context_manager_implicit_n_jobs test_dask_funcname outer test_wait_for_workers inner test_errors test_deprecated_joblib_exceptions test_deprecated_formatting_utilities test_mkdirp test_rm_subdirs test_disk_used test_memstr_to_bytes_exception test_memstr_to_bytes _raise_exception test_format_exc_with_compiled_code test_format_records_file_with_less_lines_than_context test_safe_repr test_format_records _change_file_extensions_to_pyc Vicious g test_func_inspect_errors test_filter_args_error_msg test_filter_varargs test_filter_args_method _get_code test_bound_methods func_with_signature f m2 h k func_with_kwonly_args i test_filter_args_edge_cases test_special_source_encoding m1 test_filter_kwargs test_format_signature_long_arguments test_func_name test_func_code_consistency j test_format_signature test_filter_args_2 test_format_signature_numpy Klass test_func_name_on_inner_func test_filter_args_no_kwargs_mutation cached_func test_clean_win_chars test_filter_args test_wrong_hash_name test_dtype test_hash_object_dtype test_hash_numpy_performance test_hash_methods test_bound_cached_methods_hash test_0d_array str test_hashing_pickling_error test_numpy_scalar test_bound_methods_hash test_hash_numpy_noncontiguous test_numpy_datetime_array relative_time test_hash_numpy_dict_of_arrays test_0d_and_1d_array_hashing_is_different test_hashes_stay_the_same_with_numpy_objects test_hash_numpy_arrays test_hashes_stay_the_same three_np_arrays time_func KlassWithCachedMethod test_trivial_hash test_hash_memmap test_set_decimal_hash test_dict_hash Klass test_set_hash test_hashes_are_different_between_c_and_fortran_contiguous_arrays test_string test_import_joblib test_print_time test_numpy_arrays_use_different_memory test_memmapping_temp_folder_thread_safety check_array test_memmapping_on_large_enough_dev_shm test_memmapping_pool_for_large_arrays_in_return test_child_raises_parent_exits_cleanly setup_module test_workaround_against_bad_memmap_with_copied_buffers test_direct_mmap identity check_memmap_and_send_back inplace_double test_high_dimension_memmap_array_reducing test_managed_backend_reuse_temp_folder _worker_multiply test_multithreaded_parallel_termination_resource_tracker_silent test_nested_loop_error_in_grandchild_resource_tracker_silent test__strided_from_memmap test_pool_with_memmap test_pool_get_temp_dir test_memmapping_pool_for_large_arrays test_weak_array_key_map test_weak_array_key_map_no_pickling test_permission_error_windows_reference_cycle test_many_parallel_calls_on_same_object test_parallel_isolated_temp_folders test_memmap_based_array_reducing test_memmap_returned_as_regular_array test_resource_tracker_retries_when_permissionerror test_pool_memmap_with_big_offset teardown_module test_permission_error_windows_memmap_sent_to_parent test_resource_tracker_silent_when_reference_cycles test_memmapping_on_too_small_dev_shm test_memmapping_pool_for_large_arrays_disabled test_pool_with_memmap_array_view test_memory_eval test_memory_numpy_check_mmap_mode test_call_and_shelve_argument_hash test_memory_func_with_signature corrupt_single_cache_item monkeypatch_cached_func_warn test_cached_function_race_condition_when_persisting_output test_argument_change test_memory_default_store_backend test_memory_integration test_memory_reduce_size test_partial_decoration test_instanciate_store_backend_with_pathlib_path _function_to_cache func_with_signature test_memory_file_modification test_warning_on_unknown_location_type _setup_toy_cache test_memory_partial f func_with_kwonly_args test_memory_clear test_memory_pickle_dump_load IncompleteStoreBackend test_memory_exception test_memory_args_as_kwargs compare test_memorized_result_pickle _product check_identity_lazy test_memory_numpy test_parallel_call_cached_function_defined_in_jupyter test_memory_name_collision test_cached_function_race_condition_when_persisting_output_2 test_memory_kwarg test_deprecated_cachedir_behaviour test__get_items test_persistence test_memorized_pickling test_memory_func_with_kwonly_args count_and_append fast_func_with_complex_output test_memory_warning_collision_detection test_memorized_repr test_call_and_shelve_lazily_load_stored_result test_memory_warning_lambda_collisions test_instanciate_incomplete_store_backend test_memory_lambda test_memory_recomputes_after_an_error_while_loading_results test_dummy_store_backend test_memory_objects_repr test_no_memory test_filesystem_store_backend_repr test__get_items_to_delete test_memory_ignore test_call_and_shelve _sum fast_func_with_conditional_complex_output test_register_invalid_store_backends_object test_memory_in_memory_function_code_change test_clear_memory_with_none_location test_func_dir test_register_invalid_store_backends_key DummyStoreBackend test_no_semaphore_tracker_on_import test_no_start_method_side_effect_on_import test_version test_no_resource_tracker_on_import test_inheritance_special_cases test__mk_exception test_inheritance CustomException CustomException2 test_binary_zlibfile_invalid_filename_type test_cache_size_warning test_compressed_pickle_dump_and_load test_joblib_pickle_across_python_versions test_compression_using_file_extension test_register_compressor_invalid_fileobj test_file_handle_persistence_compressed_mmap StandardLibGzipCompressorWrapper _function test_non_contiguous_array_pickling test_lz4_compression_without_lz4 test_value_error _class test_compress_tuple_argument_exception test_pickle_in_socket _newclass test_lz4_compression AnotherZlibCompressorWrapper test_joblib_compression_formats _load_sub_array test_compress_tuple_argument test_numpy_persistence_bufferred_array_compression test_register_compressor test_pathlib test_binary_zlibfile_bad_compression_levels test_load_externally_decompressed_files test_memmap_persistence test_file_handle_persistence test_memmap_persistence_mixed_dtypes test_in_memory_persistence test_pickle_highest_protocol test_register_compressor_invalid_name test_numpy_subclass ComplexTestObject test_compress_string_argument test_register_compressor_already_registered _check_pickle test_standard_types test_load_memmap_with_big_offset test_masked_array_persistence test_memory_usage test_file_handle_persistence_mmap _zlib_file_decompress test_file_handle_persistence_in_memory_mmap SubArray test_binary_zlibfile test_numpy_persistence test_compress_mmap_mode_warning test_binary_zlibfile_invalid_modes _gzip_file_decompress test_compress_level_error test_z_file test_binary_zlib_file test_default_mp_context test_parallel_with_exhausted_iterator test_parallel_with_interactively_defined_bound_method raise_exception test_globals_update_at_each_parallel_call test_nested_parallel_warnings test_parallel_thread_limit test_auto_memmap_on_arrays_from_generator test_thread_bomb_mitigation _active_backend_type test_parallel_pickling test_threadpool_limitation_in_child_context test_batching_auto_subprocesses FakeParallelBackend test_background_thread_parallelism test_memmapping_leaks test_backend_hinting_and_constraints test_exception_dispatch test_threadpool_limitation_in_child_override test_global_parallel_backend test_parallel_timeout_fail test_directly_parameterized_backend_context_manager test_effective_n_jobs ParameterizedParallelBackend _recursive_backend_info MyBackend _assert_warning_nested test_loky_reuse_workers check_backend_context_manager test_backend_hinting_and_constraints_with_custom_backends test_nested_backend_in_sequential _run_parallel_sum test_error_capture test_joblib_exception test_parameterized_backend_context_manager test_nested_parallelism_with_dask division test_parallel_kwargs _check_numpy_threadpool_limits test_mutate_input_with_threads _parent_max_num_threads_for test_parallel_timeout_success MyExceptionWithFinickyInit nested_function_outer test_nested_exception_dispatch test_external_backends test_nested_loop_with_exception_with_loky test_simple_parallel test_effective_n_jobs_None test_invalid_backend_hinting_and_constraints consumer test_backend_batch_statistics_reset test_backend_context_manager check_nesting_level _recursive_parallel test_delayed_check_pickle_deprecated test_dispatch_one_job test_nested_loop test_backend_nesting_level f test_no_blas_crash_or_freeze_with_subprocesses get_workers test_cpu_count test_safe_function test_nested_parallelism_limit nested_loop test_dispatch_race_condition exception_raiser test_warning_about_timeout_not_supported_by_backend test_invalid_batch_size test_retrieval_context test_main_thread_renamed_no_warning nested_function_inner test_threadpool_limitation_in_child test_dask_backend_when_dask_not_installed interrupt_raiser test_threadpool_limitation_in_child_context_error test_parallel_with_interactively_defined_functions_default_backend test_zero_worker_backend test_dispatch_multiprocessing test_overwrite_default_backend parallel_func get_nested_pids test_parallel_with_interactively_defined_functions test_parallel_with_unpicklable_functions_in_args identity test_register_parallel_backend sleep_and_return_pid test_abort_backend check_memmap test_parallel_as_context_manager test_invalid_njobs square test_nested_backend_context_manager test_invalid_backend check_child_num_threads test_memmap_with_big_offset test_batching_auto_threading test_lambda_expression test_concurrency_safe_write write_func concurrency_safe_write_rename load_func test_check_subprocess_call test_check_subprocess_call_non_matching_regex test_check_subprocess_call_non_zero_return_code test_check_subprocess_call_timeout test_check_subprocess_call_wrong_command write_test_pickle get_joblib_version is_import_stmt canonical_fix_name is_docstring check_future_import indentation future_import2 parse_args touch_import_top is_encoding_comment Star is_shebang_comment suitify Minus DoubleStar commatize wrap_in_fn_call import_binding_scope future_import NameImport ImportAsName indentation_step main FixAbsoluteImport FixAddFutureImportsExceptUnicodeLiterals FixBasestring FixBytes FixCmp match_division is_floaty FixDivisionSafe _is_floaty FixExecfile FixFutureBuiltins FixFutureStandardLibrary FixFutureStandardLibraryUrllib FixInput has_metaclass FixMetaclass find_metas remove_trailing_newline fixup_indent fixup_parse_tree fixup_simple_stmt is_subtree find_assign is_assign_target FixNextCall FixObject FixOldstrWrap FixOrderFutureImports FixPrint FixPrintWithImport FixRaise FixRemoveOldFutureImports FixUnicodeKeepU FixUnicodeLiteralsImport FixUserdict FixXrangeWithImport main Features Feature FixAddAllFutureBuiltins FixAddAllFutureImports FixAddFutureStandardLibraryImport param_without_annotations FixAnnotations match_division FixDivision FixFeatures FixFullargspec FixFutureBuiltins FixGetcwd all_patterns FixImports all_modules_subpattern build_import_pattern FixImports2 gen_params remove_params needs_fixing FixKwargs FixMemoryview has_metaclass FixMetaclass FixNewstyle insert_object FixNext FixPrintfunction FixRaise FixRaise FixThrow assignment_source FixUnpacking Substitution dedent_interpd copy spring isinteractive subplot_mosaic axis grid clf hist2d findobj tick_params ion fignum_exists _setup_pyplot_info_docstrings show autumn axvline connect _xkcd scatter hot copper get getp cohere ginput loglog triplot boxplot fill rcdefaults magnitude_spectrum contour set_loglevel suptitle switch_backend table xlabel _auto_draw_if_interactive figtext xkcd waitforbuttonpress colormaps step cla summer subplots clim _copy_docstring_and_deprecators eventplot flag get_current_fig_manager csd winter barh imshow title savefig contourf legend quiver hlines specgram imsave gcf rc_context barbs uninstall_repl_displayhook plot xscale semilogx autoscale stackplot polar xcorr plotting figimage angle_spectrum vlines subplot_tool get_plot_commands axes minorticks_on draw tricontourf locator_params spy plot_date prism set_cmap axhspan phase_spectrum axhline axline xticks matshow twiny arrow semilogy _warn_if_gui_out_of_main_thread pie gray bar gca imread new_figure_manager errorbar acorr disconnect streamplot margins figlegend cool box xlim ioff yscale psd text rc hsv bone broken_barh hist figure nipy_spectral fill_between fill_betweenx sci tripcolor hexbin tricontour plasma gci subplot2grid violinplot get_figlabels clabel yticks subplot minorticks_off stem thetagrids _get_required_interactive_framework colorbar pcolormesh ylabel inferno ylim twinx delaxes setp ticklabel_format axvspan rgrids close tight_layout magma annotate pink get_fignums quiverkey pause install_repl_displayhook subplots_adjust viridis pcolor jet sca draw_if_interactive _to_int _parse_composites _to_bool _to_float _to_list_of_floats AFM _parse_kern_pairs _to_str _parse_optional _parse_char_metrics _parse_header _to_list_of_ints Animation ImageMagickFileWriter adjusted_figsize FuncAnimation MovieWriter _embedded_frames HTMLWriter ArtistAnimation ImageMagickWriter AVConvWriter AbstractMovieWriter FFMpegFileWriter AVConvBase _included_frames ImageMagickBase MovieWriterRegistry FFMpegBase FileMovieWriter AVConvFileWriter FFMpegWriter TimedAnimation PillowWriter kwdoc getp allow_rasterization ArtistInspector Artist setp _stale_axes_callback _LazyTickList Axis XTick Ticker YAxis _make_getset_interval XAxis YTick Tick MouseButton FigureCanvasBase RendererBase KeyEvent DrawEvent register_backend StatusbarBase ToolContainerBase key_press_handler Event button_press_handler MouseEvent FigureManagerBase LocationEvent NavigationToolbar2 _Mode _Backend _is_non_interactive_terminal_ipython ResizeEvent _check_savefig_extra_args CloseEvent ShowBase NonGuiException get_registered_canvas_class PickEvent _get_renderer TimerBase GraphicsContextBase ToolManagerMessageEvent ToolEvent ToolTriggerEvent ToolManager ToolEnableNavigation ToolViewsPositions ToolPan ViewsPositionsBase ToolQuitAll ToolBack ToolXScale ToolCursorPosition ToolZoom ToolCopyToClipboardBase ToolHome add_tools_to_container ZoomPanBase ToolBase SetCursorBase _ToolEnableNavigation ToolMinorGrid ToolFullScreen ToolGrid add_tools_to_manager Cursors _ToolEnableAllNavigation ToolEnableAllNavigation ToolHelpBase ToolToggleBase ToolQuit AxisScaleBase ToolYScale ConfigureSubplotsBase ToolForward SaveFigureBase RubberbandBase find_bezier_t_intersecting_with_closedpath get_normal_points split_path_inout _de_casteljau1 split_de_casteljau split_bezier_intersecting_with_closedpath make_wedged_bezier2 inside_circle NonIntersectingPathException find_control_points _comb get_parallels get_cos_sin concatenate_paths get_intersection check_if_parallel make_path_regular BezierSegment BlockingMouseInput BlockingKeyMouseInput BlockingContourLabeler BlockingInput StrCategoryFormatter UnitData StrCategoryLocator StrCategoryConverter revcmap register_cmap _gen_cmap_registry ScalarMappable _DeprecatedCmapDictWrapper get_cmap _reverser BrokenBarHCollection Collection RegularPolyCollection AsteriskPolygonCollection EllipseCollection _CollectionWithSizes EventCollection StarPolygonCollection PolyCollection QuadMesh PatchCollection TriMesh PathCollection LineCollection CircleCollection Colorbar colorbar_factory _ColorbarAutoMinorLocator ColorbarPatch _add_disjoint_kwargs ColorbarBase _ColorbarLogLocator make_axes make_axes_gridspec _set_ticks_on_axis_warn _ColorbarAutoLocator _vector_magnitude TwoSlopeNorm _ColorMapping _sanitize_extrema from_levels_and_colors _to_rgba_no_colorcycle to_rgb get_named_colors_mapping _warn_if_global_cmap_modified NoNorm makeMappingArray hsv_to_rgb LogNorm DivergingNorm BoundaryNorm Normalize same_color rgb_to_hsv is_color_like Colormap ListedColormap SymLogNorm LightSource to_hex _create_lookup_table to_rgba_array LinearSegmentedColormap to_rgba ColorConverter PowerNorm _is_nth_color StemContainer ErrorbarContainer BarContainer Container ContourLabeler _find_closest_point_on_leg QuadContourSet ContourSet _find_closest_point_on_path _is_closed_polygon ClabelText _dt64_to_ordinalf get_epoch _reset_epoch_test_example datestr2num ConciseDateFormatter AutoDateFormatter DateLocator date_ticker_factory DayLocator num2epoch ConciseDateConverter _from_ordinalf julian2num DateFormatter HourLocator _to_ordinalf drange MicrosecondLocator MinuteLocator _get_rc_timezone SecondLocator IndexDateFormatter MonthLocator num2date num2timedelta mx2num WeekdayLocator rrulewrapper num2julian epoch2num set_epoch AutoDateLocator date2num RRuleLocator YearLocator DateConverter _parse_enc _arg_ulen1 _fontfile _arg_olen1 _dispatch _arg_raw DviFont _arg_slen Tfm find_tex_file _arg Dvi Encoding _fix2comp Vf PsfontsMap _mul2012 _arg_slen1 _stale_figure_callback AxesStack _AxesStack SubplotParams Figure figaspect _escape_val FontconfigPatternParser generate_fontconfig_pattern findSystemFonts get_fontconfig_fonts FontEntry _call_fc_list json_dump _win32RegistryFonts FontProperties ttfFontProperty list_fonts FontManager _rebuild _json_decode get_fontext_synonyms _normalize_font_family json_load _JSONEncoder createFontList is_opentype_cff_font JSONEncoder win32FontDirectory win32InstalledFonts get_font afmFontProperty GridSpecFromSubplotSpec SubplotSpec GridSpecBase GridSpec SmallFilledCircles SmallCircles Shapes Circles get_path NorthEastHatch VerticalHatch LargeCircles SouthEastHatch Stars HorizontalHatch HatchPatternBase _ImageBase FigureImage BboxImage imsave PcolorImage thumbnail pil_to_array _pil_png_to_float_array composite_images AxesImage _draw_list_compositing_images imread NonUniformImage _rgb_to_rgba _resample Legend _get_legend_handles _parse_legend_args DraggableLegend _get_legend_handles_labels HandlerPatch HandlerNpoints HandlerBase HandlerTuple update_from_first_child HandlerErrorbar HandlerRegularPolyCollection HandlerNpointsYoffsets HandlerLine2D HandlerPolyCollection HandlerStem HandlerLineCollection HandlerPathCollection HandlerCircleCollection segment_hits Line2D _get_dash_pattern VertexSelector _AxLine _mark_every_path _scale_dashes MarkerStyle Fil AutoWidthChar STIXSansFontConstants StixFonts BakomaFonts ComputerModernFontConstants get_unicode_index Kern DejaVuSerifFonts Parser MathTextParser Hlist FontConstantsBase MathtextBackendPath UnicodeFonts Ship DejaVuSansFonts MathtextBackendSvg Accent Box Hrule Glue Vbox Char MathtextBackendAgg DejaVuSansFontConstants DejaVuFonts MathtextBackendCairo MathtextBackendPs NegFill _get_font_constant_set Fonts TruetypeFonts MathtextBackend Fill List SubSuperCluster Vrule Filll NegFilll AutoHeightChar DejaVuSerifFontConstants Node VCentered Error Hbox GlueSpec HCentered STIXFontConstants math_to_image MathtextBackendPdf MathtextBackendBitmap Rule NegFil Vlist StixSansFonts SsGlue MathTextWarning StandardPsFonts stride_windows detrend_none detrend apply_window stride_repeat psd cohere _spectral_helper _single_spectrum_helper GaussianKDE window_hanning detrend_linear specgram window_none detrend_mean csd DraggableOffsetBox _get_aligned_offsets PackerBase AnchoredOffsetbox DraggableAnnotation PaddedBox DraggableBase TextArea bbox_artist OffsetImage DrawingArea AnchoredText AnnotationBbox AuxTransformBox VPacker OffsetBox _get_packed_offsets HPacker Ellipse _point_along_a_line bbox_artist CirclePolygon Arrow PathPatch FancyArrowPatch RegularPolygon Patch ConnectionPatch _register_style FancyArrow ArrowStyle BoxStyle ConnectionStyle Circle Polygon Shadow Arc FancyBboxPatch _simpleprint_styles _Style Rectangle draw_bbox Wedge get_path_collection_extents Path PathEffectRenderer PathPatchEffect SimpleLineShadow Normal SimplePatchShadow AbstractPathEffect _subclass_with_normal Stroke Quiver _parse_args _check_consistent_shapes Barbs QuiverKey _make_type_validator validate_color validate_capstyle validate_movie_writer validate_webagg_address _update_savefig_format validate_whiskers _validate_date validate_color_for_prop_cycle _validate_greaterequal0_lessequal1 validate_hinting _validate_mathtext_fallback _validate_greaterequal0_lessthan1 validate_dpi validate_color_or_inherit _ignorecase _make_nseq_validator validate_fontsize validate_bbox update_savefig_format validate_hatch _validate_mathtext_fallback_to_cm validate_nseq_float validate_fontweight validate_aspect validate_markevery validate_hist_bins validate_animation_writer_path validate_cycler validate_fontsize_None ValidateInStrings validate_nseq_int _validate_linestyle cycler validate_font_properties validate_color_or_auto _listify_validator validate_bool_maybe_none validate_backend validate_bool validate_joinstyle validate_axisbelow validate_path_exists validate_sketch _deprecate_case_insensitive_join_cap _validate_hinting validate_fonttype validate_ps_distiller validate_any _convert_validator_spec _validate_tex_preamble Sankey get_scale_names SymmetricalLogScale LogitScale scale_factory FuncTransform InvertedLogTransform FuncScale SymmetricalLogTransform LogitTransform LogisticTransform _get_scale_docs FuncScaleLog LogTransform LinearScale ScaleBase register_scale InvertedSymmetricalLogTransform LogScale Spine stackplot StreamMask _integrate_rk12 streamplot get_integrator TerminateTrajectory InvalidIndexError interpgrid StreamplotSet _euler_step Grid OutOfBounds DomainMap _gen_starting_points Cell Table table TexManager OffsetFrom _wrap_text _get_textbox Annotation Text _AnnotationBase get_rotation TextToPath TextPath FixedLocator is_close_to_int LogitLocator MultipleLocator AutoLocator FixedFormatter _Edge_integer LogFormatterSciNotation IndexFormatter NullLocator SymmetricalLogLocator _decade_greater_equal FormatStrFormatter LogFormatter IndexLocator LogFormatterMathtext _if_refresh_overridden_call_and_emit_deprec scale_range StrMethodFormatter _decade_greater OldScalarFormatter LogitFormatter EngFormatter ScalarFormatter TickHelper PercentFormatter LinearLocator MaxNLocator AutoMinorLocator LogLocator LogFormatterExponent Locator OldAutoLocator FuncFormatter is_decade NullFormatter _decade_less_equal _decade_less Formatter _DummyAxis process_figure_for_rasterizing adjust_bbox auto_adjust_subplotpars get_tight_layout_figure get_subplotspec_list get_renderer Transform offset_copy IdentityTransform composite_transform_factory BboxTransformFrom Bbox TransformedPatchPath BlendedAffine2D interval_contains CompositeAffine2D ScaledTranslation blended_transform_factory CompositeGenericTransform BboxTransformToMaxOnly nonsingular TransformedPath TransformNode TransformWrapper BboxBase BlendedGenericTransform BboxTransformTo _make_str_method TransformedBbox AffineBase LockableBbox Affine2DBase interval_contains_open AffineDeltaTransform _BlendedMixin _interval_contains_close Affine2D BboxTransform Type1Font ConversionInterface ConversionError _is_natively_supported AxisInfo Registry DecimalConverter SpanSelector EllipseSelector LassoSelector Slider AxesWidget RadioButtons SubplotTool TextBox LockDraw ToolHandles _SelectorWidget Lasso Widget RectangleSelector PolygonSelector Button CheckButtons Cursor MultiCursor _g30 _g33 _g7 _g0 _g17 _g14 _g19 _g3 _g20 _g32 _g21 _g12 _gist_heat_blue _g1 _g2 _ch_helper _g34 _g36 _g10 _flag_red _g25 _g11 _g24 _g18 _gist_yarg _g9 _g13 cubehelix _g31 _g29 _prism_green _g4 _g8 _gist_heat_green _prism_red _flag_blue _g16 _g35 _gist_heat_red _prism_blue _g27 _g23 _g28 _g22 _g6 _g26 _flag_green _g5 _g15 _getmaxminrowcolumn _make_layout_margins _align_spines _axes_all_finite_sized _spans_overlap layoutcolorbargridspec _make_ghost_gridspec_slots layoutcolorbarsingle do_constrained_layout _arrange_subplotspecs graphviz_dump_transform align match_width_margins nonechildren match_margins plot_children vstackeq vstack print_children nonetree match_left_margins match_right_margins LayoutBox match_heights match_bottom_margins match_top_margins seq_id hstackeq get_renderer hpack hstack print_tree match_height_margins vpack match_widths Gcf layout get_versions get_configdir _open_file_or_url rc_params_from_file _preprocess_data get_data_path get_cachedir rc_file_defaults matplotlib_fname use is_interactive _get_executable_info rc_params _get_xdg_config_dir _get_config_or_cache_dir checkdep_ps_distiller _get_xdg_cache_dir checkdep_usetex _rc_params_in_file ExecutableNotFoundError _check_versions rc_context test RcParams get_backend rcdefaults _init_tests get_home _logged_cached set_loglevel _label_from_arg interactive _replacer _add_data_doc _get_ssl_context _get_data_path rc rc_file compare_versions _ensure_handler is_url Axes _make_inset_locator _process_plot_var_args _process_plot_format _AxesBase _axis_method_wrapper SecondaryAxis _make_secondary_locator subplot_class_factory _picklable_subplot_class_constructor SubplotBase get_hinting_flag RendererAgg FigureCanvasAgg _BackendAgg RendererCairo _to_context FigureCanvasCairo _cairo_font_args_from_font_prop _BackendCairo _CairoRegion GraphicsContextCairo _append_path _BackendGTK3 ToolbarGTK3 NavigationToolbar2GTK3 FigureCanvasGTK3 HelpGTK3 StatusbarGTK3 error_msg_gtk TimerGTK3 ConfigureSubplotsGTK3 RubberbandGTK3 SetCursorGTK3 ToolCopyToClipboardGTK3 SaveFigureGTK3 FigureManagerGTK3 FigureCanvasGTK3Agg FigureManagerGTK3Agg _BackendGTK3Cairo FigureCanvasGTK3Cairo _BackendGTK3Cairo RendererGTK3Cairo _BackendMac FigureCanvasMac FigureManagerMac TimerMac NavigationToolbar2Mac MixedModeRenderer FigureManagerNbAgg _BackendNbAgg FigureCanvasNbAgg CommSocket connection_info NavigationIPy _BackendPdf FigureCanvasPdf Reference _string_escape Name Operator GraphicsContextPdf _paint_path Stream _datetime_to_pdf pdfRepr _create_pdf_info_dict Verbatim RendererPdf fill PdfPages PdfFile _font_properties_str make_pdf_to_png_converter LatexManager get_fontspec GraphicsContextPgf FigureCanvasPgf _BackendPgf repl_mathdefault RendererPgf repl_escapetext PdfPages common_texification _metadata_to_str TmpDirCleaner _cleanup_all _get_image_inclusion_command LatexError get_preamble writeln _num_to_str _nums_to_str PsBackendHelper _is_transparent get_bbox_header _move_path_to_path_or_stream RendererPS _get_papertype FigureCanvasPS GraphicsContextPS convert_psfrags quote_ps_string _Orientation _BackendPS xpdf_distill pstoeps gs_distill _try_distill _BackendQT4 _BackendQT4Agg _BackendQT4Cairo HelpQt SubplotToolQt SaveFigureQt FigureCanvasQT RubberbandQt SetCursorQt NavigationToolbar2QT ToolCopyToClipboardQT _allow_super_init ConfigureSubplotsQt FigureManagerQT _create_qApp StatusbarQt ToolbarQt TimerQT _BackendQT5 MainWindow _BackendQT5Agg FigureCanvasQTAgg FigureCanvasQTCairo _BackendQT5Cairo escape_cdata RendererSVG generate_transform escape_attrib XMLWriter escape_comment FigureCanvasSVG _BackendSVG generate_css short_float_fmt show GraphicsContextTemplate FigureCanvasTemplate new_figure_manager RendererTemplate new_figure_manager_given_figure FigureManagerTemplate draw_if_interactive _BackendTkAgg FigureCanvasTkAgg FigureCanvasTkCairo _BackendTkCairo ipython_inline_display _BackendWebAgg WebAggApplication FigureCanvasWebAgg ServerThread FigureCanvasWebAggCore _handle_key NavigationToolbar2WebAgg TimerTornado _BackendWebAggCoreAgg FigureManagerWebAgg FigureManagerWx error_msg_wx DEBUG_MSG ConfigureSubplotsWx _HelpDialog _set_frame_icon GraphicsContextWx HelpWx RendererWx SaveFigureWx TimerWx ToolbarWx _load_bitmap NavigationToolbar2Wx StatusbarWx _BackendWx ToolCopyToClipboardWx FigureCanvasWx FigureFrameWx SetCursorWx StatusBarWx _FigureCanvasWxBase RubberbandWx _convert_agg_to_wx_bitmap FigureFrameWxAgg _BackendWxAgg FigureCanvasWxAgg _BackendWxCairo FigureFrameWxCairo FigureCanvasWxCairo _setDevicePixelRatioF _setup_pyqt4 _devicePixelRatioF _setup_pyqt5 CharacterTracker RendererPDFPSBase _cached_get_afm_from_fname TimerTk FigureCanvasTk SetCursorTk _BackendTk ToolbarTk ToolTip HelpTk SaveFigureTk blit NavigationToolbar2Tk FigureManagerTk StatusbarTk ConfigureSubplotsTk RubberbandTk figure_edit to_qcolor create_datagroup_example fedit FormWidget FormDialog apply_test FormTabWidget FormComboWidget FontLayout is_edit_valid ColorButton create_datalist_example tuple_to_qfont qfont_to_tuple ColorLayout font_is_installed UiSubplotTool _rename_parameter _deprecate_privatize_attribute _make_keyword_only MatplotlibDeprecationWarning warn_deprecated _deprecate_method_override deprecated _suppress_matplotlib_deprecation_warning _generate_deprecation_warning _delete_parameter _deprecated_parameter_class local_over_kwdict is_scalar_or_string boxplot_stats IgnoredKeywordWarning _reshape_2D _check_shape silent_list _array_perimeter open_file_cm flatten _unmultiplied_rgba8888_to_premultiplied_argb32 _check_isinstance _check_getitem simple_linear_interpolation _lock_path _str_lower_equal _check_1d CallbackRegistry _pformat_subprocess _combine_masks to_filehandle _str_equal _setattr_cm _check_in_list index_of maxdict safe_first_element delete_masked_points _backend_module_name _warn_external _OrderedSet print_cycles normalize_kwargs get_sample_data _to_unmasked_float_array _premultiplied_argb32_to_unmultiplied_rgba8888 Stack safe_masked_invalid file_requires_unicode _array_patch_perimeters _local_over_kwdict pts_to_midstep _topmost_artist _unfold _StrongRef contiguous_regions get_realpath_and_stat report_memory is_writable_file_like Grouper is_math_text violin_stats _get_data_path _define_aliases _classproperty strip_math sanitize_sequence _check_and_log_subprocess _get_running_interactive_framework _exception_printer pts_to_prestep pts_to_poststep MollweideAxes LambertAxes AitoffAxes _GeoTransform GeoAxes HammerAxes ThetaLocator _is_full_circle_rad _ThetaShift PolarAxes RadialLocator InvertedPolarTransform PolarTransform RadialTick RadialAxis _is_full_circle_deg ThetaFormatter ThetaAxis _AxisWrapper _WedgeBbox PolarAffine ThetaTick ProjectionRegistry register_projection get_projection_class latex2png MathDirective latex2html latex_math setup math_role fontset_choice get_plot_formats setup out_of_date PlotDirective unescape_doctest _option_context _option_align run_code clear_state ImageFile split_code_at_show run mark_plot_labels _option_format PlotError _option_boolean contains_doctest render_figures context load_base_library _apply_style is_style_file use update_user_library iter_user_libraries _remove_blacklisted_style_params update_nested_dict iter_style_files reload_library read_style_directory _SVGConverter _Converter compare_images save_diff_image make_external_conversion_command convert crop_to_same comparable_formats calculate_rms _shlex_quote_bytes get_cache_dir _GSConverter _update_converter _ConverterError get_file_hash make_test_filename pytest_unconfigure mpl_test_settings pd pytest_configure mpl_image_comparison_parameters CleanupTestCase check_figures_equal _mark_skip_if_format_is_uncomparable cleanup _raise_on_image_difference _skip_if_format_is_uncomparable image_comparison _ImageComparisonBase remove_ticks_and_titles _checked_on_freetype_version _image_directories _pytest_image_comparison _cleanup_cm check_freetype_version turn_off_internet no_internet turn_on_internet check_internet_off ImageComparisonFailure get_ax do_event set_reproducibility_for_testing is_called_from_pytest setup set_font_settings_for_testing Duration Epoch EpochConverter StrConverter UnitDbl UnitDblConverter rad_fn UnitDblFormatter register test_font_manager_weight_normalization test_parse_header test_bad_afm test_malformed_header test_nonascii_str test_get_familyname_guessed test_parse_char_metrics test_jpeg_dpi test_pil_kwargs_tiff test_agg_filter test_long_path test_too_large_image test_large_single_path_collection test_chunksize test_repeated_save_with_alpha test_pil_kwargs_png test_marker_with_nan test_agg_filter_alpha NullMovieWriter RegisteredNullMovieWriter test_null_movie_writer test_cleanup_temporaries test_movie_writer_registry make_animation test_funcanimation_cache_frame_data test_movie_writer_dpi_default test_no_length_frames test_embed_limit test_save_animation_smoketest test_failing_ffmpeg draw_arrow test_boxarrow test_fancyarrow_dpi_cor_100dpi test_fancyarrow_dpi_cor_200dpi test_fancyarrow_dash test_connection_styles test_fancyarrow test_arrow_styles test_invalid_intersection __prepare_fancyarrow_dpi_cor_test test_collection_transform_of_none test_setp test_properties test_remove test_artist_inspector_get_aliases test_patch_transform_of_none test_cull_markers test_clipping test_None_zorder test_default_edges test_hatching test_artist_inspector_get_valid_values test_bxp_bad_widths test_pcolormesh test_bxp_no_flier_stats test_errobar_nonefmt test_inset test_title_xticks_top_both test_boxplot_bad_medians test_boxplot_zorder test_label_loc_vertical test_fill_units test_auto_numticks_log test_broken_barh_timedelta test_hist_labels test_rcparam_grid_minor test_pie_get_negative_values test_stackplot_baseline test_vert_violinplot_baseline test_pie_center_radius test_adjust_numtick_aspect test_bar_timedelta test_nodecorator test_markevery_log_scales test_eventplot_legend test_bar_broadcast_args test_axes_tick_params_xlabelside test_hist_stepfilled_bottom_geometry test_bxp_custommedian test_vlines test_pandas_bar_align_center test_autoscale_tiny_range test_symlog2 test_secondary_formatter test_auto_numticks test_minorticks_on_rcParams_both test_pcolorargs_5205 test_errorbar_shape test_rgba_markers test_set_margin_updates_limits test_violinplot_pandas_series test_single_date test_eventplot_colors test_ytickcolor_is_not_markercolor test_acorr test_annotate_across_transforms test_lines_with_colors _params test_shared_scale test_subplot_key_hash test_normalize_kwarg_pie test_remove_shared_axes test_bxp_patchartist test_pcolordropdata test_pandas_pcolormesh test_pcolormesh_datetime_axis test_bxp_customwhisker test_boxplot_mod_artist_after_plotting test_arrow_in_view test_shaped_data test_hist_datetime_datasets_bins test_loglog_nonpos test_structured_data test_limits_empty_data test_bbox_aspect_axes_init test_psd_csd test_spy test_hist_stacked_stepfilled_geometry test_set_position test_minor_accountedfor test_vert_violinplot_showextrema test_sticky_shared_axes test_label_loc_rc test_unautoscaley test_boxplot test_bar_color_cycle test_hist_with_empty_input test_hist2d_density test_manage_xticks test_mollweide_forward_inverse_closure test_hist_step_empty test_violinplot_bad_quantiles test_rc_grid shared_axis_remover test_none_kwargs test_scatter_series_non_zero_index test_title_xticks_top test_hist_stacked_stepfilled_bottom_geometry test_hist_log_2 test_loglog test_color_length_mismatch test_bar_tick_label_single test_spines_properbbox_after_zoom test_horiz_violinplot_showmeans test_pcolor_datetime_axis test_twin_axis_locators_formatters test_rc_spines test_pie_nolabel_but_legend test_title_pad test_log_scales_invalid test_pie_linewidth_0 test_fill_between_input test_mollweide_grid test_autoscale_tight test_pandas_errorbar_indexing test_hlines test_hist_stacked_step_geometry test_titletwiny test_hist_step_bottom test_normal_axes test_secondary_fail test_vline_limit test_violinplot_single_list_quantiles test_imshow_clip test_axisbelow _bxp_test_helper test_set_get_ticklabels color_boxes test_polar_interpolation_steps_variable_r test_bxp_custompatchartist test_secondary_xy test_markevery_polar test_hist_datetime_datasets test_twinx_axis_scales test_shared_with_aspect_2 test_hist_unequal_bins_density test_bar_tick_label_multiple test_twin_spines_on_top test_pcolornearest test_bxp_customcap test_bar_decimal_center test_markevery test_hist_stepfilled_geometry test_bxp_nocaps test_mollweide_inverse_forward_closure test_bxp_customoutlier test_alpha test_bar_pandas_indexed test_dash_offset test_zoom_inset test_pie_default test_eventplot_problem_kwargs test_nonfinite_limits test_specgram_magnitude test_bar_edgecolor_none_alpha test_remove_shared_axes_relim test_xtickcolor_is_not_markercolor test_hexbin_log test_hist_stacked_step test_bxp_custombox test_hist_log_barstacked test_axis_extent_arg test_markerfacecolor_none_alpha test_bar_color_none_alpha test_pandas_minimal_plot test_title_location_roundtrip test_horiz_violinplot_showextrema test_twin_spines test_formatter_ticker test_unautoscalex test_bxp_customwidths test_get_labels test_specgram_fs_none test_bxp_showmeanasline test_matshow test_bxp_percentilewhis test_date_timezone_x test_autoscale_tiny_sticky test_boxplot_bad_ci test_hexbin_empty test_numerical_hist_label test_hist_step_geometry test_hist_offset test_eventplot_defaults generate_errorbar_inputs test_shared_axes_autoscale test_color_None test_titlesetpos test_twinx_cla test_empty_ticks_fixed_loc test_color_alias test_vlines_default test_indicate_inset_inverted test_inverted_limits test_unicode_hist_label test_mixed_collection test_subsampled_ticklabels test_barh_tick_label test_move_offsetlabel test_text_labelsize test_pandas_index_shape test_scatter_empty_data test_marker_styles test_arrow_empty test_pie_linewidth_2 test_rc_tick test_hist_stacked_stepfilled_alpha test_bxp_nobox test_bar_tick_label_multiple_old_alignment test_boxplot_autorange_whiskers test_date_timezone_x_and_y test_pcolorargs test_twin_with_aspect test_contour_hatching test_nan_bar_values test_hist_emptydata test_boxplot_sym2 test_marker_edges test_axhspan_epoch test_pathological_hexbin test_parse_scatter_color_args test_eventplot_orientation test_bxp_shownotches test_normalize_kwarg_warn_pie test_broken_barh_empty test_fill_betweenx_input test_imshow test_single_point test_tick_param_label_rotation test_twin_inherit_autoscale_setting test_bar_decimal_width test_eb_line_zorder test_tick_label_update test_fill_between_interpolate_decreasing test_pandas_indexing_dates test_hist_stacked_step_bottom_geometry test_stem test_bxp_horizontal test_boxplot_dates_pandas test_bxp_with_xlabels test_axes_tick_params_ylabelside test_fill_between_interpolate test_hist_step_filled test_parse_scatter_color_args_edgecolors test_violinplot_bad_widths test_pyplot_axes test_barh_decimal_height test_use_sticky_edges test_bxp_baseline test_vert_violinplot_custompoints_10 test_set_ticks_inverted test_hist2d_transpose test_boxplot_sym test_arc_ellipse test_bar_ticklabel_fail test_large_offset test_hist_range_and_density test_log_scales_no_data test_shared_bool test_vertex_markers test_stem_dates test_hexbin_extent test_axis_bool_arguments test_errorbar_cycle_ecolor test_axline test_bxp_showcustommean test_bxp_custompositions test_tick_space_size_0 test_pandas_indexing_hist test_symlog TestScatter test_mismatched_ticklabels test_fillbetween_cycle test_label_loc_horizontal test_boxplot_marker_behavior test_axes_tick_params_gridlines test_horiz_violinplot_baseline test_square_plot test_empty_errorbar_legend test_zero_linewidth test_spectrum test_hist_density test_vert_violinplot_custompoints_200 test_bar_errbar_zorder test_bxp_bad_positions test_secondary_minorloc test_axline_args test_aitoff_proj test_tickdirs test_log_scales test_displaced_spine test_margins test_contour_colorbar test_axvspan_epoch test_secondary_resize test_inverted_cla test_vert_violinplot_showall test_hist_nan_data test_strmethodformatter_auto_formatter test_markevery_line test_bxp_with_ylabels test_pie_rotatelabels_true test_tick_padding_tightbbox test_pcolorauto test_errorbar_inputs_shotgun test_horiz_violinplot_showmedians test_markers_fillstyle_rcparams test_datetime_masked test_transparent_markers test_parse_scatter_color_args_error test_pcolorfast test_o_marker_path_snap test_specgram test_annotate_parameter_warn test_hist_bar_empty test_stem_args test_boxplot_no_weird_whisker test_hist_zorder test_bxp_showmean test_invisible_axes test_bar_uint8 test_bxp_scalarwidth test_hist_step_horiz test_horiz_violinplot_custompoints_10 test_length_one_hist test_arc_angles test_aspect_nonlinear_adjustable_box test_horiz_violinplot_custompoints_200 test_polycollection_joinstyle test_pcolormesh_alpha test_basic_annotate _rc_test_bxp_helper test_pie_ccw_true test_twin_logscale test_stackplot test_relim_visible_only test_autoscale_log_shared contour_dat test_relative_ticklabel_sizes test_vert_violinplot_showmeans test_eventplot test_boxplot_rc_parameters test_vert_violinplot_showmedians test_hist_stacked_density test_violinplot_outofrange_quantiles test_hlines_default test_as_mpl_axes_api test_bxp_rangewhis test_hist_stacked_stepfilled test_annotate_default_arrow test_errorbar_with_prop_cycle test_hist_stacked_weighted test_twinx_knows_limits test_arrow_simple test_pie_frame_grid test_errorbar_colorcycle test_boxplot_with_CIarray test_hist_step test_quiver_units test_imshow_norm_vminvmax test_barb_units test_errorbar_offsets test_box_aspect_custom_position test_hist_log test_violin_point_mass test_spy_invalid_kwargs test_rc_major_minor_tick test_ls_ds_conflict shared_axes_generator test_gettightbbox_ignoreNaN test_invalid_axis_limits test_empty_eventplot test_canonical test_boxplot_not_single test_step_linestyle test_pie_textprops test_barh_decimal_center test_retain_tick_visibility test_hist_step_bottom_geometry test_errorbar test_hexbin_pickable test_box_aspect test_errorbar_limits test_hist_auto_bins test_hist_stacked_bar test_horiz_violinplot_showall test_shared_with_aspect_3 test_violinplot_bad_positions test_markevery_linear_scales_zoomed test_aspect_nonlinear_adjustable_datalim test_plot_decimal test_axis_set_tick_params_labelsize_labelcolor test_offset_text_visible test_minorticks_on test_specgram_angle test_bad_plot_args test_bar_pandas test_date_timezone_y test_log_margins test_hist2d test_empty_shared_subplots test_markevery_linear_scales test_offset_label_color test_shared_with_aspect_1 test_axes_margins test_cartopy_backcompat test_funcformatter_auto_formatter test_title_no_move_off_page _get_testable_interactive_backends test_webagg test_lazy_linux_headless test_interactive_backend test_interactive_zoom test_uses_per_path test_get_default_filename test_canvas_change test_non_gui_warning test_location_event_position test_patch_alpha_coloring test_ipynb test_multipage_properfinalize test_pdfpages_fspath test_pdf_eps_savefig_when_color_is_none test_type42 test_hatching_legend test_missing_psfont test_failing_latex test_savefig_metadata test_empty_rasterized test_grayscale_alpha test_multipage_keep_empty test_multipage_metadata test_multipage_pagecount test_composite_image test_use14corefonts compare_figure test_pdf_pages_metadata_check test_pdf_pages check_for test_bbox_inches test_pdflatex test_mixedmode test_bbox_inches_tight test_rcupdate test_pathclip test_tex_restart_after_error create_figure _has_sfmath test_common_texification test_xelatex test_partial_usetex test_failing_latex test_savefig_to_stringio test_transparency test_tilde_in_tempfilename test_patheffects test_svg_clear_all_metadata test_gid test_url_tick test_noscale test_missing_psfont test_savefig_tight test_bold_font_output_with_none_fonttype test_visibility test_svgnone_with_data_coordinates test_svg_clear_default_metadata test_svg_metadata test_bold_font_output test_svg_default_metadata test_unicode_won test_fill_black_with_alpha test_text_urls test_url test_missing_back_button test_blit test_format_shortcut test_webagg_fallback test_override_builtins test_lazy_imports test_simple test_bbox_inches_tight_raster test_only_on_non_finite_bbox test_bbox_inches_tight_clipping test_bbox_inches_tight test_tight_pcolorfast test_bbox_inches_tight_suptile_legend test_noop_tight_bbox axis_test ax TestPlotBytes TestStrCategoryLocator FakeAxis TestUnitData TestStrCategoryConverter TestStrCategoryFormatter test_hist TestPlotNumlike TestPlotTypes test_step_fails test_grouper_private test_normalize_kwargs_pass test_reshape2d test_safe_first_element_pandas_series test_callbackregistry_custom_exception_handler test_to_midstep_empty test_delete_parameter raising_cb_reg Test_delete_masked_points test_check_shape Test_callback_registry test_warn_external_frame_embedded_python test_make_keyword_only test_to_prestep test_to_midstep test_reshape2d_pandas test_grouper test_sanitize_sequence Test_boxplot_stats test_contiguous_regions test_flatiter test_to_poststep test_warn_external test_array_patch_perimeters test_setattr_cm test_normalize_kwargs_fail test_callbackregistry_default_exception_handler test_to_poststep_empty test_to_prestep_empty test_blended_collection_autolim test__EventCollection__set_positions check_segments test_regularpolycollection_scale test_cap_and_joinstyle_image test_capstyle test__EventCollection__set_linelength generate_EventCollection_plot test_collection_set_verts_array test__EventCollection__set_prop test__EventCollection__switch_orientation_2x test_quiver_limits test__EventCollection__set_color test_lslw_bcast test_scatter_post_alpha test_add_collection test_pathcollection_legend_elements test__EventCollection__switch_orientation test_picking test_EventCollection_nosort test_barb_limits test_joinstyle test_size_in_xy test__EventCollection__append_positions test_linestyle_single_dashes test_EllipseCollection test_pandas_indexing test_regularpolycollection_rotate test_singleton_autolim test__EventCollection__set_orientation test_polycollection_close test_quadmesh_set_array test__EventCollection__get_props test__EventCollection__set_lineoffset test_null_collection_datalim test__EventCollection__extend_positions test__EventCollection__add_positions test_colorbar_get_ticks test_colorbarbase test_colorbar_extension_length test_colorbar_scale_reset test_colorbar_powernorm_extension test_colorbar_label test_colorbar_extension_shape test_colorbar_closed_patch test_remove_from_figure test_mappable_no_alpha test_colorbar_inverted_ticks test_colorbar_positioning test_extend_colorbar_customnorm test_gridspec_make_colorbar _get_cmap_norms test_cbar_minorticks_for_rc_xyminortickvisible _colorbar_extension_length test_colorbar_log_minortick_labels test_colorbar_int test_colorbar_ticks test_colorbar_minorticks_on_off test_colorbar_autoticks test_colorbar_single_scatter test_colorbar_renorm test_colorbar_lognorm_extension test_colorbar_format test_colorbar_get_ticks_2 _colorbar_extension_shape test_colorbar_autotickslog test_colorbar_axes_kw test_create_lookup_table test_light_source_planar_hillshading test_light_source_shading_default test_TwoSlopeNorm_VcenterGTVmax test_color_names test_colormap_reversing test_TwoSlopeNorm_autoscale test_TwoSlopeNorm_Odd test_DivergingNorm_deprecated test_cmap_and_norm_from_levels_and_colors2 test_boundarynorm_and_colorbarbase test_colormap_copy test_light_source_topo_surface test_pandas_iterable test_LogNorm test_PowerNorm_translation_invariance test_TwoSlopeNorm_autoscale_None_vmin test_BoundaryNorm test_TwoSlopeNorm_autoscale_None_vmax test_colormap_global_set_warn test_cmap_and_norm_from_levels_and_colors test_failed_conversions _inverse_tester test_cn test_TwoSlopeNorm_premature_scaling test_hex_shorthand_notation test_colormap_dict_deprecate test_resample test_register_cmap _mask_tester test_conversions_masked test_TwoSlopeNorm_VminGTVcenter test_Normalize test_SymLogNorm_single_zero test_to_rgba_array_single_str test_grey_gray test_TwoSlopeNorm_Even test_light_source_shading_empty_mask test_colormap_return_types test_TwoSlopeNorm_VminEqualsVcenter test_TwoSlopeNorm_scaleout_center_max _scalar_tester _azimuth2math test_ndarray_subclass_norm test_colormap_invalid test_PowerNorm test_TwoSlopeNorm_TwoSlopeNorm_VminGTVmax test_light_source_hillshading test_lognorm_invalid _sph2cart test_SymLogNorm_colorbar test_SymLogNorm test_tableau_order test_same_color test_TwoSlopeNorm_scale test_conversions test_TwoSlopeNorm_VmaxEqualsVcenter test_autoscale_masked test_rgb_hsv_round_trip test_TwoSlopeNorm_scaleout_center test_colormap_endian test_light_source_masked_shading test_image_comparison_expect_rms test_constrained_layout6 test_constrained_layout10 test_constrained_layout23 test_constrained_layout14 test_constrained_layout19 test_constrained_layout9 test_constrained_layout11rat example_plot test_constrained_layout20 test_constrained_layout12 test_constrained_layout22 test_constrained_layout1 test_constrained_layout21 test_constrained_layout18 test_constrained_layout17 test_constrained_layout4 test_constrained_layout8 test_constrained_layout2 test_constrained_layout11 test_constrained_layout15 test_hidden_axes test_constrained_layout16 test_constrained_layout13 test_colorbar_location example_pcolor test_constrained_layout7 test_constrained_layout3 test_constrained_layout5 test_stem_remove test_errorbar_remove test_contour_linewidth test_contour_manual_labels test_contour_uneven test_contour_empty_levels test_given_colors_levels_and_extends test_contourf_symmetric_locator test_contourf_decreasing_levels test_labels test_internal_cpp_api test_contour_uniform_z test_contour_badlevel_fmt test_clabel_zorder test_contour_shape_error test_contour_labels_size_color test_contourf_log_extension test_circular_contour_warning test_internal_cpp_api_2 test_contour_Nlevels test_contour_shape_1d_valid test_contour_datetime_axis test_contour_shape_2d_valid test_corner_mask test_contour_addlines test_property_collision_fill test_cycle_reset test_linestylecycle_basic test_marker_cycle_kwargs_arrays_iterators test_fillcycle_basic test_marker_cycle test_property_collision_plot test_valid_input_forms test_fillcycle_ignore test_colorcycle_basic test_invalid_input_forms _new_epoch_decorator test_RRuleLocator test_auto_date_locator_intmult_tz test_date_empty test_yearlocator_pytz test_num2timedelta test_drange test_RRuleLocator_dayrange test_too_many_date_ticks test_concise_formatter test_concise_formatter_zformats test_date_date2num_numpy _test_date2num_dst test_rrulewrapper_pytz test_date2num_NaT test_date2num_dst test_date_axhspan test_date2num_NaT_scalar test_date_axhline test_rrulewrapper test_date_axvline test_concise_formatter_tz _test_rrulewrapper test_tz_utc test_locator_set_formatter test_date_formatter_callable test_concise_formatter_formats test_DayLocator test_epoch2num test_DateFormatter test_date_inverted_limit test_auto_date_locator test_auto_date_locator_intmult test_change_epoch test_date_numpyx test_julian2num test_datetime64_in_list test_date_axvspan test_date2num_dst_pandas test_dviread test_PsfontsMap test_removed_axis test_figaspect test_animated_with_canvas_change test_picking_does_not_stale test_fspath test_change_dpi test_invalid_figure_add_axes test_add_subplot_twotuple test_figure test_axes_removal test_tightbbox_box_aspect test_add_subplot_invalid test_savefig_backend test_autofmt_xdate test_suptitle test_subplots_shareax_loglabels test_warn_cl_plus_tl test_invalid_figure_size test_too_many_figures test_tightbbox TestSubplotMosaic test_suptitle_fontproperties test_iterability_axes_argument test_clf_keyword test_figure_repr test_figure_legend test_set_fig_size test_figure_label test_savefig test_add_artist test_align_labels test_alpha test_axes_remove test_savefig_warns test_gca test_fignum_exists test_fontconfig_str test_fontconfig_pattern test_get_fontconfig_fonts test_find_invalid _model_handler test_hinting_factor test_utf16m_sfnt test_find_ttc test_user_fonts_win32 test_otf test_user_fonts_linux test_font_priority test_fork test_json_serialization test_score_weight test_repr test_width_ratios test_height_ratios test_equal test_load_from_url test_composite test_image_python_io test_zoom_and_clip_upper_origin test_log_scale_image test_image_preserve_size2 test_figimage test_imshow_endianess test_image_cliprect test_imshow_clips_rgb_to_valid_range test_imsave_pil_kwargs_tiff test_relim test_no_interpolation_origin test_setdata_xya test_https_imread_smoketest test_image_shift test_image_clip test_cursor_data test_rasterize_dpi test_imshow_bignumbers_real test_image_alpha test_imshow_bool test_imsave_fspath test_image_cursor_formatting test_huge_range_log test_rotate_image test_exact_vmin test_imread_fspath test_imshow test_image_edges test_imshow_10_10_1 test_image_preserve_size test_image_composite_background test_imsave_color_alpha test_alpha_interp test_axesimage_setdata test_jpeg_2d test_mask_image_over_under test_imshow_bignumbers test_imshow_pil test_empty_imshow test_imread_pil_uint16 test_unclipped test_imshow_masked_interpolation test_nonuniformimage_setcmap test_imshow_10_10_2 test_get_window_extent_for_AxisImage test_imshow_zoom test_figureimage_setdata test_imshow_10_10_5 test_image_interps test_full_invalid test_respects_bbox test_imshow_float128 test_nonuniformimage_setnorm test_mask_image test_interp_nearest_vs_none test_bbox_image_inverted test_imshow_flatfield test_imsave test_imsave_pil_kwargs_png test_format_cursor_data test_image_composite_alpha test_imshow_no_warn_invalid test_image_array_alpha test_minimized_rasterized test_imshow_antialiased test_jpeg_alpha TestLegendFunction test_labels_first test_warn_big_data_best_loc test_not_covering_scatter_transform test_rc test_empty_bar_chart_with_legend test_legend_labelcolor_markeredgecolor test_get_set_draggable test_handler_numpoints test_various_labels test_legend_auto1 test_legend_title_fontsize test_legend_labelcolor_single test_fancy test_alpha_rcparam test_legend_expand test_legend_stackplot test_cross_figure_patch_legend test_legend_repeatcheckok test_multiple_keys test_framealpha test_linecollection_scaled_dashes test_legend_title_empty test_legend_labelcolor_linecolor test_window_extent_cached_renderer test_alpha_rgba test_legend_auto2 test_legend_labelcolor_list test_not_covering_scatter test_nanscatter test_legend_labelcolor_markerfacecolor test_no_warn_big_data_when_loc_specified test_legend_auto3 TestLegendFigureFunction test_legend_proper_window_extent test_legend_ordereddict test_alpha_handles test_legend_remove test_shadow_framealpha test_hatching test_nan_is_sorted test_set_line_coll_dash test_lw_scaling test_linestyle_variants test_step_markers test_markerfacecolor_fillstyle test_marker_fill_styles test_line_colors test_line_dashes test_valid_linestyles test_drawstyle_variants test_invisible_Line_rendering test_markevery test_marker_as_markerstyle test_segment_hits test_odd_dashes test_valid_drawstyles test_set_drawstyle test_set_line_coll_dash_image test_markers_invalid test_marker_clipping test_poly_marker test_markers_valid test_asterisk_marker test_marker_path test_star_marker UnsnappedMarkerStyle test_mathfont_rendering baseline_images test_single_minus_sign test_mathtext_fallback_to_cm_invalid test_spaces test_mathtext_fallback test_fontinfo test_mathtext_fallback_valid test_mathtext_rendering test_mathtext_to_png test_mathtext_fallback_invalid test_math_to_image test_mathtext_exceptions test_use_doc_standard_backends test_tmpconfigdir_warning TestGaussianKDECustom TestSpectral test_cohere TestDetrend test_psd_oversampling TestGaussianKDEEvaluate TestGaussianKDE _stride_repeat TestStride TestWindow _apply_window test_psd_onesided_norm test_offsetbox_clipping test_get_packed_offsets_expand test_get_packed_offsets_equal_total_none_sep_none test_offsetbox_clip_children test_offsetbox_loc_codes test_get_packed_offsets test_picking test_expand_with_tight_layout test_annotationbbox_extents test_get_packed_offsets_fixed test_get_packed_offsets_equal test_units_rectangle test_datetime_rectangle test_shadow test_contains_point test_patch_alpha_coloring test_multi_color_hatch test_patch_linestyle_accents test_wedge_range test_patch_custom_linestyle test_patch_alpha_override test_rotated_arcs test_clip_to_bbox test_degenerate_polygon test_large_arc test_datetime_datetime_fails test_wedge_movement test_connection_patch test_fancyarrow_units test_patch_str test_Polygon_close test_rotate_rect test_patch_color_none test_negative_rect test_contains_points test_connection_patch_fig test_nonlinear_containment test_point_in_path_nan test_full_arc test_path_clipping test_path_to_polygons test_disjoint_zero_length_segment test_path_deepcopy test_path_intersect_path test_exact_extents test_log_transform_with_zero test_intersect_zero_length_segment test_path_exceptions test_path_no_doubled_point_in_to_polygon test_readonly_path test_make_compound_path_stops test_xkcd_marker test_cleanup_closepoly test_marker_paths_pdf test_empty_closed_path test_nan_isolated_points test_contains_points_negative_radius test_point_in_path test_arrow_contains_point test_xkcd test_make_compound_path_empty test_patheffect2 test_collection test_patheffect1 test_PathEffect_points_to_pixels test_patheffect3 test_SimplePatchShadow_offset test_patheffects_stroked_text test_shared test_polar test_transform test_renderer test_unpickle_canvas test_simple test_rrulewrapper test_complete TransformBlob test_cmap test_no_pyplot test_image test_polar_invertedylim test_polar_gridlines test_polar_interpolation_steps_constant_r test_polar_rlabel_position test_polar_rlim test_polar_units_2 test_polar_interpolation_steps_variable_r test_polar_rlim_bottom test_polar_rmin test_polar_theta_limits test_get_tightbbox_polar test_polar_coord_annotations test_polar_not_datalim_adjustable test_polar_twice test_polar_no_data test_thetalim_valid_invalid test_polar_units_1 test_polar_alignment test_polar_wrap test_polar_rorigin test_polar_invertedylim_rorigin test_polar_annotations test_polar_rlim_zero test_polar_theta_position test_polar_negative_rmin test_more_args_than_pos_parameter test_function_call_with_dict_data plot_func test_no_label_replacements test_function_call_with_dict_input test_function_call_replace_all test_function_call_without_data test_docstring_addition test_function_call_with_pandas_data test_compiletime_checks TestPlotTypes test_function_call_with_dict_data_not_in_data test_copy_docstring_and_deprecators test_pyplot_up_to_date test_nrows_error test_pyplot_box test_stackplot_smoke test_no_warnings test_zero_headlength test_angles_and_scale test_quiver_xy test_quiver_key_memory_leak test_quiver_key_pivot test_barbs_flip test_quiver_arg_sizes test_quiver_with_key draw_quiver test_quiver_number_of_args test_quiver_setuvc_numbers test_quiver_memory_leak test_bad_masked_sizes test_quiver_single test_quiver_animate test_quiverkey_angles test_quiver_copy test_quiver_key_xy test_barbs_pivot test_barbs test_Issue_1713 generate_validator_testcases test_RcParams_class test_mec_rcparams test_rcparams_reset_after_fail test_validate_fontweight test_backend_fallback_headless test_rcparams test_axes_titlecolor_rcparams test_Bug_2543 test_mfc_rcparams test_validator_invalid test_rcparams_update test_keymaps test_legend_colors test_validator_valid test_backend_fallback_headful test_rcparams_init test_label test_sankey test_function_scale test_log_scatter test_logscale_mask test_log_scales test_symlog_mask_nan test_logscale_nonpos_values test_invalid_log_lims test_logscale_invert_transform test_logit_scales test_logscale_subs test_logscale_transform_repr test_extra_kwargs_raise_or_warn test_overflow test_hatch test_start_with_moveto test_simplify_curve test_diamond test_fft_peaks test_sine_plus_noise test_angled_antiparallel test_clipping_with_nans test_clipping_full test_clipping test_throw_rendering_complexity_exceeded test_para_equal_perp test_clipper test_noise test_antiparallel_simplification SkewXTick SkewXAxis test_skew_rectangle SkewXAxes SkewSpine test_set_line_coll_dash_image test_tinypages test_spines_axes_positions test_spines_capstyle test_spines_data_positions test_label_without_ticks test_spine_nonlinear_data_positions test_linewidth test_masks_and_nans swirl_velocity_field velocity_field test_maxlength test_direction test_colormap test_startpoints test_streamplot_limits test_context_with_union_of_dict_and_namedstyle test_invalid_rc_warning_includes_filename test_context_with_badparam test_xkcd_cm test_context_with_dict_after_namedstyle test_available test_context_with_dict_before_namedstyle test_use_url test_single_path test_alias test_xkcd_no_cm test_use temp_style test_context test_context_with_dict test_shared check_shared test_label_outer_span test_exceptions test_get_gridspec test_dont_mutate_kwargs check_visible test_shared_and_moved test_subplots_offsettext test_zorder test_auto_column test_diff_cell_table test_non_square test_customcell test_label_colours test_table_cells test_warn_to_fail test_wrap_failure test_parametrize_with_check_figure_equal test_fontconfig_preamble test_get_rotation_string test_non_default_dpi test_long_word_wrap test_multiline2 test_annotation_units test_buffer_size test_fontproperties_kwarg_precedence test_text_size_binding test_afm_kerning test_annotation_negative_ax_coords test_get_rotation_none test_single_artist_usetex test_alignment test_text_as_text_opacity test_set_position test_annotation_negative_fig_coords test_contains test_wrap_no_wrap test_wrap test_multiline test_bbox_clipping test_font_scaling test_get_rotation_mod360 test_large_subscript_title test_font_styles test_get_rotation_raises test_text_repr test_hinting_factor_backends test_axes_titles test_agg_text_clip test_nonfinite_pos test_usetex_is_copied test_annotation_update test_annotation_contains test_text_stale test_antialiasing test_titles test_null_rotation_with_rotation_mode test_single_artist_usenotex test_text_as_path_opacity test_get_rotation_float test_two_2line_texts test_get_rotation_int TestMultipleLocator test_bad_locator_subs TestScalarFormatter TestFormatStrFormatter test_remove_overlap TestLogitLocator TestStrMethodFormatter TestLinearLocator test_minorticks_rc TestEngFormatter test_engformatter_usetex_useMathText TestLogFormatterMathtext TestFixedLocator TestMaxNLocator TestAutoMinorLocator _LogitHelper test_minformatter_type TestIndexLocator TestLogLocator TestIndexFormatter test_majlocator_type test_minlocator_type TestSymmetricalLogLocator FakeAxis TestLogFormatterExponent TestNullLocator TestLogFormatterSciNotation TestPercentFormatter TestLogFormatter TestLogitFormatter test_majformatter_type test_badsubplotgrid test_big_decorators_horizontal test_tight_layout_offsetboxes test_tight_layout3 example_plot test_collapsed test_big_decorators_vertical test_suptitle test_tight_layout8 test_tight_layout5 test_tight_layout6 test_tight_layout1 test_non_agg_renderer test_empty_layout test_tight_layout4 test_tight_layout9 test_outward_ticks test_tight_layout2 test_verybig_decorators test_tight_layout7 add_offsetboxes test_non_affine_caching test_Affine2D_from_values test_log_transform test_transform_single_point test_contour_pre_transform_limits test_transformed_path test_str_transform test_nan_overlap test_transform_angles test_lockable_bbox test_affine_inverted_invalidated test_bbox_intersection test_nonsingular TestBasicTransform test_transformed_patch_path NonAffineForTest test_pcolor_pre_transform_limits test_bbox_as_strings assert_bbox_eq test_external_transform_api test_pcolormesh_pre_transform_limits test_clipping_of_log test_invalid_arguments TestTransformPlotInterface test_pre_transform_plotting test_triinterpcubic_geom_weights test_tri_smooth_contouring test_triinterp_transformations test_trirefine_masked test_qhull_triangle_orientation test_qhull_large_offset test_no_modify test_delaunay_insufficient_points test_delaunay_points_in_line test_delaunay_duplicate_points test_internal_cpp_api test_triplot_return test_triinterpcubic_cg_solver test_trirefine test_trirefiner_fortran_contiguous_triangles test_tricontourf_decreasing_levels test_delaunay_robust test_delaunay test_tripcolor test_tritools test_trifinder meshgrid_triangles test_triinterp test_trianalyzer_mismatched_indices test_triinterpcubic_C1_continuity test_tricontour_non_finite_z test_triinterp_colinear test_tri_smooth_gradient test_truetype_conversion test_Type1Font test_empty_arrays test_numpy_facade test_plot_masked_units quantity_converter test_jpl_bar_units test_empty_set_limits_with_units test_jpl_barh_units Quantity test_subclass test_scatter_element0_masked test_empty test_usetex test_mathdefault test_minus_no_descent test_textcomp_full test_unicode_minus polygon_place_vertex test_slider_slidermin_slidermax_invalid check_span test_slider_valmin_valmax check_rectangle test_polygon_selector test_span_selector test_slider_horizontal_vertical test_slider_slidermin_slidermax test_lasso_selector test_rectangle_selector check_polygon_selector test_rectangle_handles check_lasso_selector test_check_bunch_of_radio_buttons test_ellipse test_CheckButtons test_check_radio_buttons_image test_fig_signals test_fig_close test_subplottool test_canvas_reinit test_correct_key test_double_resize test_figureoptions qt_core test_dpi_ratio_change test_determinism_check _save_figure test_determinism_source_date_epoch test_pngsuite test_truncated_buffer test_truncated_file Triangulation tricontour tricontourf TriContourSet TrapezoidMapTriFinder TriFinder CubicTriInterpolator _DOF_estimator_geom _DOF_estimator _cg _scalar_vectorized _extract_submatrices _prod_vectorized _transpose_vectorized _DOF_estimator_min_E _Sparse_Matrix_coo _safe_inv22_vectorized _ReducedHCT_Element _pseudo_inv22sym_vectorized _to_matrix_vectorized _DOF_estimator_user _roll_vectorized LinearTriInterpolator TriInterpolator tripcolor triplot UniformTriRefiner TriRefiner TriAnalyzer AnchoredAuxTransformBox AnchoredDirectionArrows AnchoredSizeBar AnchoredDrawingArea AnchoredEllipse VBoxDivider make_axes_locatable make_axes_area_auto_adjustable AxesDivider AxesLocator HBoxDivider Divider SubplotDivider CbarAxesBase CbarAxes _tick_only ImageGrid Grid RGBAxesBase make_rgb_axes imshow_rgb RGBAxes _Base AxesY Add AddList Fixed Padded AxesX Scaled MaxHeight Fraction from_any _get_axes_aspect GetExtentHelper SizeFromFunc MaxWidth MaxExtent Colorbar CbarAxesLocator colorbar ColorbarBase make_axes AnchoredLocatorBase inset_axes BboxPatch InsetPosition zoomed_inset_axes _add_inset_axes AnchoredSizeLocator AnchoredZoomLocator BboxConnector BboxConnectorPatch mark_inset SimpleAxisArtist Axes SimpleChainedObjects host_subplot_class_factory host_subplot ParasiteAxesBase parasite_axes_auxtrans_class_factory HostAxesBase parasite_axes_class_factory host_axes host_axes_class_factory ParasiteAxesAuxTransBase LocatorH LocatorBase LocatorHM LocatorHMS LocatorDMS ExtremeFinderCycle FormatterHMS LocatorDM FormatterDMS select_step24 select_step360 LocatorD select_step_sub select_step_degree select_step select_step_hour Grid ImageGrid CbarAxes RGBAxes GridHelperRectlinear GridHelperBase AxesZero AxisArtistHelperRectlinear Axes AxisArtistHelper _FancyAxislineStyle AxislineStyle AxisLabel BezierPath LabelBase AttributeCopier GridlinesCollection AxisArtist Ticks TickLabels clip clip_line_to_rect atan2 FloatingAxisArtistHelper FloatingAxesBase ExtremeFinderFixed FixedAxisArtistHelper GridHelperCurveLinear floatingaxes_class_factory FixedLocator MaxNLocator DictFormatter _deprecate_factor_none ExtremeFinderSimple GridFinderBase FormatterPrettyPrint GridFinder FixedAxisArtistHelper GridHelperCurveLinear FloatingAxisArtistHelper _norm_text_angle patch_collection_2d_to_3d PathPatch3D pathpatch_2d_to_3d Path3DCollection rotate_axes line_collection_2d_to_3d text_2d_to_3d _zalpha line_2d_to_3d Poly3DCollection patch_2d_to_3d _norm_angle Patch3D _path_to_3d_segment juggle_axes Text3D get_dir_vector _paths_to_3d_segments_with_codes _get_patch_verts _paths_to_3d_segments Line3D _path_to_3d_segment_with_codes poly_collection_2d_to_3d Line3DCollection Patch3DCollection _get_colors Axes3D unit_bbox get_test_data tick_update_position Axis YAxis XAxis move_from_center ZAxis world_transformation view_transformation _proj_transform_vec_clip proj_transform _vec_pad_ones _proj_transform_vec proj_transform_clip _line2d_seg_dist rot_x persp_transformation ortho_transformation inv_transform proj_trans_points proj_points test_imagegrid_cbar_mode_edge test_imagegrid test_divider_append_axes test_fill_facecolor test_twin_axes_empty_and_removed test_anchored_direction_arrows test_axesgrid_colorbar_log_smoketest test_zooming_with_inverted_axes test_inset_locator test_inset_axes_complete test_hbox_divider test_inset_axes test_picking_callbacks_overlap test_anchored_direction_arrows_many_args test_axes_class_tuple test_gettightbbox test_image_grid test_axes_locatable_position test_select_step test_select_step360 test_formatters test_select_step24 dms2float test_ParasiteAxesAuxTrans test_SubplotZero test_Axes test_Subplot test_axis_artist test_ticks test_labelbase test_ticklabels test_clip_path test_curvelinear4 test_subplot test_curvelinear3 test_pretty_print_format test_polar_box test_custom_transform test_axis_direction TestVoxels test_axes3d_ortho test_contourf3d_fill test_quiver3d test_quiver3D_smoke test_colorbar_pos test_marker_draw_order_data_reversed _test_proj_draw_axes test_marker_draw_order_view_rotated test_wireframe3dzerorstride test_lines3d test_quiver3d_empty test_proj_transform test_axes3d_rotated test_equal_box_aspect test_trisurf3d_shaded test_bar3d_colors test_rot test_aspect_equal_error test_scatter3d_sorting test_axes3d_cla test_mixedsubplots test_minor_ticks test_surface3d test_proj_axes_cube_ortho test_trisurf3d test_wireframe3d test_inverted test_scatter3d test_poly3dcollection_alpha test_wireframe3dzerocstride test_surface3d_shaded test_axes3d_labelpad test_lines_dists test_plotsurface_1d_raises test_inverted_cla test_mixedsamplesraises test_poly_collection_2d_to_3d_empty test_bar3d_shaded test_quiver3d_masked test_poly3dcollection_closed test_tight_layout_text test_bar3d test_contourf3d test_world test_plot_3d_from_2d test_proj_axes_cube test_autoscale test_ticklabel_format test_bar3d_notshaded test_contour3d test_text3d _test_proj_make_M test_wireframe3dzerostrideraises test_ax3d_tickcolour test_invalid_axes_limits test_scatter3d_color test_bar3d_lightsource test_tricontour test_line3d_set_get_data_3d test_plot_scalar get_include test_hash32_matches_mmh3 test_import pytest_addoption add_nx pytest_collection_modifyitems pytest_configure set_warnings from_dict_of_lists to_networkx_graph from_dict_of_dicts to_edgelist from_edgelist to_dict_of_lists to_dict_of_dicts _generate_weighted_edges _csc_gen_triples to_pandas_adjacency to_scipy_sparse_matrix _coo_gen_triples to_pandas_edgelist _csr_gen_triples from_scipy_sparse_matrix to_numpy_recarray from_pandas_edgelist from_numpy_array _dok_gen_triples from_numpy_matrix from_pandas_adjacency to_numpy_array to_numpy_matrix NetworkXUnbounded NetworkXAlgorithmError NetworkXError NetworkXNotImplemented NodeNotFound PowerIterationFailedConvergence AmbiguousSolution NetworkXNoPath NetworkXPointlessConcept NetworkXNoCycle NetworkXUnfeasible NetworkXException ExceededMaxIterations HasACycle convert_node_labels_to_integers relabel_nodes _relabel_copy _relabel_inplace get_info get_revision write_versionfile d_separated create_component_structure is_at_free find_asteroidal_triple edge_boundary node_boundary local_bridges has_bridges bridges chain_decomposition chordal_graph_cliques _is_complete_graph complete_to_chordal_graph _find_missing_edge _find_chordality_breaker _max_cardinality_node find_induced_nodes _chordal_graph_cliques NetworkXTreewidthBoundExceeded chordal_graph_treewidth is_chordal MaxWeightClique enumerate_all_cliques max_weight_clique make_max_clique_graph cliques_containing_node node_clique_number find_cliques make_clique_bipartite number_of_cliques find_cliques_recursive graph_number_of_cliques graph_clique_number clustering triangles _triangles_and_degree_iter transitivity _directed_triangles_and_degree_iter generalized_degree _directed_weighted_triangles_and_degree_iter square_clustering average_clustering _weighted_triangles_and_degree_iter communicability_exp communicability k_truss _core_subgraph onion_layers core_number k_crust k_core k_shell k_corona is_edge_cover min_edge_cover edge_expansion cut_size volume boundary_expansion mixing_expansion normalized_cut_size node_expansion conductance recursive_simple_cycles find_cycle minimum_cycle_basis _min_cycle simple_cycles _min_cycle_basis _path_to_cycle cycle_basis lexicographical_topological_sort dag_longest_path_length has_cycle is_aperiodic dag_to_branching ancestors descendants transitive_closure root_to_leaf_paths dag_longest_path topological_sort all_topological_sorts antichains is_directed_acyclic_graph transitive_reduction transitive_closure_dag diameter center eccentricity barycenter _count_lu_permutations _laplacian_submatrix periphery extrema_bounding resistance_distance radius is_strongly_regular is_distance_regular intersection_array global_parameters immediate_dominators dominance_frontiers dominating_set is_dominating_set efficiency local_efficiency global_efficiency has_eulerian_path _simplegraph_eulerian_circuit eulerian_circuit eulerian_path eulerize _find_path_start _multigraph_eulerian_circuit is_semieulerian is_eulerian is_valid_degree_sequence_erdos_gallai _basic_graphical_tests is_pseudographical is_digraphical is_graphical is_multigraphical is_valid_degree_sequence_havel_hakimi weisfeiler_lehman_graph_hash flow_hierarchy kl_connected_subgraph is_kl_connected is_isolate number_of_isolates isolates preferential_attachment _apply_prediction ra_index_soundarajan_hopcroft adamic_adar_index cn_soundarajan_hopcroft resource_allocation_index within_inter_cluster common_neighbor_centrality jaccard_coefficient _community lowest_common_ancestor all_pairs_lowest_common_ancestor tree_all_pairs_lowest_common_ancestor is_matching is_maximal_matching matching_dict_to_set max_weight_matching is_perfect_matching maximal_matching _quotient_graph contracted_nodes equivalence_classes contracted_edge quotient_graph maximal_independent_set moral_graph non_randomness get_counterexample Interval LRPlanarity check_planarity PlanarEmbedding ConflictPair get_counterexample_recursive top_of_stack check_planarity_recursive combinatorial_embedding_to_pos set_position triangulate_face make_bi_connected triangulate_embedding get_canonical_ordering _reciprocity_iter reciprocity overall_reciprocity k_factor is_k_regular is_regular rich_club_coefficient _compute_rc optimize_edit_paths graph_edit_distance simrank_similarity_numpy debug_print optimal_edit_paths _is_close simrank_similarity optimize_graph_edit_distance PathBuffer all_simple_paths all_simple_edge_paths _bidirectional_dijkstra _all_simple_paths_multigraph _bidirectional_shortest_path _all_simple_paths_graph _all_simple_edge_paths_multigraph shortest_simple_paths _bidirectional_pred_succ is_simple_path sigma lattice_reference omega random_reference s_metric _setup_residual_graph _add_edge_to_spanner _lightest_edge_dicts spanner effective_size local_constraint mutual_weight constraint normalized_mutual_weight double_edge_swap connected_double_edge_swap betweenness_sequence spectral_projection triangle_sequence cluster_sequence swap_d find_alternating_4_cycle degree_correlation creation_sequence threshold_graph random_threshold_sequence eigenvalues density right_d_threshold_sequence shortest_path uncompact make_compact is_threshold_sequence shortest_path_length triangles eigenvectors degree_sequence weights_to_creation_sequence left_d_threshold_sequence creation_sequence_to_weights is_threshold_graph find_threshold_graph find_creation_sequence tournament_matrix is_reachable is_tournament is_strongly_connected random_tournament index_satisfying score_sequence hamiltonian_path all_triads all_triplets triad_type is_triad triads_by_type _tricode triadic_census random_triad closeness_vitality voronoi_cells wiener_index intersection_all union_all compose_all disjoint_union_all symmetric_difference full_join difference intersection compose union disjoint_union cartesian_product _directed_edges_cross_edges tensor_product rooted_product lexicographic_product _node_product strong_product _dict_product _undirected_edges_cross_edges _nodes_cross_edges _init_product_graph _edges_cross_nodes_and_nodes _edges_cross_nodes power complement reverse test_mixed_type_disjoint_union test_mixed_type_compose test_input_output test_union_all_attributes test_mixed_type_intersection test_union_all_multigraph test_empty_union test_empty_compose_all test_intersection_all_attributes test_union_all_and_compose_all test_intersection_all test_empty_disjoint_union test_empty_intersection_all test_mixed_type_union test_intersection_all_multigraph_attributes test_symmetric_difference_multigraph test_union_multigraph test_intersection test_full_join_graph test_difference_multigraph_attributes test_compose_multigraph test_difference test_full_join_multigraph test_union_and_compose test_intersection_attributes test_difference2 test_intersection_multigraph_attributes test_difference_attributes test_mixed_type_union test_union_attributes test_difference_raise test_disjoint_union_multigraph test_rooted_product_raises test_graph_power_raises test_strong_product_random test_lexicographic_product_null test_strong_product_raises test_cartesian_product_size test_tensor_product_null test_strong_product_null test_tensor_product_random test_strong_product_combinations test_cartesian_product_classic test_lexicographic_product_combinations test_lexicographic_product_random test_cartesian_product_raises test_rooted_product test_cartesian_product_random test_tensor_product_raises test_tensor_product_size test_graph_power test_lexicographic_product_raises test_cartesian_product_multigraph test_tensor_product_classic_result test_strong_product_size test_tensor_product_combinations test_graph_power_negative test_lexicographic_product_size test_cartesian_product_null test_complement_2 test_complement test_reverse1 large_clique_size clique_removal max_clique average_clustering all_pairs_node_connectivity _bidirectional_shortest_path node_connectivity _bidirectional_pred_succ local_node_connectivity min_weighted_dominating_set min_edge_dominating_set maximum_independent_set _AntiGraph k_components _same _cliques_heuristic min_maximal_matching ramsey_R2 steiner_tree metric_closure treewidth_min_fill_in MinDegreeHeuristic treewidth_decomp treewidth_min_degree min_fill_in_heuristic min_weighted_vertex_cover test_petersen_seed test_empty test_complete test_tetrahedral test_dodecahedral test_petersen test_large_clique_size is_clique TestCliqueRemoval is_independent_set TestMaxClique test_empty_graphs test_only_source TestAllPairsNodeConnectivityApprox test_source_equals_target test_global_node_connectivity test_only_target test_directed_node_connectivity test_missing_source test_missing_target test_white_harary1 test_octahedral test_complete_graphs test_dodecahedral test_petersen TestMinWeightDominatingSet test_independent_set test_example_1 graph_example_1 test_karate_1 test_torrents_and_ferraro_graph test_directed test_example_1_detail_3_and_4 test_same _check_connectivity torrents_and_ferraro_graph build_k_number_dict test_karate_0 TestAntiGraph test_min_maximal_matching test_ramsey TestSteinerTree TestTreewidthMinFillIn is_tree_decomp TestTreewidthMinDegree TestMWVC is_cover average_degree_connectivity degree_assortativity_coefficient numeric_ac numeric_assortativity_coefficient attribute_assortativity_coefficient degree_pearson_correlation_coefficient attribute_ac degree_mixing_dict mixing_dict degree_mixing_matrix numeric_mixing_matrix attribute_mixing_dict attribute_mixing_matrix _average_nbr_deg average_neighbor_degree node_degree_xy node_attribute_xy BaseTestDegreeMixing BaseTestAttributeMixing TestNeighborConnectivity TestAttributeMixingCorrelation TestDegreeMixingCorrelation TestAttributeMixingDict TestDegreeMixingDict TestDegreeMixingMatrix TestAttributeMixingMatrix TestAverageNeighbor TestDegreeMixingXY TestAttributeMixingXY sets degrees color is_bipartite density is_bipartite_node_set closeness_centrality betweenness_centrality degree_centrality cc_dot cc_min latapy_clustering robins_alexander_clustering _threepaths _four_cycles average_clustering cc_max min_edge_cover generate_edgelist parse_edgelist read_edgelist write_edgelist havel_hakimi_graph gnmk_random_graph random_graph alternating_havel_hakimi_graph preferential_attachment_graph complete_bipartite_graph reverse_havel_hakimi_graph _add_nodes_with_bipartite_label configuration_model to_vertex_cover minimum_weight_full_matching eppstein_matching hopcroft_karp_matching _is_connected_by_alternating_path _connected_by_alternating_paths biadjacency_matrix from_biadjacency_matrix weighted_projected_graph collaboration_weighted_projected_graph generic_weighted_projected_graph overlap_weighted_projected_graph projected_graph project node_redundancy _node_redundancy spectral_bipartivity TestBipartiteBasic TestBipartiteCentrality test_pairwise_bipartite_cc_functions test_ra_clustering_davis test_ra_clustering_square test_not_bipartite test_path_graph test_ra_clustering_zero test_bad_mode test_star_graph test_average_path_graph TestMinEdgeCover TestEdgelist TestGeneratorsBipartite test_eppstein_matching TestMatching TestMinimumWeightFullMatching TestBiadjacencyMatrix TestBipartiteProject TestBipartiteWeightedProjection test_redundant_nodes test_no_redundant_nodes test_not_enough_neighbors TestSpectralBipartivity _accumulate_basic _accumulate_endpoints _rescale_e _accumulate_edges edge_betweenness_centrality betweenness_centrality _single_source_dijkstra_path_basic edge_betweenness _single_source_shortest_path_basic _rescale _rescale_e _accumulate_edges_subset _accumulate_subset betweenness_centrality_source betweenness_centrality_subset edge_betweenness_centrality_subset _rescale closeness_centrality incremental_closeness_centrality approximate_current_flow_betweenness_centrality current_flow_betweenness_centrality edge_current_flow_betweenness_centrality edge_current_flow_betweenness_centrality_subset current_flow_betweenness_centrality_subset current_flow_closeness_centrality out_degree_centrality in_degree_centrality degree_centrality dispersion eigenvector_centrality eigenvector_centrality_numpy FullInverseLaplacian flow_matrix_row InverseLaplacian CGInverseLaplacian laplacian_sparse_matrix SuperLUInverseLaplacian group_betweenness_centrality group_closeness_centrality group_out_degree_centrality group_degree_centrality group_in_degree_centrality harmonic_centrality katz_centrality_numpy katz_centrality newman_betweenness_centrality edge_load_centrality _edge_betweenness _node_betweenness percolation_centrality _accumulate_percolation global_reaching_centrality local_reaching_centrality _average_weight second_order_centrality estrada_index subgraph_centrality_exp communicability_betweenness_centrality subgraph_centrality _rescale trophic_incoherence_parameter trophic_differences trophic_levels voterank TestWeightedEdgeBetweennessCentrality TestBetweennessCentrality TestWeightedBetweennessCentrality TestEdgeBetweennessCentrality weighted_G TestEdgeSubsetBetweennessCentrality TestSubsetBetweennessCentrality TestBetweennessCentralitySources TestClosenessCentrality TestApproximateFlowBetweennessCentrality TestEdgeFlowBetweennessCentrality TestFlowBetweennessCentrality TestWeightedFlowBetweennessCentrality TestEdgeFlowBetweennessCentrality TestFlowBetweennessCentrality TestFlowClosenessCentrality TestWeightedFlowClosenessCentrality TestDegreeCentrality TestDispersion small_ego_G TestEigenvectorCentrality TestEigenvectorCentralityExceptions TestEigenvectorCentralityDirected TestGroupDegreeCentrality TestGroupBetweennessCentrality TestGroupClosenessCentrality TestClosenessCentrality TestKatzEigenvectorVKatz TestKatzCentralityDirectedNumpy TestKatzCentrality TestKatzCentralityDirected TestKatzCentralityNumpy TestLoadCentrality example1b_G example1a_G TestPercolationCentrality TestGlobalReachingCentrality TestLocalReachingCentrality TestSecondOrderCentrality TestSubgraph test_trophic_levels_simple test_trophic_incoherence_parameter_cannibalism test_trophic_levels_even_more_complex test_trophic_levels test_trophic_levels_singular_with_basal test_trophic_differences test_trophic_levels_singular_matrix test_trophic_incoherence_parameter_no_cannibalism test_trophic_levels_levine test_trophic_levels_more_complex TestVoteRankCentrality is_coloring change_color pad_graph move_witnesses is_equitable make_H_from_C_N make_N_from_L_C procedure_P make_C_from_F equitable_color strategy_saturation_largest_first strategy_connected_sequential _maximal_independent_set strategy_largest_first strategy_connected_sequential_dfs strategy_smallest_last strategy_random_sequential greedy_color strategy_connected_sequential_bfs strategy_independent_set Node greedy_coloring_with_interchange AdjEntry gis_shc TestColoring lfi_shc rs_shc lfi_hc lf_hc two_node_graph slf_shc verify_coloring disconnected rsi_shc sl_hc check_state sl_shc max_degree three_node_clique lf_shc make_params_from_graph one_node_graph empty_graph verify_length slf_hc gis_hc sli_hc sli_shc dict_to_sets cs_shc asyn_fluidc girvan_newman _without_most_central_edges is_partition _get_adjacent_cliques k_clique_communities _kernighan_lin_sweep kernighan_lin_bisection _update_label _color_network asyn_lpa_communities _most_frequent_labels label_propagation_communities _labeling_complete _split_n_from lukes_partitioning naive_greedy_modularity_communities greedy_modularity_communities inter_community_edges NotAPartition coverage inter_community_non_edges intra_community_edges performance require_partition modularity test_single_node test_exceptions test_two_nodes test_five_clique_ring test_two_clique_communities validate_communities validate_possible_communities TestGirvanNewman set_of_sets test_isolated_K5 TestZacharyKarateClub test_bad_k test_overlapping_K5 assert_partition_equal test_non_disjoint_partition test_too_many_blocks test_multigraph test_seed_argument test_partition test_partition_argument test_directed_not_supported test_one_node test_termination test_unconnected_communities TestAsynLpaCommunities test_connected_communities test_mandatory_integrality test_paper_1_case paper_2_case paper_1_case test_paper_2_case test_mandatory_tree TestNaive TestCNM TestCoverage TestPerformance test_inter_community_edges_with_digraphs test_modularity test_is_partition test_not_covering test_not_node test_not_disjoint is_attracting_component attracting_components number_attracting_components is_biconnected articulation_points _biconnected_dfs biconnected_components biconnected_component_edges number_connected_components connected_components is_connected _plain_bfs node_connected_component is_semiconnected strongly_connected_components_recursive number_strongly_connected_components kosaraju_strongly_connected_components strongly_connected_components is_strongly_connected condensation number_weakly_connected_components is_weakly_connected _plain_bfs weakly_connected_components TestAttractingComponents assert_components_edges_equal test_articulation_points_repetitions test_connected_raise test_empty_is_biconnected test_biconnected_components_cycle test_biconnected_karate test_biconnected_components2 test_barbell test_is_biconnected test_biconnected_davis test_null_graph test_biconnected_components1 test_articulation_points_cycle assert_components_equal test_biconnected_eppstein TestConnected TestIsSemiconnected TestStronglyConnected TestWeaklyConnected all_pairs_node_connectivity average_node_connectivity edge_connectivity node_connectivity local_node_connectivity local_edge_connectivity minimum_st_node_cut minimum_node_cut minimum_edge_cut minimum_st_edge_cut edge_disjoint_paths node_disjoint_paths _unique_everseen _ordered partial_k_edge_augmentation k_edge_augmentation unconstrained_one_edge_augmentation one_edge_augmentation unconstrained_bridge_augmentation _unpack_available_edges is_locally_k_edge_connected complement_edges _compat_shuffle greedy_k_edge_augmentation _lightest_meta_edges weighted_one_edge_augmentation weighted_bridge_augmentation bridge_augmentation _minimum_rooted_branching collapse is_k_edge_connected _k_edge_subgraphs_nodes k_edge_subgraphs _high_degree_components bridge_components _low_degree_nodes EdgeComponentAuxGraph general_k_edge_subgraphs k_edge_components _consolidate k_components _reconstruct_k_components _generate_partition build_k_number_dict all_node_cuts _is_separating_set stoer_wagner build_auxiliary_node_connectivity build_auxiliary_edge_connectivity test_directed_edge_connectivity test_empty_graphs test_tutte test_articulation_points test_average_connectivity test_invalid_auxiliary test_interface_only_source test_petersen test_edge_missing_source test_edge_connectivity_flow_vs_stoer_wagner test_edge_missing_target test_octahedral test_interface_only_target test_not_weakly_connected test_brandes_erlebach TestAllPairsNodeConnectivity test_icosahedral test_missing_source test_complete_graphs test_not_connected test_dodecahedral test_cutoff test_white_harary_1 _generate_no_biconnected test_average_connectivity_directed test_white_harary_2 test_missing_target test_empty_graphs test_articulation_points tests_minimum_st_node_cut test_invalid_auxiliary test_interface_only_source test_node_cutset_random_graphs tests_min_cut_complete_directed test_interface_only_target test_not_weakly_connected test_unbounded test_petersen_cutset test_white_harary_paper test_octahedral_cutset test_brandes_erlebach_book test_not_connected test_missing_source _generate_no_biconnected tests_min_cut_complete test_node_cutset_exception test_icosahedral_cutset test_edge_cutset_random_graphs test_missing_target test_missing_target_node_paths test_missing_source_edge_paths test_petersen_disjoint_paths test_invalid_auxiliary are_edge_disjoint_paths test_not_weakly_connected_nodes test_not_weakly_connected_edges test_not_connected_edges test_missing_target_edge_paths test_karate test_isolated_nodes test_cutoff_disjoint_paths test_not_connected_nodes is_path test_octahedral_disjoint_paths test_graph_from_pr_2053 test_isolated_edges test_florentine_families are_node_disjoint_paths test_missing_source_node_paths test_icosahedral_disjoint_paths _augment_and_check test_is_locally_k_edge_connected test_barbell test_star _check_augmentations test_gnp_augmentation test_bridge test_is_k_edge_connected test_cliques tarjan_bridge_graph test_karate test_clique_and_node test_configuration test_point_graph test_shell _check_unconstrained_bridge_property test_unfeasible test_is_locally_k_edge_connected_exceptions _assert_solution_properties test_weight_key test_edgeless_graph test_null_graph test_is_k_edge_connected_exceptions test_invalid_k test_tarjan _assert_subgraph_edge_connectivity test_undirected_aux_graph test_five_clique test_configuration_directed test_random_gnp_directed test_four_clique test_random_gnp test_general_k_edge_subgraph_quick_return test_triangles test_tarjan_bridge test_bridge_cc test_karate_directed test_karate test_local_subgraph_difference_directed test_configuration test_not_implemented _assert_local_cc_edge_connectivity test_shell test_zero_k_exception _check_edge_connectivity test_empty_input _all_pairs_connectivity fset test_shell_directed _memo_connectivity test_directed_aux_graph test_local_subgraph_difference test_shell test_karate_component_number test_davis_southern_women test_torrents_and_ferraro_graph test_directed _check_connectivity test_karate torrents_and_ferraro_graph test_random_gnp test_davis_southern_women_detail_3_and_4 test_configuration test_set_consolidation_rosettacode test_articulation_points test_torrents_and_ferraro_graph test_example_1 test_random_gnp graph_example_1 test_is_separating_set_complete_graph test_karate test_configuration test_alternative_flow_functions test_non_repeated_cuts test_shell test_disconnected_graph test_grid_2d_graph test_complete_graph _check_separating_sets torrents_and_ferraro_graph test_is_separating_set _generate_no_biconnected test_cycle_graph test_graph3 test_weight_name _check_partition test_exceptions test_graph1 _test_stoer_wagner test_graph2 boykov_kolmogorov_impl boykov_kolmogorov capacity_scaling _detect_unboundedness _build_flow_dict _build_residual_network dinitz_impl dinitz edmonds_karp edmonds_karp_core edmonds_karp_impl gomory_hu_tree maximum_flow minimum_cut minimum_cut_value maximum_flow_value min_cost_flow_cost cost_of_flow max_flow_min_cost min_cost_flow network_simplex preflow_push preflow_push_impl shortest_augmenting_path_impl shortest_augmenting_path GlobalRelabelThreshold Level build_residual_network detect_unboundedness build_flow_dict CurrentEdge TestGomoryHuTree compare_flows_and_cuts test_shortest_augmenting_path_two_phase test_preflow_push_makes_enough_space TestMaxFlowMinCutInterface compute_cutset validate_cuts test_preflow_push_global_relabel_freq TestMaxflowMinCutCommon validate_flows TestCutoff gen_pyramid TestMaxflowLargeGraph validate_flows read_graph TestMinCostFlow intersect are_all_equal ISMAGS partition_to_color make_partitions fast_could_be_isomorphic faster_could_be_isomorphic is_isomorphic could_be_isomorphic GMState GraphMatcher DiGMState DiGraphMatcher generic_multiedge_match categorical_node_match close generic_node_match categorical_multiedge_match numerical_node_match copyfunc allclose numerical_multiedge_match TimeRespectingDiGraphMatcher TimeRespectingGraphMatcher root_trees tree_isomorphism generate_isomorphism group_by_levels assign_levels rooted_tree_isomorphism DiGraphMatcher _semantic_feasibility MultiGraphMatcher MultiDiGraphMatcher GraphMatcher TestWikipediaExample TestSubgraphIsomorphism TestSelfIsomorphism TestLargestCommonSubgraph _matches_to_sets TestIsomorph test_monomorphism_iter1 test_multiple TestWikipediaExample test_selfloop TestAtlas test_monomorphism_edge_match test_multiedge TestVF2GraphDB test_isomorphism_iter2 test_noncomparable_nodes test_selfloop_mono test_isomorphism_iter1 TestGenericMultiEdgeMatch test_categorical_node_match put_same_time TestTimeRespectingGraphMatcher put_time_config_2 put_sequence_time put_same_datetime TestDiTimeRespectingGraphMatcher put_time_config_0 put_time_config_1 provide_g1_edgelist check_isomorphism test_positive test_hardcoded test_trivial positive_single_tree random_swap test_trivial_2 test_negative TestEdgeMatch_DiGraph TestNodeMatch_Graph test_simple TestEdgeMatch_MultiGraph test_weightkey TestEdgeMatch_MultiDiGraph hits authority_matrix hits_scipy hits_numpy hub_matrix google_matrix pagerank_numpy pagerank pagerank_scipy TestHITS TestPageRankScipy TestPageRank harmonic_function local_and_global_consistency _propagate _get_label_info _init_label_matrix _predict TestHarmonicFunction TestLocalAndGlobalConsistency astar_path astar_path_length reconstruct_path floyd_warshall_predecessor_and_distance floyd_warshall floyd_warshall_numpy shortest_path all_shortest_paths _build_paths_from_predecessors average_shortest_path_length has_path shortest_path_length _single_shortest_path_length all_pairs_shortest_path single_target_shortest_path_length all_pairs_shortest_path_length single_source_shortest_path _single_shortest_path single_target_shortest_path predecessor bidirectional_shortest_path single_source_shortest_path_length _bidirectional_pred_succ single_source_bellman_ford single_source_dijkstra_path_length bidirectional_dijkstra multi_source_dijkstra_path_length _weight_function _dijkstra bellman_ford_path bellman_ford_path_length all_pairs_bellman_ford_path_length goldberg_radzik all_pairs_bellman_ford_path johnson all_pairs_dijkstra_path_length dijkstra_path _bellman_ford all_pairs_dijkstra_path bellman_ford_predecessor_and_distance single_source_dijkstra_path _dijkstra_multisource all_pairs_dijkstra single_source_bellman_ford_path multi_source_dijkstra multi_source_dijkstra_path dijkstra_predecessor_and_distance negative_edge_cycle dijkstra_path_length single_source_bellman_ford_path_length single_source_dijkstra TestAStar TestFloyd TestFloydNumpy TestAverageShortestPathLengthNumpy TestGenericPath validate_grid_path TestAverageShortestPathLength TestUnweightedPath validate_grid_path validate_length_path TestDijkstraPathLength TestBellmanFordAndGoldbergRadzik TestJohnsonAlgorithm TestWeightedPath TestMultiSourceDijkstra WeightedTestBase validate_path TestImmediateDominators TestDominanceFrontiers test_non_randomness test_is_at_free TestEdgeBoundary TestNodeBoundary TestBridges TestLocalBridges TestChainDecomposition cyclic_equals cycles exit Interpreter write command getattr import_main split iterable start_server basename parser_from print Interpreter multiline interact call import_main print_help run print_usage len get check_exists tuple format OrderedDict items list tuple format count create hasattr isgeneratorfunction dict __qualname__ enumerate join create __defaults__ dict lower __doc__ isfunction isclass co_argcount __name__ len issubclass enumerate join getfullargspec hasattr __init__ isfunction isclass __call__ ismethod classmethod dict getattr dir update get populate_from addsubcommands copy getattr ArgumentParser commands append match group upper len parser_from add_argument consume f_locals f_globals _getframe exec str flush raise_ wait close write Popen write isinstance append readline strip get _action_groups add_text parser_from _get_formatter _mutually_exclusive_groups end_section start_section add_arguments title getattr add_usage description usage argspec join exec_ __init__ dict getattr isclass args join basename getattr splitext partial_call main load_source exists split sharedattr set _TaskLauncher replace zip _trim_arity rfind find print _ustr print str asList _ustr print _ustr extract_stack extract_tb getattr __name__ RLock _NullToken _trim_arity __name__ _ustr addParseAction copy Forward setName setParseAction append extend isinstance setName Forward _ustr addParseAction _ustr addParseAction copy Forward setName replace list isinstance insert masks warn isequal enumerate split locMarker copy endlocMarker ignoreExprs setParseAction setParseAction getattr __name__ Word Keyword ZeroOrMore _L isinstance tagStr name closeTag Combine addParseAction SkipTo Optional Group setName Suppress Dict setParseAction items list isinstance _FB Optional Group Forward expr OneOrMore setName setParseAction enumerate setName Forward setParseAction copy suppress LineEnd setFailAction Optional Group ignore OneOrMore setName suppress streamline addParseAction staticmethod addCondition setName setParseAction tokenMap pop join split __import__ _get_module name setattr delattr tp get stdout pop _print flush update getattr isinstance isinstance __str__ keys set by_key format pop keys isinstance dict print add_argument exec dumps command import_module modules ArgumentParser parse_args threadpool_info sep rstrip split parse_config_files Lock read ConfigParser read_dict getenv append tables items list process_ligatures TTFont join list write stderr range PY2 bidirectional append debug_storage bidirectional get pop clear level_func debug_storage deque append calc_level_runs clear append calc_level_run debug_storage range len debug_storage _embedding_direction range len debug_storage range reversed reverse_contiguous_sequence debug_storage range len get debug_storage decode join explicit_embed_and_overrides text_type resolve_weak_types isinstance resolve_neutral_types resolve_implicit_levels get_empty_storage apply_mirroring reorder_resolved_levels get_embedding_levels get_base_level stdout stdin decode add_option get_display OptionParser encoding error debug base_dir print_ parse_args upper_is_rtl PY2 print endswith call chdir getcwd func join normpath join get_hash normpath hash_add preserve_cwd splitext clear update hash_add hash_changed endswith walk process load_hashes walk check_changes compile json_dumps Reddit is_dir iterdir Path basicConfig blank Word2Vec save Corpus rstrip UDWord list len map UDSpan append UDRepresentation range readline replace process_word words startswith characters int print extend split alignment_score align_words words float split open system_file load_deprel_weights load_conllu_file gold_file weights f1 format evaluate_wrapper add_argument precision ArgumentParser append recall load create_pipe time add_pipe time get_lang_class lang_class create_pipe add_pipe setdefault get int parse text getroot replace endswith dict is_dir append iterdir int list time tokens replace evaluate join write extend map unlink undersegmented oversegmented append get_freq_tuples split_text pipe len str list items parent print stem run_single_eval load_model dict fetch_all_treebanks load_default_model_sentencizer list print repr startswith append split endswith list pipeline pipe vocab format merger _get_token_conllu write is_parsed add Matcher sents enumerate len join text split_start upper i check_morph split_end norm_ guess_fused_orths append append range len update join format print load create_pipe add_pipe set_extension join evaluate load_nlp print_results write_json vocab int read defaultdict projectivize read_conllu add _parse_morph_string GoldParse _make_gold Doc zip append split_text enumerate len get append split pop join defaultdict extend GoldParse append heads range make_doc len append text list zip set_extension print get_conllu_lines set print join format get join list begins_fused inside_fused morph i append split vectors blank from_disk Path exists pretrained_tok2vec _load_pretrained_tok2vec multitask_sent tags multitask_tag add_multitask_objective begin_training add_label set_default_tensor_type append pipeline from_bytes Config batch_by_words min_batch_size fix_random_seed open list read_data print_progress minibatch sum range lang initialize_pipeline shuffle mkdir zip max_batch_size load minibatch_by_words TreebankPaths nr_epoch compounding zeros print dot shape fill zeros range gemm print shape fill zeros range print shape fill zeros range einsum print shape fill zeros range einsum blis_gemm create_data blis_einsum get_numpy_blas numpy_einsum copy timer numpy_gemm assume ascontiguousarray dot dotv assume assert_allclose dot dotv assume assert_allclose int ascontiguousarray sqrt floor len int T _stretch_matrix reshape ascontiguousarray floor zeros len gemm dot _reshape_for_gemm assume assert_allclose gemm dot _reshape_for_gemm assume assert_allclose object _DefaultSize maxsize callable callable callable callable hashkey get_path __enter__ str compile UniversalDetector feed bytearray decode done bytearray close result feed UniversalDetector getfilesystemencoding isatty name input description_of echo style deprecated _exit flush get format upper fast_exit bashcomplete format getattr warn get decode isinstance getdoc cleandoc _check_for_unicode_literals reverse __click_params__ setdefault append isinstance get hasattr isinstance get term_len max enumerate tuple term_len lstrip splitlines TextWrapper append _flush_par expandtabs append sort join append pop get_current_context tuple _fetch reversed reverse deque append len isalnum split_opt S decode strip append finditer _format_default format isinstance value_proc echo prompt_func _build_prompt convert_type echo strip _build_prompt get_winterm_size ctermid O_RDONLY ioctl_gwinsz getattr shutil_get_terminal_size open resolve_color_default isinstance text_or_generator isgeneratorfunction iter resolve_color_default system write append format style Editor edit_file echo getchar encode hasattr _find_binary_reader pathsep pathsep issubclass isinstance tuple map type isinstance append split text_type resolve_color_default isinstance auto_wrap_for_ansi _find_binary_writer write strip_ansi _default_text_stderr should_strip_ansi _default_text_stdout flush get get KeepOpenFile open_stream basename get expanduser get sub replace protected_args isinstance make_context command resolve_command args start_of_option is_flag reversed enumerate type autocompletion isinstance list_commands get_command startswith parent command extend isinstance deepcopy add_subcommand_completions partition extend params is_incomplete_argument resolve_ctx append is_incomplete_option echo split_arg_string get_choices int echo split_arg_string format get_choices echo get_completion_script split get_best_encoding is_ascii_encoding _wrap_std_stream _wrap_std_stream _get_windows_console_stream stdin _get_windows_console_stream stdout _wrap_std_stream _get_windows_console_stream _wrap_std_stream stderr decode get_filesystem_encoding isinstance str decode hasattr isinstance strerror format replace open join chmod format _wrap_io_open st_mode O_CREAT O_EXCL any randrange dirname O_RDWR open _stream isinstance stdin _default_text_stdin write _default_text_stdout flush WeakKeyDictionary mkstemp strip close _default_text_stdout get join stdin format encode wait strip_ansi write dict environ get_best_encoding Popen split stdout join mktemp format strip_ansi system get_best_encoding write strip_ansi format replace _unquote_file append Popen open _translate_ch_to_exc getwch func getwche f_back co_flags startswith compiler_flag _getframe _find_unicode_literals_frame Warning warn decode isinstance name endswith strip set add splitlines insert setattr getattr WindowsChunkedWriter add BufferedReader _NonClosingTextIOWrapper _WindowsConsoleReader _WindowsConsoleWriter BufferedWriter _NonClosingTextIOWrapper _WindowsConsoleWriter BufferedWriter _NonClosingTextIOWrapper CommandLineToArgvW c_int GetCommandLineW byref startswith get_osfhandle fileno get O_BINARY fileno setmode getattr Pool Address isfunction isclass hasattr isinstance dir getattr __doc__ _fix_module_doctest update create_signature_registry num_required_args v list items update items sorted __dict__ valfilter merge_with set import_module getattr curry_namespace append vars should_curry merge items list curry isinstance items list curry isinstance merge Foo replace hasattr __doc__ pop items list convertdoc __dict__ valfilter keyfilter isfrommod merge_with Differ map any splitlines __doc__ compare raises getargspec items list __dict__ replace keyfilter valfilter merge_with isfrommod __doc__ formatargspec __name__ get items list __dict__ keyfilter valfilter isfrommod splitlines memoize memoize f memoize partial memoize memoize memoize cmul curry curry curry curry curry hasattr curry h1 curry curry A A mycurry generate_compose_test_cases object signature compose hasattr generate_compose_left_test_cases juxt list range excepts object exec globals make_func make_func make_func RaisesValueError test_is_valid_py3 test_is_valid test_is_valid_py3 partial test_is_valid make_func RaisesValueError make_func curry test_introspect_curry_valid_py3 make_func curry items list format join sorted is_missing set append __name__ add_blacklist signature AddX Wrapped list remove range object NoCompare join starmap set join starmap set join starmap set join set join set join set peek len peekn list mk_rsample range Random append __all__ set append excepts __all__ set append __all__ set append __all__ set loads compose dumps loads dumps juxt loads dumps complement loads dumps InstanceProperty loads dumps loads flip dumps loads dumps merge NestedCurried GlobalCurried dumps global_curried1 loads f1 int complex partial min map abs range curry functoolz iter now abs compile compile format format __name__ __reduce__ __reduce__ __reduce__ __reduce__ tzinfo astimezone replace tzinfo enfold getattr replace utcoffset HKEY_LOCAL_MACHINE ConnectRegistry Close POINTER WCHAR replace datetime rstrip name_from_string EnumValue startswith range __reduce__ join mkdtemp dirname error ZoneInfoFile getzoneinfofile_stream getattr append getzoneinfofile_stream ZoneInfoFile warn append getzoneinfofile_stream ZoneInfoFile warn _days_in_month divmod _ymd2ord _days_before_month join hasattr replace utcoffset divmod tzname timedelta getattr append push _days_in_month __slots__ _ymd2ord object timedelta update items object __ne__ keys values get mapping_get communicate get Popen poll socket settimeout getaddrinfo bind connect dup socket detach gethostname strip gethostbyaddr SOCK_STREAM AF_INET SOCK_DGRAM AF_UNIX AF_UNIX divmod len encode decode isinstance append decode range len isinstance str _encodestring str get_payload _bencode set_payload get_payload _qencode set_payload decode isinstance get_payload set_payload encode decode get_payload set_payload pop decode hasattr isinstance bytes len reversed lstrip lower splitlines header_decode append enumerate split append Charset Header staticmethod get_unstructured staticmethod get_unstructured parse_mime_version staticmethod staticmethod parse_content_type_header staticmethod parse_content_disposition_header staticmethod parse_content_transfer_encoding_header get_payload is_multipart get_payload walk StringIO isinstance walk stdout get_default_type print get_payload is_multipart get_content_type partition encode encode_rfc2231 isinstance str strip index lower find append len isinstance HeaderRegistry append lstrip chr append body_check quote ord newline _body_accumulator splitlines write_char enumerate rstrip splitlines len group replace encode encode join _AddressList time divmod localtime timezone gmtime altzone abs timetuple strftime time strftime gmtime getpid randrange getfqdn list _parsedate_tz addresslist split url_quote pop int join list items quote unquote endswith sort decode_rfc2231 group url_unquote match append bytes mktime timezone timedelta tm_zone replace bytes encode bytes append InvalidBase64PaddingDefect len divmod len partition lower encode split str _has_surrogates _non_printable_finder append NonPrintableDefect UndecodableBytesDefect list _wsp_splitter append range len append decode extend _wsp_splitter lstrip WhiteSpaceTerminal EncodedWord join list isdigit InvalidHeaderDefect decode _validate_xtext get_fws extend ValueTerminal _wsp_splitter append split join list get_encoded_word _validate_xtext get_fws ValueTerminal UnstructuredTokenList startswith _wsp_splitter append _get_ptext_to_endchars _validate_xtext WhiteSpaceTerminal _get_ptext_to_endchars _validate_xtext ValueTerminal _validate_xtext ValueTerminal group _non_atom_end_matcher InvalidHeaderDefect get_fws get_qcontent BareQuotedString append InvalidHeaderDefect Comment get_fws append get_qp_ctext get_comment CFWSList append get_fws append get_bare_quoted_string get_cfws QuotedString append get_atext Atom get_cfws get_atext DotAtomText append append get_dot_atom_text DotAtom get_cfws get_atom get_quoted_string get_cfws append Phrase get_word ObsoleteHeaderDefect str encode InvalidHeaderDefect get_cfws get_obs_local_part get_dot_atom ObsoleteHeaderDefect append LocalPart ObsLocalPart InvalidHeaderDefect get_word ValueTerminal append defects _validate_xtext _get_ptext_to_endchars ValueTerminal ObsoleteHeaderDefect append append ValueTerminal InvalidHeaderDefect _check_for_early_dl_end get_cfws get_fws get_dtext ValueTerminal append DomainLiteral get_atom get_cfws get_dot_atom ObsoleteHeaderDefect Domain get_domain_literal append InvalidHeaderDefect AddrSpec get_domain ValueTerminal append get_local_part ObsRoute get_cfws get_domain ValueTerminal append InvalidHeaderDefect get_cfws get_addr_spec ValueTerminal AngleAddr append DisplayName extend get_phrase get_angle_addr get_cfws NameAddr get_display_name append append get_name_addr any Mailbox append InvalidMailbox ValueTerminal get_phrase get_mailbox InvalidHeaderDefect get_invalid_mailbox extend MailboxList append InvalidHeaderDefect get_cfws extend GroupList get_mailbox_list ObsoleteHeaderDefect append InvalidHeaderDefect get_cfws get_group_list Group ValueTerminal append get_display_name append Address get_group InvalidHeaderDefect get_address get_invalid_mailbox extend AddressList ValueTerminal append MIMEVersion int format InvalidHeaderDefect get_cfws ValueTerminal append HeaderMissingRequiredValue append ValueTerminal InvalidParameter get_phrase ValueTerminal _validate_xtext _non_token_end_matcher group append Token get_ttext get_cfws _validate_xtext ValueTerminal _non_attribute_end_matcher group append get_attrtext get_cfws Attribute _validate_xtext ValueTerminal group _non_extended_attribute_end_matcher append get_extended_attrtext get_cfws Attribute int InvalidHeaderError Section ValueTerminal append get_cfws Value get_extended_attribute append get_quoted_string Parameter get_attrtext format InvalidHeaderDefect get_attribute get_cfws get_extended_attrtext value Value get_qcontent get_fws get_value get_section stripped_value ValueTerminal append get_quoted_string get_invalid_parameter InvalidHeaderDefect format extend MimeParameters ValueTerminal get_parameter append append parse_mime_parameters ValueTerminal get_phrase format InvalidHeaderDefect _find_mime_parameters parse_mime_parameters ContentType lower ValueTerminal append HeaderMissingRequiredValue get_token format InvalidHeaderDefect _find_mime_parameters parse_mime_parameters ContentDisposition lower ValueTerminal append HeaderMissingRequiredValue get_token InvalidHeaderDefect ContentTransferEncoding ValueTerminal get_phrase append HeaderMissingRequiredValue get_token _parsedate_tz int rfind index upper lower split append find parsedate_tz isinstance timegm items list _append_doc getattr __doc__ testfn BytesIO tests append decode readline getLogger print_exc StringIO warn getvalue utcfromtimestamp utcnow utcfromtimestamp utcnow int search group int offset_from_tz_string index upper lower _timegm search index groups lstrip lower sub lstrip search groups span rstrip unmatched subn search group sub startswith append append join sub endswith startswith rstrip lstrip lower strip_quotes append http2time enumerate split search rfind lower search lower startswith get_full_url get_header sub request_host get_full_url path escape_path urlsplit host int find sub quote find request_host sorted keys items vals_sorted_by_key ASCII compile sorted discard comment_url expires path_specified comment domain_initial_dot port_specified secure append keys compile all int chr search start append len gmtime time set HTTPMessage update copy init append join pop split hasattr ServerClass print getsockname serve_forever pystones Record Proc1 Proc4 chr ord Proc6 Proc2 Proc7 Proc8 Proc5 clock range IntComp Proc3 Proc6 PtrComp Proc7 EnumComp copy PtrComp Proc7 range print exit wait addCleanup PROTOCOL_SSLv23 start Event HTTPSServerThread load_cert_chain SSLContext list __import__ modules getattr warn func sleep listdir split unlink _waitfor _waitfor rmdir _waitfor rmdir _unlink _rmdir _rmtree join rename dirname abspath cache_from_source join unlink path unload cache_from_source DWORD USEROBJECTFLAGS GetProcessWindowStation byref GetUserObjectInformationW sizeof user32 bind_port socket close hasattr bind setsockopt SO_EXCLUSIVEADDRUSE SOL_SOCKET has_ipv6 socket bind AF_INET6 SOCK_STREAM chdir getcwd mkdir umask join isabs path exists O_TRUNC O_CREAT close O_WRONLY open items sorted join open assertRaises pop join print unlink urlopen dirname requires exists check_valid_file get pop clear list remove message PY3 append _getframe range len get getdefaulttimeout setdefaulttimeout ResourceDenied setattr getattr StringIO collect sleep disable isenabled startswith split assertEqual getsizeof int VERBOSE group match float IGNORECASE is_resource_enabled join sorted format _parse_guards check_impl_detail keys _parse_guards TestSuite isinstance pred append _tests stdout TextTestRunner run BasicTestRunner addTest TestSuite _run_suite isinstance findTestCases makeSuite _filter_suite print testmod pop update modules range len _count range sleep WNOHANG hasattr waitpid getattr setattr hasattr strip symlink can_symlink mkstemp can_xattr kernel32 SetErrorMode addCleanup setattr getattr __init__ clear isinstance _splitparams _coerce_args urlsplit ParseResult rfind find min find len get clear_cache _splitnetloc lower SplitResult split _coerce_args bool find _coerce_args _coerce_args remove split _coerce_args urlparse len urlunparse _coerce_args urlparse bytes isinstance encode append split decode split append range len parse_qsl append replace unquote _coerce_result append _coerce_args split replace encode isinstance str bytes quote isinstance encode isinstance bytes quote_plus items list str hasattr isinstance append len decode isinstance strip match group compile match group compile match compile S match compile match compile int match group compile match compile match compile split match compile load_verify_locations CERT_REQUIRED PROTOCOL_SSLv23 HTTPSHandler set_default_verify_paths build_opener SSLContext splittype unlink full_url remove hasattr issubclass isinstance h set add add_handler append isclass klass OpenerDirector splituser splitpasswd splittype find I compile do_request_ do_request_ split append gethostbyname tuple all_errors message_from_string list items lower splitport get int group ip2num splitport gethostbyname match fnmatch count _get_proxy_settings getproxies_environment replace localtime time isinstance decode DateTime Binary decode FastUnmarshaller FastParser decodebytes ExpatParser Unmarshaller str isinstance Marshaller FastMarshaller encode getparser close feed BytesIO write close getvalue GzipFile read BytesIO close GzipFile getattr startswith split VERBOSE IGNORECASE compile int isinstance hasattr isinstance quantize Decimal float str isinstance as_integer_ratio _dec_from_triple bit_length list __mro__ isinstance values fget _getframe __func__ _getframe co_name items list next iter __file__ hasattr warn split format debug set is_py2_stdlib_module keys update modules set getattr setattr __import__ meta_path RenameImport format debug install_aliases append install_hooks debug hasattr scrub_future_sys_modules remove_hooks debug any join list reversed import_module split append setattr enumerate import_module split startswith sorted list len dict zip append range split compile isinstance _AssertWarnsContext isinstance isinstance len range len PY3 PY3 replace_surrogate_encode replace_surrogate_decode isinstance append _unichr ord append _unichr ord isinstance bytes_chr ord encode append enumerate lookup_error PY3 isinstance isinstance compile items getattr getattr keys getattr values items getattr getattr keys getattr values setattr MethodType f_globals f_locals repr exec copy _get_caller_globals_and_locals tp isinstance exc_info __next__ isinstance hasattr combining chr bidirectional enumerate get range ord len ord decode isinstance ord intranges_contain check_bidi check_initial_combiner check_nfc check_hyphen_ok enumerate str ulabel check_label encode _punycode decode check_label lower startswith encode ord enumerate decode alabel join isinstance append uts46_remap split ulabel append uts46_remap sorted _encode_range append range len _decode_range _encode_range bisect_left append cls disable_stdlib_finder meta_path filter StringIO hasattr filterfalse seen_add __contains__ add set compile __doc__ groupby sorted attrgetter from_iterable mkdtemp getcwd append items list isinstance mkdir format basename debug getpid memmap add_maybe_unlink_finalizer replace MAX_WBITS join listdir hasattr stat dict int float makedirs join listdir delete_folder format isdir debug rmtree sleep listdir format warn co_filename join int __code__ groups startswith replace hasattr quote join hasattr _clean_win_chars __module__ endswith getmodule getsourcefile __class__ abspath startswith append sep ismethod __name__ split formatargspec join getfullargspec items list sorted kwonlyargs pop isinstance tuple len kwonlydefaults varargs warn varkw dict get_func_name ismethod enumerate args pformat join list extend get_func_name append _format_arg len format_signature copy NumpyHasher Hasher startswith _squeeze_time _squeeze_time get_printoptions set_printoptions int join startswith split str list format items configure isinstance backend_obj warn Path expanduser __name__ append get_func_name append _get_func_fullname isinstance join time basename format format_time copy copy str list items hasattr format isinstance endswith warn extension load NumpyUnpickler warn compat_mode load filename add_maybe_unlink_finalizer add str getattr hasattr isinstance decompress int read seek len compress asbytes write ljust hex_str len copy getattr items read list hasattr peek seek prefix startswith _get_prefixes_max_len locals BytesIO isinstance _buffered_read_file warn _detect_compressor decompressor_file compressor_file read bytes len register_parallel_backend print nesting_level getattr sqrt dumps warn get_active_backend showwarning format communicate returncode start Timer Popen ref isinstance append add set get append isinstance extract_tb list tuple fix_frame_records_filenames max getinnerframes enumerate append str len getargvalues endswith safe_repr uniq_stable eval tokeneater abspath append generate_tokens time list executable map getpid _fixed_getframes format_records __name__ ctime get list isinstance endswith tuple currentframe append getouterframes max enumerate type issubclass __name__ dict _mk_exception getattr format basename debug getpid maybe_unlink format basename debug id getpid finalize filename type unlink range getattr isinstance get f_bavail join f_bsize statvfs gettempdir abspath expanduser exists makedirs make_memmap format itemsize debug byte_bounds strides shape getpid _get_backing_memmap dict ArrayMemmapForwardReducer format id current_thread getpid write_func staticmethod exists items list getattr issubclass isinstance ModuleType type FunctionType get _whichmodule getattr _getattribute get isinstance co_consts co_names CodeType list set modules append __name__ split _cell_set FunctionType co_filename co_nlocals __code__ co_lnotab co_cellvars co_flags co_consts co_firstlineno co_code CodeType co_names co_varnames co_name co_stacksize co_kwonlyargcount co_argcount get_instructions opcode update items list __bases__ pop __dict__ reversed dict append list isinstance __parameters__ __result__ __args__ __import__ update ModuleType __dict__ update pop list cell_set dict zip __closure__ _make_empty_cell cell_set warn new_class register items list setattr items list __prepare__ __class__ __new__ TypeVar _get_or_create_tracker_id _lookup_module_and_qualname hasattr get __slots__ isinstance dict list _find_imported_submodules __dict__ _extract_code_globals __code__ chain values pop issubclass isinstance _extract_class_dict ABCMeta __slots__ type _get_dump dict pop _class_getstate hasattr cell_contents __func__ read seek name tell closed write StringIO pop _is_importable update pop list items cell_set cell_contents setattr enumerate register items list setattr ChainMap dispatch_table copy callable loads get isinstance getattr _wrap_non_picklable_objects callable isclass __name__ collect items list format join debug _RemoteTraceback set_cause tuple list islice zip _ResultItem put get time call_item initializer collect debug put getpid _get_memory_usage info sysconf reverse __doc__ mp_get_context warn str _count_physical_cores min warn print_tb __traceback__ _cpu_count_user max get int hasattr len ceil sched_getaffinity decode int len map splitlines run sum split Manager staticmethod Condition RLock Semaphore Event BoundedSemaphore Lock close union set update execve executable copy fork close_fds getattr _args_from_interpreter_flags int fdopen O_RDONLY close exit prepare _bootstrap open_osfhandle Pickler import_module debug format getvalue dump BytesIO SIGINT pthread_sigmask SIG_IGN log_to_stderr SIGTERM signal SIG_UNBLOCK join sorted CloseHandle CreateProcess pipe raiseFromErrno raiseFromErrno c_int get_errno sem_open c_char_p int time raiseFromErrno sem_trywait get_errno min set_errno ETIMEDOUT sleep timespec _RandomNameSequence get_errno current_process getattr _fmt duplicate join getEffectiveLevel _check_not_importing_main _fd get_osfhandle index dict ensure_running getattr ORIGINAL_DIR normpath __spec__ setFormatter _fixup_main_from_name chdir log_to_stderr Formatter setLevel open_osfhandle _fixup_main_from_path append ModuleType update run_module append ModuleType run_path update _fixup_main_from_path current_thread _recursive_terminate_with_psutil _recursive_terminate_without_psutil children kill terminate join join pid _recursive_terminate int kill check_output SIGTERM sleep items list set_inheritable get_spawning_popen fileno DupFd detach fileno DupFd detach int hasattr POLLIN POLLNVAL append register poll monotonic fileno DupHandle detach socket fileno reduce_handle close fromfd rebuild_handle append sleep poll memory_usage collect start teardown_autokill Timer get cancel print filename make_memmap ALLOCATIONGRANULARITY strpath join write sleep items list len run int arange count_events LocalCluster Client importorskip CountSerialized importorskip int ones importorskip scale LocalCluster Client adapt LocalCluster Client format format int itemsize array strpath join mkdirp strpath join mkdirp rm_subdirs strpath Vicious safe_repr endswith helper _raise_exception join skip func strpath load_source uniform mktemp strpath Memory Klass partial match Klass match filter_args _clean_win_chars format_signature format_signature get_func_code list time func append range abs time_func str list deque range StringIO RandomState copy random_sample all product arange hash asfortranarray ascontiguousarray asarray memmap strpath RandomState random_sample time_func relative_time abs Klass KlassWithCachedMethod strpath array float64 f KlassWithCachedMethod strpath set f KlassWithCachedMethod strpath loads dumps dtype loads dumps asfortranarray RandomState random_sample array hash RandomState zip match readouterr PrintTime print_time strpath setup_autokill teardown_autokill assert_array_equal assert_array_equal T asarray arange reconstruct_array_or_memmap reshape ArrayMemmapForwardReducer shape memmap strpath assert_array_equal flush format communicate wait strpath Popen reconstruct_array_or_memmap reshape ArrayMemmapForwardReducer shape memmap strpath assert_array_equal memmap _strided_from_memmap ALLOCATIONGRANULARITY strpath ones fill map shape memmap strpath assert_array_equal factory asarray ones fill map shape memmap strpath assert_array_equal factory communicate wait format Popen format communicate wait copy dirname range Popen int arange int arange int Thread join arange set start communicate wait Popen communicate wait Popen format communicate wait copy dirname range Popen ones int communicate wait format Popen ones _temp_folder map factory listdir array format communicate wait copy dirname Popen ones factory map int SYSTEM_SHARED_MEM_FS_MIN_SIZE ones _temp_folder map sleep factory range int SYSTEM_SHARED_MEM_FS_MIN_SIZE _temp_folder factory get ones apply_async assert_array_equal factory assert_array_equal factory get get make_memmap terminate strpath assert_array_equal factory ALLOCATIONGRANULARITY _get_temp_dir startswith strpath assert_array_equal enumerate _data collect ones set _WeakArrayKeyMap assert_empty_after_gc_collect _WeakArrayKeyMap str join arange _read_array tofile assert_array_equal cache range Memory join path get_items setattr clear check_identity_lazy list g cache Memory rmtree strpath len format cache exec cached_f Memory dedent compile list gg cache Memory range len check_identity_lazy list cache Memory strpath check_identity_lazy list strpath Memory cache Memory cache eval Memory check_identity_lazy list partial strpath cache eval Memory append len cache Memory list RandomState random_sample cache Memory range twice collect ones Memory corrupt_single_cache_item monkeypatch_cached_func_warn range h Memory list z Memory Memory Memory clear join g remove location cache Memory _get_output_identifiers strpath append _build_func_identifier split join g location cache gp dumps Memory loads _get_output_identifiers clear call_and_shelve zip cache call_and_shelve join location cache write skip Memory _get_output_identifiers sleep call_and_shelve st_atime remove call_and_shelve strpath get MemorizedFunc NotMemorizedFunc repr strpath call_and_shelve pop join cache f syspath_prepend write readouterr Memory rmtree mkdir strpath cache __code__ Memory clear Memory cache match func_cached Memory cache Memory list Memory get_1000_bytes range _build_func_identifier _setup_toy_cache get_items _setup_toy_cache _get_items_to_delete difference get_items len _setup_toy_cache reduce_size get_items _setup_toy_cache clear cache readouterr Memory cache readouterr Memory get cache Memory corrupt_single_cache_item monkeypatch_cached_func_warn cached_func call_and_shelve match match match NonSupportedLocationClass register_store_backend match register_store_backend _store_backend_factory Path _store_backend_factory FileSystemStoreBackend configure repr strpath cache call_and_shelve Memory dumps loads call_and_shelve Memory vars list keys cache dumps Memory loads compare store_backend call_and_shelve check_subprocess_call replace check_subprocess_call check_subprocess_call repr load dump strpath match format load dump RandomState random_sample array_int ComplexTestObject array_obj strpath assert_array_equal array array_float enumerate load dump ones strpath assert_array_equal load dump RandomState random_sample array_int ComplexTestObject array_obj strpath assert_array_equal array_float load dump RandomState random_sample strpath array load dump RandomState random_sample strpath masked_greater dump RandomState random_sample strpath simplefilter RandomState random_sample strpath load str dump nbytes ones strpath randint matrix memory_used load dump ndarray isinstance zip assert_equal strpath get int load basename ndarray isinstance group assert_equal match zip __file__ _check_pickle dirname abspath dump strpath match strpath dump strpath load dump ndarray isinstance skip strpath assert_array_equal decompress dump load strpath load dump skip strpath assert_array_equal ndarray isinstance strpath load dump BytesIO ndarray isinstance assert_array_equal assert_array_equal random strpath random strpath dump BytesIO random BinaryZlibFile close write strpath match format escape strpath match strpath match shape SubArray load dump SubArray strpath assert_array_equal load dump assert_array_equal strpath load dump strpath assert_array_equal zeros listen socket arange accept bind AF_INET assert_array_equal SOCK_STREAM create_connection load dump strpath assert_array_equal ALLOCATIONGRANULARITY pop register_compressor BinaryCompressorTestWrapper match match pop register_compressor format AnotherZlibCompressorWrapper StandardLibGzipCompressorWrapper match dump strpath match strpath asbytes strpath close strpath BinaryZlibFile sleep setattr start Thread join Queue list range list range append list Manager list index join value tb format_exception type register_parallel_backend register_parallel_backend setitem check_backend_context_manager setitem sleep check_nesting_level register_parallel_backend JoblibException dumps repr SafeFunction get get_start_method Parallel T RandomState randn get_context dot format skip check_subprocess_call join format write skip check_subprocess_call join write check_subprocess_call join write check_subprocess_call iter assert_array_equal len generate_arrays zip load dump strpath assert_array_equal ALLOCATIONGRANULARITY time p strpath Parallel sleep range p Parallel Parallel parallel_backend unregister _backend title ones int range Client xfail value get items list endswith cpu_count max dot randn _parent_max_num_threads_for _check_numpy_threadpool_limits cpu_count effective_n_jobs skip check_child_num_threads max _check_numpy_threadpool_limits cpu_count effective_n_jobs skip check_child_num_threads max get shutdown get_reusable_executor parallel_call range range concurrency_safe_write concurrency_safe_rename strpath join check_subprocess_call match format DOTALL join match compile DOTALL join match compile join dump format compress cache_size version_info get_joblib_version method startswith append Comma parent find_root set children remove Node suite append_child enumerate extend parent next_sibling Name Node import_as_name children FromImport simple_stmt find_root is_docstring Node prefix insert_child check_future_import does_tree_import enumerate children FromImport simple_stmt find_root Node prefix insert_child does_tree_import enumerate dict value enumerate children FromImport simple_stmt next_sibling find_root Node prefix import_name insert_child check_future_import does_tree_import enumerate add value children set stage1 rstrip getLogger nobackups summarize nofix warn output_dir sep list_fixes print_function sorted commonprefix refactor add dirname union update all_imports set StdoutRefactoringTool version info unicode_literals refactor_stdin processes write write_unchanged_files fix PY26 format SLASH isinstance SLASH format format children children remove clone Node suite append_child enumerate children remove simple_stmt clone Node expr_stmt prefix insert_child append_child enumerate remove children list remove_trailing_newline fixup_simple_stmt enumerate pop prefix extend children find_assign is_subtree PATTERN Features set split join join items list split join build_import_pattern next_sibling value prev_sibling len remove Name LParen insert_child RParen str Node Leaf arith_expr append power PLUS getdoc pop items list decorator_maker __wrapped__ decorator append get enable_gui get_ipython get_backend register unregister get_ipython gcf get debug close _get_required_interactive_framework _backend_module_name getattr _get_running_interactive_framework backend_version signature _warn_external _warn_if_gui_out_of_main_thread _warn_if_gui_out_of_main_thread uninstall_repl_displayhook interactive install_repl_displayhook interactive show canvas draw_idle stale start_event_loop sleep get_active draw_all is_interactive get_fig_manager int draw_if_interactive set_label new_figure_manager clear isinstance get_fignums index _warn_external get_figlabels _set_new_active_manager get_active sort get_all_fig_managers int destroy_all hasattr isinstance destroy_fig get_active destroy get_figlabels draw_idle gcf draw_idle gca remove manager set_active gcf fully_overlaps axes add_subplot delaxes _warn_external append bbox figure figure gcf fully_overlaps axes add_subplot delaxes append new_subplotspec bbox gca gca gcf manager hasattr canvas set_active subplots_adjust gca set_frame_on gca set_xlim gca set_ylim update set_xticklabels get_xticklabels set_xticks gca get_xticks update get_yticklabels set_yticklabels set_yticks get_yticks gca gca get_gridlines set_rgrids get_ticklabels gca set_thetagrids get_ticklines get_ticklabels getmodule join replace get_plot_commands match __doc__ append max compile len gca gci gci set_clim get_cmap gci rc sci add_axes figure gca asanyarray gca _warn_external plot get_axes sci sci sci sci sci sci sci sci sci sci ScalarMappable sci isinstance sci lines sci sci sci set_cmap set_cmap set_cmap set_cmap set_cmap set_cmap set_cmap set_cmap set_cmap set_cmap set_cmap set_cmap set_cmap set_cmap set_cmap set_cmap set_cmap set_cmap set_cmap decode isinstance replace converter rstrip startswith split list rstrip _to_int CharMetrics ord map dict _to_float _to_list_of_floats startswith _to_str rstrip next startswith split rstrip CompositePart _to_float startswith append split rstrip int _deprecate_privatize_attribute classmethod __func__ axes compile pprint_getters join ArtistInspector print join list pprint_setters isinstance print ArtistInspector flatten OrderedDict len ArtistInspector _LazyTickList property _make_getset_interval _make_getset_interval FigureCanvas isinstance signature draw_idle minorTicks get_xscale forward __getitem__ get_axes canvas set_yscale toolbar home majorTicks destroy_all _update_cursor zoom _get_uniform_gridstate inaxes destroy_fig pan enumerate int set_xscale get_yscale save_figure back warn_deprecated figure set_navigate key full_screen_toggle str button canvas MouseButton back toolbar forward list range SELECT_REGION MOVE items list add_tool add_tool enumerate min arange append asarray _de_casteljau1 inside_closedpath bezier_point_at_t find_bezier_t_intersecting_with_closedpath point_at_t split_de_casteljau BezierSegment iter_segments split_bezier_intersecting_with_closedpath concatenate reshape Path next inside abs arctan2 _warn_external get_normal_points get_cos_sin get_intersection check_if_parallel get_normal_points get_cos_sin find_control_points codes LINETO MOVETO vertices full len LEFT RIGHT MIDDLE items list partial callable items list reversed values Colormap isinstance name LinearSegmentedColormap _check_isinstance warn_deprecated sorted Colormap _check_in_list isinstance _deprecate_privatize_attribute zeros IdentityTransform empty unit_regular_polygon pi unit_regular_star unit_regular_asterisk pi _warn_external items list warn_deprecated get_gridspec Bbox get_figure set_aspect _check_in_list splitx layoutcolorbargridspec _set_position splity union get_position iterable add_axes pop set_anchor layoutcolorbarsingle transform ravel anchored BboxTransform GridSpecFromSubplotSpec pop gs_from_subplotspec set_aspect _layoutbox setdefault set_subplotspec add_subplot get_gridspec get_figure _set_position set_anchor update_params nonetree figbox Colorbar update_normal ColorbarPatch connect item to_rgba _is_nth_color max to_rgba_array get _is_nth_color _to_rgba_no_colorcycle isinstance tuple map match any float isinstance getdata copy any _str_lower_equal array column_stack to_rgba cache staticmethod data concatenate shape any linspace callable array clip warn_deprecated getattr max asarray zeros_like ptp shape array asarray astype empty_like shape stack array range _check_in_list set_under ListedColormap start BoundaryNorm set_over len set_label add_callback pchanged get_label remove_callback dot sum all inf argmin _find_closest_point_on_leg append _is_closed_polygon sum astimezone getattr replace datetime64 get_epoch float64 astype datetime64 int64 nan int replace get_epoch tolist _get_rc_timezone datetime64 astimezone timedelta microsecond round timedelta64 parse asarray isinstance dtype asarray hasattr datetime64 issubdtype values astype astype _get_rc_timezone ceil int date2num total_seconds astype astype epoch2num int MinuteLocator YearLocator DayLocator DateFormatter MonthLocator HourLocator WeekdayLocator partial all sub read_text group decode _check_and_log_subprocess isinstance find_tex_file figure property array clip append get_family _escape_val set update HKEY_CURRENT_USER set win32FontDirectory HKEY_LOCAL_MACHINE _win32RegistryFonts check_output warning update list isinstance get_fontconfig_fonts get_fontext_synonyms map set list_fonts abspath win32InstalledFonts int get_sfnt get_weight family_name any style_flags ITALIC lower any get_familyname FT2Font debug ttfFontProperty set add append afmFontProperty pop update join fname get_data_path __new__ isinstance realpath json_dump FontManager info property int sum code_type set_vertices_and_codes empty make_image NEAREST x0 resample Bbox translate append zeros union y0 flush_images draw any get_image_magnification append dtype get_resample get_filterrad get_interpolation resample get_filternorm transform zeros abs array diff zeros _deprecate_privatize_attribute _deprecate_privatize_attribute hasattr urlparse isinstance set_clim tuple paste save Figure frombuffer PngInfo _str_equal list add_text new savefig _warn_external fspath PathLike ScalarMappable lower items figimage isinstance setdefault to_rgba endswith convert startswith tobytes frombuffer mode im_rawmode mode FigureCanvasBase add_axes shape imshow savefig figure Figure imread property update hasattr get_default_handler_map get_label copy get_legend_handler parasites append _get_legend_handles get_label list zip getLogger any warning _warn_external _get_legend_handles_labels get_children update_from next iter get isinstance tuple warn_deprecated sum nonzero iterable arange isinstance cumsum abs argmin vertices unique transform hypot empty filled_markers fillstyles property markers Path namedtuple namedtuple split set split set str _get_data_path get family_name setParseAction Empty dict split set parse FontProperties text FigureCanvasAgg MathTextParser savefig Figure pop list asarray iterable stride_repeat window ones shape asarray callable asarray asarray arange size mean cov int asarray int asarray arange window roll resize unwrap abs dtype _check_in_list stride_windows angle ones len detrend sum asarray slice iscomplexobj reshape conj _check_in_list _spectral_helper real len csd mean _spectral_helper _spectral_helper real _warn_external abs csd psd mbbox_artist list _check_in_list arange cumsum zip sum max len _check_in_list max property validCap validJoin _deprecate_privatize_attribute property property Path property property pop update get_window_extent draw copy Rectangle points_to_pixels set_transform draw Rectangle WeakValueDictionary uint8 code_type __doc__ arange atleast_1d meshgrid ravel len format __name__ datetime64 exists lower isinstance lower isinstance iterable warn_deprecated isinstance __name__ validate_int _str_equal _str_equal is_color_like literal_eval isinstance lower isinstance parse_fontconfig_pattern lower warn_deprecated isinstance lower isinstance warn_deprecated validate_string warn_deprecated validate_string warn_deprecated lower isinstance warn_deprecated literal_eval isinstance lower warn_deprecated _deprecate_case_insensitive_join_cap _check_in_list _deprecate_case_insensitive_join_cap _check_in_list all isinstance warn_deprecated lower isinstance lower isinstance validate_float validate_float _check_isinstance set get items list validator append get update list items isinstance set eval change_key keys _check_isinstance set_dirty inet_aton isinstance property property lower _check_in_list items list extend sum _check_in_list zeros_like cumsum hstack row_stack iter append fill_between set_prop_cycle range get_next_color len set_cmap autoscale_view integrate grid2data cumsum data2grid FancyArrowPatch hypot max StreamMask _check_in_list ndarray get_integrator searchsorted shape append PatchCollection DomainMap LineCollection cmap mask2grid hstack copy add_collection StreamplotSet Normalize transData get_cmap set_norm get_next_color _gen_starting_points set_array norm isinstance reshape min extend add_patch dict masked_invalid Grid zorder array diff ny sqrt data2grid nx ny within_grid min f shape nx update_trajectory append hypot inf f min shape append int ndarray isinstance astype is_masked shape clip range auto_set_column_width add_table add_cell Table _approx_text_height range len join compile get_cachedir _get_wrapped_text get_wrap get_text set_text _get_layout extend deg2rad rotate transform get_rotation maxdict property property property warn_external copysign abs log10 dict abs log _decade_less_equal _decade_greater_equal get_tight_layout set_axes_locator object bbox _boxout set_bounds frozen set_tight_layout get_axes_locator width append bbox_inches height dpi scale from_bounds TransformedBbox axes apply_aspect invalidate restore_bbox adjust_bbox max get_visible height all get_size_inches _warn_external inverted divmod dict TransformedBbox _suptitle zip zeros union range get_size_in_points canvas _cachedRenderer get_topmost_subplotspec hasattr get_subplotspec locally_modified_subplot_params get_gridspec get_axes_locator append get_position _warn_external setdefault auto_adjust_subplotpars divmod get_geometry zip append max partial indent __doc__ _make_str_method _make_str_method _make_str_method property _make_str_method _make_str_method identity _make_str_method property _make_str_method property _make_str_method isinstance _make_str_method _make_str_method _make_str_method _make_str_method _make_str_method list abs max map _check_in_list compile iterable property property pi zeros len axes get_rect children _make_layout_margins _align_spines get_gridspec _make_ghost_gridspec_slots transform_bbox update_variables hasattr _layoutbox add _set_position _warn_external range edit_height height debug isfinite _axes_all_finite_sized set get_rect _suptitle _is_gridspec_layoutbox get_window_extent axes invTransFig set_y _arrange_subplotspecs get_subplotspec axes add_subplot set_visible get_geometry zeros enumerate h_pad edit_left_margin_min edit_right_margin_min w_pad y0 transform_bbox constrain_left_margin x1 get_position edit_bottom_margin_min debug y1 constrain_width_min edit_top_margin_min constrain_top_margin x0 invTransFig constrain_right_margin constrain_height_min figure get_tightbbox constrain_bottom_margin get_width_ratios constrain_width align _spans_overlap get_height_ratios ones constrain_height width append sum range rowspan height colspan debug constrain_width_min get_geometry enumerate get_subplotspec constrain_height_min len children rowspan _is_subplotspec_layoutbox colspan hstack artist vstack get_geometry _is_gridspec_layoutbox constrain_width height align _layoutbox constrain_height hstack _poslayoutbox LayoutBox match_heights vstack match_widths width start stop inf get_subplotspec children constrain_width get_gridspec vstack top _layoutbox constrain_height right _poslayoutbox LayoutBox width left _getmaxminrowcolumn height hstack artist constrain_left constrain_bottom bottom recurse write set StringIO run FigureCanvasAgg info len range addConstraint len range addConstraint len range addConstraint len range addConstraint ones addConstraint range len ones addConstraint range len match_heights vstack hstack match_widths addConstraint range parent addConstraint range parent addConstraint range parent addConstraint range parent addConstraint match_left_margins match_right_margins match_bottom_margins match_top_margins match_width_margins match_height_margins print children parent reset nonechildren children print print_children parent children value isinstance print text draw add_patch add_axes set_facecolor Rectangle set_alpha Figure get_renderer OrderedDict get_char_index load_glyph ord decode warn_deprecated isinstance import_module setFormatter addHandler StreamHandler BASIC_FORMAT Formatter upper setLevel str Path exists impl _get_executable_info _get_executable_info warning get mkdtemp rmtree warning Path mkdir resolve home register is_dir warn_deprecated Path warn str get_candidate_paths is_dir warn_deprecated with_name gen_candidates _validators getpreferredencoding expanduser items list RcParams dict warn_deprecated warning _rc_params_in_file join debug info items list isinstance update rc_file copy validate_backend get switch_backend format warning pop use setrecursionlimit getrecursionlimit any get_backend main exists isinstance format cleandoc Parameter list replace name insert _add_data_doc __doc__ KEYWORD_ONLY append signature values from_bounds _contour_doc format table streamplot tripcolor tricontourf _preprocess_data stackplot tricontour triplot dedent_interpd __doc__ quiver_doc str to_rgba int format Grouper _axis_method_wrapper from_bounds warn_deprecated subplot_class_factory RLock _from_pointer iter_segments asarray curve_to line_to get_current_point close_path move_to attr getattr ENTER_NOTIFY_MASK KEY_PRESS_MASK POINTER_MOTION_HINT_MASK SCROLL_MASK BUTTON_RELEASE_MASK KEY_RELEASE_MASK BUTTON_PRESS_MASK LEAVE_NOTIFY_MASK POINTER_MOTION_MASK EXPOSURE_MASK join get_toplevel map destroy MessageDialog run append append join enumerate len group utcfromtimestamp int replace Name today getenv _warn_external daylight utcoffset strftime timezone seconds altzone encode hasattr isinstance compile _get_data_path append findfont Path zip _replace_escapetext enumerate _replace_mathdefault split write append get_size_in_points str decode isinstance _datetime_to_pdf datetime _get_executable_info which WeakSet as_posix _stdin_writeln _get_cached_or_new _expect_prompt _deprecate_privatize_attribute set cleanup_remaining_tmpdirs _cleanup_remaining_instances items sorted startswith int rstrip isinstance sub replace is_writable_file_like move _get_data_path warning range func _check_and_log_subprocess pstoeps remove move remove move glob _get_executable_info _check_and_log_subprocess pstoeps get_bbox_header remove move get hasattr connect import_module AA_EnableHighDpiScaling setAttribute AA_UseHighDpiPixmaps QApplication quit instance __init__ Signal insert Signal index replace escape_cdata replace to_values write StringIO len items sorted write escape_attrib StringIO get_all_fig_managers FigureClass FigureCanvasTemplate FigureManagerTemplate number initialize Template read_text start FigureManagerWebAgg replace int lower chr print Destroy ShowModal MessageDialog WeakKeyDictionary _load_bitmap AddIcon SetIcons Icon IconBundle _deprecate_privatize_attribute int buffer_rgba height FromBufferRGBA NullBitmap x0 MemoryDC Bitmap y1 width Blit SelectObject pyqtSlot pyqtProperty PYQT_VERSION_STR getSaveFileName pyqtSignal isdeleted getSaveFileName _setup_pyqt4_internal hasattr setDevicePixelRatioF setDevicePixelRatio str asarray blank min interpaddr floor ceil max __array__ apply_callback get_alpha list sorted hasattr get_label map append converter fedit get_clim get_ylim get_lines get_xlim get_color get_cmap to_hex get_markeredgecolor get_units to_rgba get_markerfacecolor bool QColor Signal Property to_rgba QColor setRgbF setPointSize setItalic setFamily setBold QFont text Signal Signal Signal QApplication startingUp FormDialog exec_ create_datalist_example print get format _generate_deprecation_warning _warn_external signature pop replace kind signature next KEYWORD_ONLY signature replace POSITIONAL_OR_KEYWORD warn_deprecated getattr __name__ get f_back list event_loop_is_running values print_exc pop _warn_external replace write PathLike replace isinstance hasattr endswith BZ2File warn_deprecated fspath open to_filehandle lower _get_data_path warn_deprecated realpath stat int replace strip call getpid newbyteorder shrink_mask array masked_invalid recurse write reshape arange len is_scalar_or_string data asarray ndarray isinstance reduce isfinite MaskedArray append filled enumerate len is_scalar_or_string safe_masked_invalid getmaskarray reduce is_masked append asanyarray array enumerate len percentile max asarray _compute_conf_interval _reshape_2D min hstack isreal mean repeat warn_deprecated nan isscalar zip append array enumerate len asarray tolist nonzero append len str count hasattr T ndarray isinstance reshape ndim append to_numpy asanyarray percentile _reshape_2D min mean atleast_1d linspace zip append median max method len zeros zeros zeros asanyarray _check_1d isinstance Iterator get items list dict getattr name with_name range Path make_alias list format items getattr setattr get_aliased_and_aliases _unfold items list isinstance object type getattr setattr f_back _getframe warn count take astype rollaxis multiply take stdout decode isinstance debug stderr returncode _pformat_subprocess run append tuple list items items list join list items shape iter chain items list _make_str_method _make_str_method _make_str_method _make_str_method _make_str_method register latex_math get find format parent isinstance latex2png outdir Path mkdir TextElement add_role add_directive add_node items remove list astext append config connect add_config_value confdir search compile M match strip split join strip append contains_doctest split chdir getcwd plot_working_directory dirname abspath update rc_file_defaults close append split isinstance plot_formats clear out_of_date clear_state split_code_at_show close savefig ImageFile filename append get_all_fig_managers plot_rcparams get_plot_formats run_code enumerate count config outdir abspath sep contains_doctest plot_include_source basename map copyfile plot_basedir render dirname normpath confdir get_plot_formats get replace uri relpath srcdir doctreedir mkdir splitext startswith insert_input render_figures enumerate join write_text document setdefault makedirs extend read_text filenames dedent len format _warn_external update _remove_blacklisted_style_params _apply_style rc_params_from_file read_style_directory expanduser iter_user_libraries update_nested_dict read_style_directory join basename is_style_file match abspath listdir dict warning message glob update items list update_user_library sorted keys splitext mkdir Path get_cachedir md5 encode update _get_executable_info suffix parent skip copyfile Path get_file_hash exists shape int16 join asarray save_diff_image convert astype crop_to_same calculate_rms array_equal dict make_test_filename fspath uint8 asarray convert astype crop_to_same shape empty save abs _init_tests use addinivalue_line getfixturevalue function args importorskip deregister copy callable make_cleanup StrictVersion __freetype_version__ isinstance set_minor_formatter set_title suptitle NullFormatter set_major_formatter get_axes compare_images relpath values isinstance args list map KEYWORD_ONLY dict KEYWORD_ONLY ascii_letters digits set parent __file__ stem Path mkdir resolve print install_opener ProxyHandler build_opener check_internet_off print install_opener turn_off_internet set_aspect draw subplots plot ax Mock canvas getattr func use setlocale set_reproducibility_for_testing set_font_settings_for_testing LC_ALL int pi EpochConverter UnitDblConverter StrConverter encode _to_str BytesIO _parse_header BytesIO _parse_header _parse_char_metrics BytesIO AFM AFM replace BytesIO BytesIO BytesIO BytesIO seek tuple savefig set_facecolor set_alpha assert_array_almost_equal Figure BytesIO subplots set_xlim add_artist savefig PathCollection BytesIO subplots arange semilogx savefig fill_between seed BytesIO subplots plot rand savefig get_xdata set_transform get_zorder subplots plot set_agg_filter offset_copy get_transform set_xlim set_rasterized set_zorder set_visible DropShadowFilter figure get_ydata update_from set_ylim BytesIO figure list subplots plot draw sin range BytesIO savefig plot open BytesIO add_text savefig PngInfo open BytesIO savefig open plot set_agg_filter axes set_rasterized pcolormesh subplots plot dict NullMovieWriter make_animation save setup DummyMovieWriter figure set_size_inches subplots plot set_xlim skip set_ylim save set_level records NullMovieWriter subplots plot save FuncAnimation annotate draw_arrow subplots len tick_params enumerate sorted get_styles text len figure enumerate set_xlim add_subplot add_patch figure FancyArrowPatch set_ylim __prepare_fancyarrow_dpi_cor_test __prepare_fancyarrow_dpi_cor_test FancyArrowPatch subplots add_patch sorted subplots get_styles set_xlim add_patch FancyArrowPatch enumerate set_ylim len sorted subplots get_styles set_xlim add_patch FancyArrowPatch enumerate set_ylim len FancyArrowPatch Angle3 add_patch axes Ellipse get_transform set_xlim add_patch transform set_ylim set_transform axes Ellipse set_xlim add_collection transform PatchCollection set_ylim deepcopy subplot set_xlim add_patch add_collection set_clip_path make_compound_path PathPatch transData PathCollection set_ylim BytesIO subplots plot set_xlim random savefig RegularPolyCollection subplots set_xlim add_patch add_collection Rectangle set_ylim subplots plot reshape draw imshow subplots arange plot text set_xlim add_patch bar PathPatch Path set_ylim Line2D properties list subplots plot setp chain range values StringIO list subplots plot set_zorder range get_valid_values ArtistInspector Line2D get_aliases set_xlabel set_ylabel subplots set_label subplots set_xlabel colorbar set_ylabel scatter set_label subplots set_xlabel colorbar set_ylabel scatter set_label subplots set_xlabel colorbar set_ylabel scatter seed subplots arange acorr vlines cumsum dot axhline correlate seed subplots plot ones reshape shuffle spy set imshow set_ticks_position tick_top subplots use matshow rand add_subplot imshow set_ticks_position tick_top subplots plot set_xlabel autoscale_view register subplots set_major_formatter FuncFormatter StrMethodFormatter set_minor_formatter subplots FixedLocator set_major_locator set_minor_formatter plot twiny LinearLocator add_subplot FormatStrFormatter pi set_minor_locator twinx figure linspace sin set_major_formatter FixedFormatter subplots twiny draw twinx cla arange plot remove_ticks_and_titles add_subplot add_artist Path PathPatch plot margins add_axes twinx figure array set_autoscaley_on subplots set_autoscalex_on twiny twinx set_inverted subplot plot random cos pi autoscale close imshow figure linspace gca cla minorticks_on subplots plot flat subplots plot enumerate subplots plot autoscale get_ylim get_xlim assert_allclose subplots arange draw semilogx autoscale loglog get_ylim get_xlim assert_allclose subplots autoscale imshow get_ylim get_xlim assert_allclose reshape add_subplot pcolormesh arange plot add_subplot cos pi figure annotate subplots subplots product arrow zip set_xlim cos pi flat sin set_ylim enumerate subplots arrow subplots arrow annotate subplots arange plot Duration add_subplot deg date2num Epoch autofmt_xdate figure fill register subplot figure plot subplots plot datetime64 date2num plot_date subplots plot reshape set ravel subplots array plot subplots plot grid pi linspace meshgrid flat Duration convert set_xlim Epoch gca register axvspan axhspan Duration convert Epoch gca register set_ylim reshape subplots hexbin gca hexbin SimpleNamespace reshape subplots hexbin seed subplots standard_normal hexbin colorbar power subplots plot invert_yaxis set_yscale close invert_xaxis set_ylim subplots arange plot e nan list subplots arange range len subplots add_subplot indices sqrt imshow figure subplots get_transform TransformedPath indices sqrt imshow contour imshow subplots subplots set_xbound set_ybound PolyCollection add_collection array subplots subplots subplots arange plot masked pi sin fill_between masked_greater fill_betweenx subplots plot set_xlim array set_ylim set_xscale subplots plot set_yscale array set_ylim set_xscale subplots arange plot grid zip set_ylim meshgrid hypot list pcolor subplots ptp min cos pcolormesh linspace sin meshgrid hypot masked_where vir arange ListedColormap subplots ptp min add_patch pcolormesh linspace Rectangle sin meshgrid hypot get_cmap subplot arange set_rotation get_xticklabels subplots_adjust pcolormesh set_ha repeat figure meshgrid array datetime get_axes subplot arange set_rotation get_xticklabels subplots_adjust set_ha repeat figure pcolor meshgrid array datetime get_axes subplots shape NaN linspace meshgrid hypot zeros seed subplots arange randn pcolormesh diff seed subplots arange randn pcolormesh seed subplots arange randn pcolormesh diff subplots plot subplots plot Ellipse Arc set_xlim add_patch flat set_ylim enumerate arange Arc cos add_subplot deg2rad add_patch dot figure sin fill array plot add_subplot sqrt linspace figure sin legend plot add_subplot sqrt linspace figure sin legend subplot str plot GridSpec title linspace sin enumerate len subplot str plot GridSpec title ylim linspace sin xlim enumerate len yscale subplot str plot xscale GridSpec title linspace sin enumerate len subplot str plot pi GridSpec title linspace enumerate len plot add_subplot linspace figure sin gca bar add_subplot figure bar subplots bar subplots gca bar gca bar bar subplots barh subplots bar subplots barh subplots gca bar gca bar gca barh subplots barh bar broken_barh array datetime rand year figure boxplot sum subplots plot to_datetime index bar DataFrame bar DataFrame subplots x Series index plot concatenate add_subplot hist linspace figure set_yscale hist subplots enumerate set_yscale hist subplots draw gca hist gca hist seed subplots set_title randn patches hist flat zip set_ylim seed hist standard_normal subplots RandomState randn hist histogram assert_allclose hist subplots date2num hist subplots assert_allclose hist asarray hist add_subplot patches cos linspace sin contour_dat add_subplot figure contourf contour_dat add_subplot colorbar contourf figure add_lines contour seed randn add_subplot hist2d figure seed randn add_subplot hist2d figure array subplots random hist2d _parse_scatter_color_args assert_allclose colors pop _parse_scatter_color_args subplot axes close pi Polar gca sca close subplots set_xscale plot set_yscale invert_yaxis add_subplot linspace figure log MultipleLocator set_major_locator subplots set set_xscale set_yscale add_subplot figure set_xlim add_subplot stackplot figure linspace set_ylim seed list T subplots layers stackplot range seed boxplot_stats get set_xscale subplots bxp set_yscale lognormal transform_stats _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper _bxp_test_helper seed subplots hstack linspace boxplot set_ylim seed subplots hstack linspace boxplot set_ylim subplots hstack linspace boxplot set_ylim seed subplots ones hstack boxplot set_ylim hstack linspace seed _rc_test_bxp_helper subplots zip seed hstack add_subplot linspace figure boxplot array set_ylim axes set_yscale grid boxplot array hstack subplots linspace hstack subplots linspace subplots arange subplots arange boxplot subplots set_color boxplot seed subplots axes violinplot axes seed violinplot axes seed violinplot axes seed violinplot axes seed violinplot axes seed violinplot axes seed violinplot axes seed violinplot axes seed violinplot axes seed violinplot axes seed violinplot axes seed violinplot axes seed violinplot axes seed violinplot axes seed axes seed axes seed axes seed seed violinplot subplots seed Series normal violinplot seed normal subplots set_xlim get_xlim boxplot assert_array_equal draw rand subplots boxplot update BytesIO savefig plot exp arange errorbar set_title subplots suptitle set_yscale locator_params maximum sqrt figure gca subplots arange plot errorbar subplots arange zip errorbar T exp arange sqrt figure gca exp arange errorbar zeros_like set_title set_xlim add_subplot figure full_like arange errorbar rc cycler subplots errorbar subplots errorbar plot linspace zip hist add_subplot linspace figure hist add_subplot linspace figure set_xlim add_subplot hist linspace figure set_ylim hist add_subplot linspace figure hist add_subplot linspace figure subplots stem pi dict linspace legend list stem add_subplot figure range stem subplots hist add_subplot linspace figure hist add_subplot linspace figure hist subplots linspace hist add_subplot linspace figure assert_array_equal hist get_xy assert_array_equal hist get_xy assert_array_equal hist get_xy assert_array_equal hist get_xy assert_array_equal hist get_xy assert_array_equal hist get_xy assert_array_equal hist get_xy assert_array_equal hist get_xy hist add_subplot figure legend hist add_subplot figure hist subplots seed plot add_subplot random figure subplots plot axis dict enumerate grid add_subplot figure T transform add_subplot pi figure linspace assert_array_almost_equal meshgrid T transform add_subplot figure linspace assert_array_almost_equal meshgrid seed plot add_subplot random figure seed arange tolist add_subplot eventplot figure len seed tolist add_subplot eventplot figure subplots zip to_rgba_array broadcast_to eventplot get_color assert_allclose seed tolist add_subplot eventplot figure eventplot draw subplots draw subplots sorted arange plot markers ones add_subplot figure enumerate subplots arange plot enumerate list plot set_xlim add_subplot figure range set_ylim list errorbar set_title plot axvline axhline figure gca zeros range subplots plot axvline set axhline axline set_xscale set_yscale subplots masked_equal set_xlim subplots vlines subplots hlines masked_equal subplots set_ylim subplots hlines vlines subplots arange set_xlim flatten zip step set_ylim Circle set_offsets set_linewidths set_xlim add_subplot add_collection set_edgecolors figure set_color PatchCollection set_ylim subplot int64 twinx int32 seed int arange subplots concatenate min log2 specgram zip ceil sum seed int arange subplots concatenate hstack min log2 specgram zip ceil sum seed int arange subplots concatenate hstack min log2 specgram zip ceil sum ones get_extent specgram seed int arange subplots psd concatenate min set log2 zip ceil sum csd seed int angle_spectrum arange subplots min hstack magnitude_spectrum set phase_spectrum log2 zip ceil sum plot set_position make_patch_spines_invisible set_xlim add_subplot subplots_adjust dict set_visible twinx figure set_color get_color tick_params set_ylim plot add_subplot twinx figure fill_between array add_subplot figure plot axvline get_ylim figure gca assert_allclose subplots get_xlim plot get_ylim set_aspect subplots set_aspect draw subplots plot set_aspect get_position height subplots plot draw width set_aspect assert_array_equal subplots extents autoscale_view plot add_subplot relim set_visible Figure gca tick_params figure subplots pie gca pie axis figure annotate pie axis pie axis pie axis pie axis pie axis ylim pie axis legend dict pie subplots subplots subplots pie list subplots arange plot set_title set_xticklabels set_yticklabels set_yticks get_xticklabels get_yticklabels set_xticks get_yticks get_xticks range subplots arange plot draw locator_params set_ticks set_ticklabels subplots arange plot set_ticks bar set_xticks subplots set_xticklabels subplots plot get_yticklabels setp tick_params subplots set_xlim draw set_xticks set_major_formatter FuncFormatter subplots plot ones margins linspace range subplots plot min margins max len subplots use plot set hist subplots hexbin savefig BytesIO subplots subplots plot subplots hist subplots legend hist subplots legend get_position subplots plot tick_right draw random tick_top figure enumerate subplots arange plot axis extents assert_array_almost_equal array subplots set_xscale set_yscale subplots flat violinplot array cycler gca remove errorbar ones_like subplots plot linspace range subplots set_title get_matrix subplots set_title loglog subplots arange tick_params set_xscale subplots arange set_yscale ndenumerate loglog subplots arange plot barh imshow bar hist pcolorfast pcolor zeros add_axes gca subplots figure shared_axis_remover remove subplots set_xlim get_xlim assert_array_equal subplot arange random_sample set_xlim contour set_ylim set_aspect set_params subplots set_xlim draw set_ylim subplots loglog subplots broken_barh subplots broken_barh subplots datetime subplots arange rand pcolormesh date_range list arange plot copy sin gca DataFrame array range len uniform DataFrame subplots errorbar index DataFrame subplots plot Series hist subplots bar DataFrame subplots draw subplot set_tick_params subplot tick_params subplot tick_params subplot tick_params list subplots range plot bar array patches zip subplot plot_date figure subplot plot_date figure subplot utc figure plot_date list Circle subplots plot set_axisbelow grid add_patch set_visible zip tick_params values subplots use set_title twiny set_xlabel draw y1 y0 get_renderer subplots set_title twiny set_position set_xlabel subplots_adjust _update_title_position get_renderer set_ticks_position subplots set_title draw tick_params draw subplots set_title set_title draw add_axes figure tick_params set_tick_params add_subplot figure plot set_tick_params add_subplot figure plot draw subplots plot array barbs subplots linspace len quiver subplots linspace len list subplots plot to_rgb bar range subplots plot get_yticklabels get_xticklabels tick_params set_tick_params fill_betweenx list format subplots to_rgba fill_between range enumerate subplots get_transform semilogx set_xmargin get_xlim transform assert_allclose subplots scatter arange eventplot legend list subplots barh bar range plot subplot set_xscale plot minorticks_on set_yscale subplots plot intervalx twinx assert_array_equal axvspan plot subplots legend errorbar arange plot plot get_tightbbox subplots axis get_renderer set_aspect subplots indicate_inset draw cos pcolormesh apply_aspect sin array set_aspect inset_axes subplots assert_allclose set_xlim cos draw pcolormesh apply_aspect get_points indicate_inset_zoom sin get_aspect array set_ylim subplots arange plot indicate_inset invert_yaxis invert_xaxis set_aspect set_position subplots subplots get_window_extent get_points _set_view_from_bbox assert_allclose get_renderer subplot_class_factory subplots text remove_ticks_and_titles NaN width assert_allclose get_renderer list Series uniform scatter range scatter set_aspect inset_axes exp subplots plot set_visible linspace sin annotate subplots arange plot secondary_xaxis secondary_yaxis secax enumerate subplots arange plot set_size_inches subplots arange plot draw secondary_xaxis extents assert_allclose set_xscale subplots arange plot minorticks_on draw secondary_xaxis set_xscale subplots ScalarFormatter draw set_major_formatter secondary_xaxis get_window_extent draw add_artist Rectangle get_tightbbox enumerate get_renderer bounds enumerate from_bounds assert_array_almost_equal bounds assert_allclose from_bounds enumerate bounds assert_allclose from_bounds enumerate enumerate add_subplot axis subplots axis subplots plot datetime64 date2num array masked_greater hist hist subplots assert_allclose hist rand bar lines subplots patches set_xticks subplots invert_xaxis get_position plot margins add_subplot set figure transform_bbox plot margins set add_axes apply_aspect figure set_aspect get_position subplots plot draw margins twinx assert_array_equal extents set_box_aspect get_position subplots set_position draw assert_array_equal extents set_box_aspect subplots get_window_extent assert_allclose draw extend flat get_renderer set_visible subplots axes get_major_ticks axes get_major_ticks subplots arange draw scatter get_ylim linspace assert_array_equal set_ylim subplots arange set_xlim draw scatter linspace get_xlim assert_array_equal pi linspace plot bar draw subplots get_major_ticks draw subplots zip append join format param returncode fail skip run SIGINT format close perf_counter importorskip urlopen send_signal Popen poll returncode fail run Affine2D check reshape range str figure FigureCanvasBase get_default_filename FigureCanvasBase close figure environ setitem subplots LocationEvent FigureCanvasBase subplots MouseEvent RIGHT subplots zoom canvas name NavigationToolbar2 astype set LEFT get_ylim get_xlim process subplots concatenate unit_circle set_xlim add_patch add_collection Path PathPatch unit_regular_star PathCollection set_ylim parent set_title text add_subplot axhline figure BytesIO plot add_subplot savefig figure BytesIO seek remove add_subplot figure plot arange set_xlim add_subplot imshow figure sin meshgrid list BytesIO subplots plot importorskip setenv savefig range list BytesIO subplots plot importorskip setenv range Rectangle figure legend exp subplots set_yticks imshow set_xticks nan text setattr subplots PsfontsMap plot set_axis_off add_subplot linspace sin xlabel str join savefig BytesIO subplots plot join compare_images savefig copyfile plot text ylabel ylim figure linspace fill fill_between xlim update create_figure get update xfail create_figure enumerate update join plot ylim savefig figure xlim update set_rasterized figure update compare_figure list plot inverted add_subplot tight_layout transformed figure range update join list subplots plot tight_layout range update join list subplots plot importorskip setenv range BytesIO savefig figure suptitle imshow savefig subplots join update setenv subplots subplots plot mkdir Path text set_axis_off subplots plot set_level BytesIO savefig figtext Parse ones_like subplots errorbar pi set_visible linspace sin ParserCreate scatter add_subplot figure arange add_subplot imshow figure sin meshgrid format figure suptitle arange set_title plot set_xlabel add_subplot set_ylabel figure arange set_title plot set_xlabel add_subplot set_ylabel figure rc Figure text subplots text set_xlim datetime64 set_ylim set_gid get_visible list items plot draw add_subplot imshow bar scatter twinx figure legend findobj include enumerate BytesIO savefig set_urls BytesIO subplots plot getvalue scatter savefig set_url get_major_ticks subplots BytesIO len getvalue setenv scatter savefig set_url range enumerate setenv subplots subplots fromstring tostring setenv findall fromstring subplots findall fromstring subplots subplots canvas Toolbar figure window importorskip call environ dict print dir dedent check_call arange table xlim bar reverse legend append zeros xticks range len arange plot suptitle xlabel title set_major_formatter legend FuncFormatter deepcopy arange append set_xlim set_clip_path scatter Rectangle gca set_ylim add_subplot figure plot BytesIO subplots set_axis_off savefig annotate BytesIO subplots seek reshape set shape pcolorfast savefig BytesIO seek asarray reshape set_axis_off add_axes imshow set_visible savefig figure Axes open list zip list zip list zip list get_majorticklocs assert_array_equal range len list zip list zip list zip hist subplots assert_allclose setattr CallbackRegistry process connect CallbackRegistry connect setattr assert_array_equal asarray arange pts_to_prestep pts_to_prestep assert_array_equal asarray arange pts_to_poststep pts_to_poststep assert_array_equal pts_to_midstep asarray arange pts_to_midstep join remove product Grouper _mapping join Grouper safe_first_element arange flat rand arange _reshape_2D ArraySubclass T _reshape_2D reshape zip assert_array_equal DataFrame Series list safe_first_element range pyplot_wrapper func func _warn_external reshape check product divisors zeros escape verify_pre_post_state A B meth set_title EventCollection add_subplot set_xlim add_collection figure array set_ylim assert_array_equal check_segments generate_EventCollection_plot get_positions set_positions set_title check_segments hstack set_xlim get_positions generate_EventCollection_plot assert_array_equal add_positions switch_orientation set_title check_segments hstack set_xlim get_positions generate_EventCollection_plot assert_array_equal set_title check_segments append_positions hstack set_xlim get_positions generate_EventCollection_plot assert_array_equal set_title check_segments hstack set_xlim get_positions generate_EventCollection_plot assert_array_equal extend_positions switch_orientation set_title check_segments set_xlim get_positions generate_EventCollection_plot set_ylim switch_orientation set_title check_segments get_positions generate_EventCollection_plot assert_array_equal set_title check_segments set_orientation set_xlim generate_EventCollection_plot set_ylim set_title check_segments set_linelength generate_EventCollection_plot set_ylim set_title check_segments set_lineoffset generate_EventCollection_plot set_ylim generate_EventCollection_plot set_title set set_title generate_EventCollection_plot set_color assert_array_equal array get_segments enumerate get_datalim IdentityTransform get_points assert_array_equal PathCollection axes bounds add_collection scatter figure axes reshape cos translate transData linspace quiver figure meshgrid sin barbs axes bounds cos translate linspace transData meshgrid assert_array_almost_equal sin T ones_like subplots arange EllipseCollection autoscale_view add_collection meshgrid list Axes3D set_ylim3d set_xlim3d extend PolyCollection add_collection3d set_zlim3d figure set_alpha zip set_color range len RegularPolyCollection subplots transpose pi add_collection linspace zip autoscale_view len add_collection SquareCollection subplots axis BytesIO subplots contains scatter savefig assert_array_equal SimpleNamespace scatter draw subplots EllipseCollection set_xlim add_collection set_ylim Series Collection set_linewidths PathCollection set_linestyles PathCollection set_capstyle PathCollection set_joinstyle set_title set_xlim add_subplot set_joinstyle add_collection figure LineCollection zeros array set_ylim set_capstyle list subplots draw scatter set_alpha range seed subplots arange cmap MaxNLocator legend_elements rand astype draw add_artist sqrt scatter legend assert_array_almost_equal assert_array_equal randint array assert_array_equal EventCollection array list reshape _paths PolyCollection zip empty subplots reshape assert_allclose add_collection transAxes get_xlim transData autoscale_view blended_transform_factory LineCollection column_stack subplots scatter get_ylim get_xlim assert_allclose subplots arange ones reshape draw pcolormesh shape set_array dict get_cmap BoundaryNorm len add_subplot subplots_adjust ColorbarBase figure tick_params _get_cmap_norms boundaries enumerate add_subplot subplots_adjust ColorbarBase figure tick_params _get_cmap_norms boundaries enumerate _colorbar_extension_shape _colorbar_extension_length subplot reshape colorbar repeat contourf figure contour array enumerate subplot reshape colorbar subplots_adjust contourf figure get_cmap scatter figure colorbar remove subplots colorbar subplots_adjust scatter figbox array set_array gca ColorbarBase reshape pcolormesh add_axes dict figure linspace get_cmap subplots arange colorbar contourf meshgrid array seed minorticks_off subplots randn minorticks_on get_minorticklocs pcolormesh colorbar assert_equal set_ticks uniform colorbar subplots pcolormesh reshape colorbar set_ticks contourf figure subplots ColorbarBase subplots ColorbarBase imshow figure colorbar exp subplots arange LogNorm min colorbar set_ticks get_majorticklocs imshow logspace set_norm max assert_allclose exp subplots set_clim draw LogNorm colorbar imshow set_norm exp subplots LogNorm set_edgecolor colorbar pcolormesh Normalize set_norm get_ticks subplots colorbar pcolormesh assert_allclose get_ticks subplots reshape invert_yaxis minorticks_on colorbar pcolormesh assert_allclose subplots colorbar pcolormesh extents assert_allclose set_cmap subplots draw colorbar ScalarMappable imshow set_label subplots colorbar imshow subplots colorbar _create_lookup_table assert_array_almost_equal lc3 set_bad set_under ListedColormap inf lc lsc3 lsc array linspace nan assert_array_almost_equal from_list empty set_over _resample viridis register_cmap copy get_cmap register_cmap set_under copy Reds assert_array_equal set_bad copy newbyteorder cmap masked_invalid assert_array_equal get_cmap array inf cmap masked_invalid nan assert_array_equal get_cmap array ones zeros get_cmap refnorm ListedColormap set_under randn cmref mynorm masked_array BoundaryNorm masked_invalid zip assert_array_equal N get_cmap set_over cmshould bn len LogNorm assert_array_equal ln LogNorm norm pnorm Normalize assert_array_almost_equal PowerNorm array pnorm PowerNorm array assert_array_almost_equal max norm asarray arange _mask_tester min resolution _inverse_tester Normalize assert_array_equal array _scalar_tester autoscale TwoSlopeNorm autoscale_None TwoSlopeNorm autoscale_None TwoSlopeNorm norm TwoSlopeNorm norm TwoSlopeNorm norm TwoSlopeNorm assert_array_equal norm array TwoSlopeNorm assert_array_equal norm array TwoSlopeNorm TwoSlopeNorm norm SymLogNorm _mask_tester _inverse_tester assert_array_almost_equal array _scalar_tester SymLogNorm add_subplot close ColorbarBase figure get_ticks SymLogNorm add_subplot close ColorbarBase figure norm_instance inverse assert_array_almost_equal norm_instance assert_array_almost_equal assert_array_equal masked array mask from_levels_and_colors axes reshape colorbar pcolormesh tick_params add_axes BoundaryNorm figure ColorbarBase N get_cmap items list format set_bad from_levels_and_colors to_rgba_array assert_array_equal array seed hsv_to_rgb random assert_array_almost_equal rgb_to_hsv masked_all draw pcolor get_sample_data subplots LightSource cos set imshow zip shade gist_earth T LightSource cos assert_array_almost_equal shade copper LightSource cos assert_array_almost_equal shade array copper T LightSource cos assert_array_almost_equal shade copper masked_greater alternative_hillshade list product LightSource assert_array_almost_equal hillshade range radians list LightSource product cos hillshade assert_array_almost_equal angled_plane range cos sin radians assert_array_equal Series ListedColormap colors inf cmap reversed cmap_r nan assert_array_almost_equal get_cmap _init cycler assert_array_equal zeros vstack to_rgba_array assert_array_equal masked array to_rgba_array assert_array_equal to_rgba_array list _colors_full_map keys norm subplots view reshape draw imshow assert_array_equal list map copyfile _image_directories compare_images make_test_filename set_title plot set_xticklabels set_yticklabels set_xlabel locator_params set_ylabel exp set_title set_xlabel pcolormesh set_ylabel add_subplot figure example_plot flat subplots example_plot subplots colorbar example_pcolor flat enumerate colorbar flat subplots example_pcolor colorbar flat subplots example_pcolor subgridspec set_xlabel add_subplot example_pcolor colorbar figure add_gridspec example_plot set_title set_xlabel add_subplot example_pcolor GridSpec colorbar set_ylabel figure set_aspect subplots suptitle set_xlabel example_pcolor colorbar set_ylabel flat subplots arange plot legend flat GridSpecFromSubplotSpec add_subplot GridSpec example_pcolor colorbar figure example_plot GridSpecFromSubplotSpec add_subplot GridSpec example_pcolor colorbar figure example_plot set_xlabel add_subplot GridSpec figure example_plot subplots colorbar example_pcolor flat set_constrained_layout_pads subplots colorbar example_pcolor flat set_constrained_layout_pads flat subplots example_plot add_axes subplots example_plot add_subplot figure GridSpec example_plot twinx draw subplots example_plot subplots set_title twiny draw example_plot pcolormesh colorbar add_axes linspace figure hypot subplots suptitle draw copy extents assert_allclose subplots suptitle draw copy extents assert_allclose format subplots range suptitle subplots set_xlabel example_pcolor colorbar set_ylabel flat subplots draw copy set_visible extents assert_allclose gca stem remove gca remove errorbar random contour subplots arange subplots arange random meshgrid contour subplots random subplots arange reshape contour subplots zeros subplots arange ones subplots arange arange dstack array figure meshgrid contour max clabel arange dstack array figure meshgrid contour max clabel subplots reshape colorbar contourf contour flat enumerate subplot arange set_rotation get_xticklabels subplots_adjust set_ha repeat contourf figure meshgrid contour array datetime get_axes exp subplots arange add_label_near pi meshgrid contour clabel seed rand cos contourf linspace figure sin meshgrid array figure MaxNLocator levels reshape contourf linspace assert_array_almost_equal QuadContourGenerator linspace figure meshgrid hypot contour clabel subplots arange dstack contourf meshgrid contour max clabel arange reshape add_subplot subplots_adjust colorbar contourf linspace figure assert_array_almost_equal get_ylim power seed subplots rand pcolormesh colorbar assert_array_almost_equal get_ylim add_lines contour reshape contourf subplots colorbar list subplots plot cycler set_prop_cycle range list subplots plot cycler set_prop_cycle range list subplots plot set_prop_cycle range list subplots plot cycler set_prop_cycle range list subplots cycler fill set_prop_cycle range list subplots cycler fill set_prop_cycle range list subplots plot set_prop_cycle range list subplots fill set_prop_cycle range subplots cycler iter set_prop_cycle array next subplots prop_cycler set_prop_cycle subplots get_xdata plot add_subplot assert_equal figure get_ydata array datetime date2num array assert_equal assert_array_equal date2num array datetime date2num datetime64 add_subplot figure xaxis_date axhspan add_subplot subplots_adjust timedelta figure datetime set_ylim set_xlim add_subplot timedelta autofmt_xdate figure axvspan datetime add_subplot subplots_adjust timedelta axhline figure datetime set_ylim set_xlim axvline add_subplot timedelta autofmt_xdate figure datetime set_major_locator plot add_subplot set_level DayLocator figure datetime subplot rrulewrapper set_major_locator plot YEARLY set_autoscale_on AutoDateFormatter RRuleLocator autofmt_xdate figure set_major_formatter autoscale_view register datetime DayLocator tick_values datetime subplot plot set_autoscale_on autofmt_xdate figure autoscale_view register datetime set_major_locator subplots NullLocator plot set_minor_formatter MinuteLocator draw AutoDateFormatter set_minor_locator _Locator AutoDateFormatter drange timedelta datetime _create_auto_date_locator datetime _create_auto_date_locator datetime _create_auto_date_locator datetime _create_auto_date_locator datetime _create_auto_date_locator datetime timezone timedelta _create_auto_date_locator replace gettz datetime invert_yaxis add_subplot subplots_adjust timedelta axhline figure datetime set_ylim UTC list gettz tz_convert datetime64 timedelta date2num date_range datetime _test_date2num_dst _test_date2num_dst date_range rrulewrapper get_tz attach_tz between datetime gettz _test_rrulewrapper importorskip timezone _test_rrulewrapper list set_view_interval create_dummy_axis locator datetime64 map importorskip timezone AutoDateLocator date2num num2date array assert_allclose DayLocator tzname datetime num2timedelta date2num array datetime64 assert_equal astype _reset_epoch_test_example datetime64 assert_equal set_epoch date2num float assert_allclose _reset_epoch_test_example set_epoch _reset_epoch_test_example set_epoch PsfontsMap str setattr parent parent arange set_rotation plot tick_right set_xlabel get_xticklabels add_subplot GridSpec set_label_position set_ylabel figure align_labels tick_top range close figure close figure text subplots figure suptitle arange set_title plot get_label add_subplot close figure legend subplots plot add_axes sca add_subplot figure figure subplots suptitle FontProperties subplots suptitle CirclePolygon set_facecolor set_alpha append close add_subplot figure set_figheight set_size_inches figure set_figwidth remove subplots float64 zeros figaspect yaxis_date subplots plot AutoMinorLocator get_xticklabels datestr2num set_minor_locator xaxis_date draw figure figure figure set_xscale subplots plot set_yscale flat figure figure figure figure subplots remove Circle subplots set_dpi Line2D add_artist format savefig Path subplots text set_xlim set_in_layout get_renderer remove subplots ScalarFormatter plot set_major_formatter remove draw subplots subplots draw scatter SimpleNamespace pick add_subplot figure add_subplot figure set_box_aspect add_gridspec list subplots range plot FontProperties str FontProperties get_charmap get_font json_load Path json_dump ttflist exists clear get_width_height set_text FontProperties set_size get_font findfont assert_allclose next BytesIO subplots FontProperties text skip savefig _rebuild Path findSystemFonts join parent skip copyfile ensure any cache_clear findSystemFonts parent xfail skip copy any makedirs savefig BytesIO subplots close get_context _model_handler GridSpec GridSpec arange set_title reshape add_subplot imshow set_ylabel figure subplots ones imshow zeros tril set_title add_subplot imshow figure array figimage arange ix_ figure sin BytesIO subplots seek plot savefig imread seed int set_size_inches subplots set_position rand imshow seed int set_size_inches subplots rand set_xlim imshow set_ylim subplots use parent imshow imread open join imread dirname imread parent seed BytesIO seek rand assert_array_equal imread imsave Path array imsave devnull seed BytesIO seek rand astype assert_array_equal imread imsave BytesIO add_text PngInfo imsave open BytesIO imsave open seed subplot rand imshow figure MouseEvent clear subplots canvas reshape imshow transform MouseEvent subplots canvas draw colorbar imshow transform set_clip_path imshow Circle subplots set_clip_path imshow subplots Rectangle reshape set_xlim set_ylim subplots reshape set_xlim imshow set_ylim reshape subplots reshape subplots imshow subplots reshape set_aspect imshow subplots BytesIO seek reshape set_yticks set_xlim add_axes imshow set_xticks savefig figure imread sum set_ylim subplots reshape set_xlim imshow set_facecolor subplots concatenate set_xlim imshow set_facecolor zeros set_ylim list asarray subplots plot set_yticks set imshow set_visible set_xticks values subplots BboxImage reshape set_xlim Bbox identity add_artist transFigure set_data set_clip_on transData TransformedBbox set_ylim subplots get_window_extent set_position set_xlim draw get_points imshow renderer assert_array_equal array set_ylim subplots arange reshape set_xlim imshow set_ylim gca set_cmap NonUniformImage gca set_norm NonUniformImage Normalize subplots ones new flatten imshow linspace putdata range figimage BytesIO seek getpixel len getcolors savefig figure linspace zeros open gca reshape set_data AxesImage gcf reshape set_data FigureImage gca reshape set_data image_cls seed BytesIO subplots parse rand colorbar pcolormesh getvalue savefig iter as_posix urlopen imread parent zeros imshow subplots set set_transform exp subplots arange plot set_xlim pi imshow transData meshgrid get_extent rotate_deg set_ylim BytesIO seek zeros imread imsave BytesIO seek asarray set_axis_off identity add_axes imshow savefig figure assert_array_equal imread Axes exp arange set_under set_bad subplots set_title copy pi colorbar gray imshow meshgrid set_over masked_where subplots ones imshow masked_array nan zeros subplots arange astype dict imshow meshgrid hypot set_bad subplots axis masked_array _interpd_ sorted set_title imshow inf set_under astype copy Normalize zip get_cmap remove reshape ravel set_over imshow get_array reshape subplots ones imshow subplots set_clim imshow subplots set_clim array imshow subplots set_clim array set_extent draw subplots imshow subplots zeros imshow subplots array full imshow subplots nan BytesIO subplots arange set_xlim imshow savefig sin meshgrid imshow subplots autoscale relim subplots set_axis_off draw set imshow BytesIO subplots set_clip_box set_axis_off set set_clip_path imshow savefig bbox subplots imshow masked_array nan zeros exp cmap add_subplot imshow linspace meshgrid get_cmap max set_under draw axis astype copy add_axes imshow figure get_cmap array imread subplots set_under copy imshow get_cmap full list subplots randn OrderedDict scatter legend zip get_legend_handles_labels keys values arange plot add_subplot figure legend arange add_subplot bar figure legend plot set_xlim add_subplot figure legend set_ylim arange plot add_subplot linspace figure legend arange plot ones add_subplot figure legend legend add_subplot figure plot list subplots plot set_facecolor legend range list subplots range plot subplot arange errorbar plot scatter legend legend linspace plot subplot arange scatter figure legend subplots arange plot add_artist legend zip len legend fill_between list remove plot add_subplot figure legend range set_xlim add_subplot stackplot figure linspace legend set_ylim list subplots bar legend range subplots rand grid scatter legend scatter subplots legend _get_legend_handles_labels set_xlim scatter legend range set_ylim plot translate scatter linspace legend legendHandles subplots add_collection legend zip LineCollection list subplots plot legend range bar legend list subplots plot legend range list subplots plot legend range list subplots plot x0 legend range list subplots plot get_window_extent draw legend range list subplots plot legend range subplots arange plot get_texts legend subplots arange plot get_texts legend zip subplots arange plot get_texts legend zip subplots arange plot get_texts legend zip subplots arange plot get_texts legend zip set_draggable legend legendHandles hist set_alpha legend subplots arange plot draw range subplots arange plot draw legend draw_artist range assert_array_equal segment_hits normal subplot add_line min Line2D draw set_visible repeat linspace figure seed randn add_subplot figure contour list plot add_subplot figure range list plot draw add_subplot figure range list plot draw add_subplot figure range Line2D list subplots plot set zip range flat Line2D subplots plot pi set_drawstyle linspace sin seed randn add_subplot figure contour subplots plot set_xlim cycle fillStyles filled_markers next array set_ylim enumerate plot subplots plot ones cycler linspace zip enumerate Line2D step plot seed subplots rand astype zip flat len subplots plot draw MarkerStyle Path vertices assert_array_equal set_marker plot MarkerStyle array set_marker MarkerStyle array MarkerStyle set_marker Path scatter add_subplot set scatter subplots set scatter add_subplot draw_ref_marker set set_size_inches plot markers axis set add_axes enumerate len text figure text figure get_sfnt_table findfont FT2Font MathTextParser list BytesIO text set_yticks getvalue set_visible set_xticks savefig figure frombuffer values set_title join BytesIO subplots text realpath savefig dirname addfont str join BytesIO math_to_image str join BytesIO MathTextParser to_png chmod st_mode run seed convolve cohere randn ones roll mean assert_allclose fft psd size append abs array assert_allclose fft sum psd size append assert_almost_equal abs array subplots AnchoredOffsetbox set_xlim Line2D add_artist DrawingArea Rectangle set_ylim subplots AnchoredOffsetbox draw Line2D add_artist DrawingArea Rectangle subplots AnchoredOffsetbox draw add_artist DrawingArea legend subplots tight_layout plot _get_packed_offsets _get_packed_offsets assert_allclose _get_packed_offsets assert_allclose _get_packed_offsets assert_allclose clear button_press_event ones mpl_connect draw set_xlim add_artist LEFT OffsetImage transform_point DrawingArea Rectangle AnnotationBbox TextArea set_picker set_ylim subplots rand axis seek shape DrawingArea savefig get_renderer update tight_layout add_artist AnnotationBbox annotate assert_allclose Circle BytesIO get_window_extent rcParamsDefault draw OffsetImage get_tightbbox extents assert_array_equal get_xy set_xy Polygon T asarray get_verts pi Rectangle assert_almost_equal array assert_array_equal roll deepcopy clip_to_bbox set_xlim add_subplot Bbox add_patch make_compound_path figure PathPatch set_ylim axes concatenate axes unit_circle set_xlim add_patch add_collection Path PathPatch unit_regular_star PathCollection set_ylim Circle concatenate axes unit_circle set_xlim add_patch add_collection Path PathPatch unit_regular_star PathCollection set_ylim concatenate unit_circle set_xlim add_subplot draw add_patch figure Path PathPatch unit_regular_star set_ylim enumerate items list Wedge axes set_xlim add_artist Wedge set_ylim enumerate RegularPolygon Circle Polygon Shadow Ellipse Arc FancyBboxPatch ConnectionPatch CirclePolygon Rectangle Path PathPatch FancyArrowPatch Wedge list format subplots set_edgecolor autoscale add_patch bar set_facecolor set_hatch autoscale_view range enumerate km subplots set_xlim add_patch Rectangle register set_ylim get_yaxis_transform ConnectionPatch subplots add_artist ConnectionPatch subplots bbox add_artist subplots add_patch timedelta Rectangle datetime datetime Ellipse get_transform _process_radius get_path array Ellipse get_transform _process_radius get_path contains_points subplots Shadow add_patch Rectangle array FancyArrowPatch add_patch subplots datetime set_aspect subplots set_axis_off Arc set_xlim add_patch set_ylim set_aspect subplots Arc set_xlim axvline set_axis_off add_patch axhline zip ravel set_ylim enumerate extents assert_array_equal zeros extents Path unit_circle reshape arange escape contains_points Path assert_equal unit_circle contains_points assert_equal contains_points array Path subplots axvspan set MouseEvent subplots arange transform canvas set_xlim add_patch contains scatter zip FancyArrowPatch meshgrid ravel set_ylim enumerate Polygon set_xlim add_subplot add_patch figure set_ylim enumerate subplots arange semilogy grid set_ylim make_compound_path make_compound_path seed linspace pi sin seed linspace ones errorbar arange ones ylim xlim subplots plot T array Path Bbox assert_array_equal Path to_polygons deepcopy Path transform_path Path deg2rad rotate min arc vertices max assert_allclose array Path array Path cleaned subplot grid imshow set_path_effects annotate subplot reshape imshow setp collections contour clabel plot text title set_path_effects legend axes text set_xlim axis set_path_effects set_ylim enumerate get_path_effects list PathEffectRenderer plot figure set_path_effects range get_renderer SimplePatchShadow cos set_bbox linspace set_path_effects sin meshgrid collections contour clabel subplot dump BytesIO arange plot axes set_yscale HIGHEST_PROTOCOL bar figure legend gca subplot list seek HIGHEST_PROTOCOL colorbar pcolormesh imshow scatter contourf quiver legend sin range dump errorbar plot streamplot set_xlim close load BytesIO suptitle reshape figure pcolor set_ylim dump BytesIO FigureCanvasPdf plot HIGHEST_PROTOCOL add_subplot Figure RendererAgg dump BytesIO dump BytesIO new_figure_manager reshape draw add_subplot imshow figure gcf subplot draw dumps loads loads dumps TransformBlob rrulewrapper loads dumps loads subplots dumps set_xlim dumps load dump BytesIO seek Figure arange plot add_subplot pi figure annotate tick_params set_clip_box Ellipse set_xlim add_subplot set_ylim add_artist figure annotate bbox arange add_axes set_visible figure set_thetagrids range set_rgrids polar figure add_subplot plot deg2rad number plot add_subplot deg2rad set figure polar register number format plot add_subplot deg2rad set figure set_major_formatter polar register FuncFormatter set_rmax arange plot set_rmin pi add_axes figure set_rmax arange plot set_rmin pi add_axes figure set_rmax arange plot set_rmin pi set_rorigin add_axes figure add_axes figure set_ylim set_inverted plot margins set_rorigin add_axes figure set_theta_direction arange plot pi add_axes figure set_theta_zero_location tick_params add_subplot figure set_rlabel_position set_theta_direction subplots arange plot set_thetamin pi tick_params set_tick_params enumerate set_thetamax len set_rmax set_rmin subplots set_rlim set_rmax set_rmin subplots set_rlim add_subplot arange plot gca subplot close polar add_subplot get_ticklabels grid add_subplot draw figure setp subplots draw get_tightbbox extents assert_allclose get_renderer bar setp pi subplot set_thetalim pi DataFrame join write_text read_text skip split unified_diff fail run wrapper_func box subplots stackplot arange cos pi quiver sin meshgrid remove subplots X draw_quiver quiverkey remove subplots draw_quiver ones_like subplots arange rand draw quiver meshgrid subplots arange draw quiver meshgrid quiverkey subplots draw_quiver quiverkey subplots draw_quiver margins subplots quiver margins dict subplots quiver subplots quiverkey set_xlim cos quiver sin set_ylim exp arange subplots quiverkey set_xlim pi quiver real zip zeros imag set_ylim subplots barbs linspace meshgrid hypot subplots barbs scatter linspace meshgrid meshgrid subplots linspace barbs ones_like arange subplots ones masked array ones_like subplots arange rand quiver meshgrid subplots grid set_xlim quiver set_ylim ones_like subplots arange quiverkey draw quiver meshgrid ones_like subplots arange quiver meshgrid set_UVC write_text rc rc_file func Path lstrip RcParams RcParams pop Line2D Line2D subplots set_title write_text Path validator ndarray isinstance assert_equal importorskip check_output Sankey add Sankey axvline set axhline get_ylim get_xlim arange transform_non_affine inverted masked SymmetricalLogTransform nan array assert_allclose set_xscale subplots plot grid get_tightbbox array get_renderer BytesIO subplots arange scatter savefig set_yscale draw subplots exp subplots plot draw set linspace subplots set_yscale inverted subplots subplots set_yscale repr transData LogTransform seed normal set_xscale exp subplots arange errorbar set_yscale cos hist logspace fill_between set_xscale list subplots set_yscale scatter get_ylim get_xlim range set_xscale subplots arange plot set_xlim subplots arange plot pi sin subplots arange plot set_xlim array len subplots plot set_xlim array set_ylim seed subplots plot get_path get_transform draw transform_path uniform cleaned _get_simplified assert_array_almost_equal seed T codes rand cos min cleaned Path vertices sin assert_array_equal assert_array_almost_equal max seed subplots plot get_path get_transform draw pi transform_path uniform cleaned linspace sin subplots set_xlim add_patch Path PathPatch set_ylim subplots set_xlim add_patch Rectangle set_ylim fft subplots arange plot get_path get_transform draw pi transform_path cleaned sin blackman abs len iter_segments list reshape IdentityTransform Path decodebytes frombuffer subplots arange plot rand nan set_major_locator plot set_xlim subplots_adjust add_axes MultipleLocator set_ticks_position figure subplots array plot subplots plot nan linspace sin set_ylim list Path iter_segments grid set_xlim axvline set_ylim set_aspect list format subplots product set_title skew_deg set_ylim set_xlim add_patch subplots_adjust Rectangle zip flat format communicate read_bytes Path fail Popen set_title plot set_position add_subplot pi set_ticks_position figure linspace sin set_color set_position set_xlim add_subplot figure set_ylim use set_position add_subplot set set_linewidth tick_params rc set_yticks add_subplot set_xticks figure arange plot set_position set_xlabel draw add_subplot get_extents subplots_adjust set_ticks set_visible set_ylabel set_ticks_position figure meshgrid cos linspace sin velocity_field plot streamplot min linspace max column_stack streamplot colorbar velocity_field subplots velocity_field streamplot set hypot max subplots velocity_field set shape nan zeros array streamplot subplots swirl_velocity_field set streamplot swirl_velocity_field barbs axes bounds cos translate linspace transData meshgrid assert_array_almost_equal sin write_text Path write_text Path OrderedDict zip xkcd collect product zip enumerate get_xticklabels zip enumerate get_yticklabels label_outer check_shared close check_visible label_outer axes add_subplot check_visible figure add_gridspec tick_bottom tick_left subplots check_visible subplots arange plot subplots subplots table plot table yticks cos reversed pi linspace append zeros len RdYlGn table add_subplot axis linspace figure subplots table axis tight_layout zip len tuple CustomCell zip auto_set_column_width set_fontsize table add_subplot axis auto_set_font_size figure subplots CustomCell properties add_cell Table setp warn get_font_config TexManager subplot filterwarnings set_yticks set_xticks figure annotate find_matplotlib_font subplot set_title text set_yticks ylim set_xticks figure xlim subplots draw_box text set_xlim axhline enumerate set_ylim get_renderer text figure findfont MouseEvent transform frozen plot axes canvas text draw set contains figure linspace zip meshgrid flat MouseEvent subplots canvas draw annotate subplot set_title set_yticks set_xticks figure subplot plot text set_yticks set_xlim set_xticks figure set_ylim subplot figure set_title get_window_extent draw min renderer zip annotate subplots get_window_extent dpi text draw get_points assert_allclose assert_almost_equal get_rotation zip subplots text draw dict get_points assert_almost_equal text set_bbox annotate subplots annotate subplots annotate text draw_all subplots seed text rand subplots FontProperties get_size_in_points set_major_locator format subplots NullLocator text range set_ylim enumerate get_window_extent text draw figure get_renderer inf subplots text draw nan BytesIO intervalx text savefig figure assert_allclose majorTicks draw add_subplot figure text draw figure text BytesIO savefig figure text set_axis_off figure text set_axis_off figure print text plot subplots get_window_extent tight_layout annotate get_renderer annotate add_subplot now plot subplots set_title set_xticklabels text draw figure text draw figure text draw figure set_yticklabels set_yticks add_subplot set_color xlabel figure ylabel list zip LogFormatterMathtext sorted subplots plot draw set_xticks set_major_formatter subplots subplots subplots subplots minorticksubplot figure set_major_locator subplots arange plot set_minor_formatter ones remove_overlapping_locs get_minor_ticks xaxis DayLocator set_minor_locator set_major_formatter HourLocator setp DateFormatter len LogLocator subplots tight_layout example_plot subplots tight_layout example_plot subplot tight_layout example_plot tight_layout example_plot subplot2grid tight_layout subplot imshow reshape subplots set_title plot set_xlabel locator_params tight_layout set_ylabel set_tight_layout add_subplot figure example_plot set_visible subplots tight_layout axes add_subplot tight_layout set_ticks get_points figure assert_array_equal set_tick_params round enumerate AnchoredOffsetbox DrawingArea Rectangle add_artist _subplots isinstance tight_layout set_visible get_children gcf tight_layout subplots set set_xlabel subplots set_ylabel subplots subplot2grid get_position subplots set_xlim annotate set_ylim draw set_title subplots tight_layout __init__ RendererBase setattr arange plot AssertingNonAffineTransform axes draw invalidate arange plot axes assert_allclose set_xlim get_matrix set_ylim barbs axes reshape streamplot cos pcolormesh scatter contourf linspace scale sin quiver axes get_points contourf linspace meshgrid assert_almost_equal array log axes get_points linspace pcolor meshgrid assert_almost_equal array axes pcolormesh get_points linspace meshgrid assert_almost_equal array transform assert_almost_equal array from_values transform Affine2D assert_almost_equal get_matrix iter_segments list codes zip BlendedGenericTransform get_affine transform_path_non_affine Path LogTransform Affine2D assert_allclose assert_array_equal bounds assert_bbox_eq inter bbox_from_ext from_extents intersection assert_bbox_eq str list items format repr Bbox eval Affine2D transform_affine transform set_yscale subplots Bbox Affine2D transform_angles array assert_array_almost_equal assert_array_equal nonsingular array Affine2D TransformedPath pi rotate sqrt vertices Path Affine2D assert_allclose set_radius TransformedPatchPath vertices scale Affine2D Wedge assert_allclose remove unit LockableBbox get_points set_points setattr assert_array_equal y arange triangles Triangulation neighbors linspace unique assert_array_almost_equal meshgrid ravel x seed arange triangles Triangulation random delete unique assert_array_equal append linspace Triangulation asarray array Triangulation subplot asarray Triangulation tripcolor mean title edges assert_array_equal array copy assert_array_equal arange Triangulation get_trifinder trifinder set_mask meshgrid zeros ravel len CubicTriInterpolator arange gradient linspace abs LinearTriInterpolator cubic_user Triangulation mask meshgrid linear_interp quad interp gradient_quad assert_array_almost_equal assert_array_equal zeros ravel array len CubicTriInterpolator check_continuity Triangulation zeros array range poisson_sparse_matrix concatenate ones _Sparse_Matrix_coo dot array compress_csc to_dense zeros assert_array_almost_equal _cg range CubicTriInterpolator _DOF_estimator_geom Triangulation abs min cos pi compute_geom_weights assert_array_almost_equal linspace sin zeros sum array range CubicTriInterpolator max _interpolate_multikeys y Triangulation min assert_array_almost_equal linspace interp meshgrid ravel array LinearTriInterpolator x CubicTriInterpolator triangles Triangulation interp cos pi z flatten repeat assert_array_almost_equal linspace sin meshgrid ravel LinearTriInterpolator range arange Triangulation UniformTriRefiner pi z flatten triplot tricontour repeat linspace refine_field set_mask CubicTriInterpolator y arange gradient pi flatten tricontour linspace refine_field hypot set_aspect Triangulation UniformTriRefiner quiver dipole_potential triplot set_mask get_cmap repeat figure x assert_array_equal TriAnalyzer Triangulation get_flat_tri_mask circle_ratios scale_factors masked_array set_mask linspace assert_array_almost_equal meshgrid power ravel array zeros y around linspace refine_field hypot Triangulation UniformTriRefiner mask refine_triangulation in1d meshgrid sum range asarray get_trifinder tri_finder assert_array_almost_equal assert_array_equal zeros ravel x Triangulation zeros_like UniformTriRefiner interpolator flatten repeat refine_field range add_subplot Triangulation triangles Triangulation UniformTriRefiner refine_triangulation assert_array_equal array assert_array_equal list radians Triangulation neighbors cos map linspace sin meshgrid ravel _get_compressed_triangulation array TriAnalyzer Triangulation figure TriContourGenerator TrapezoidMapTriFinder Triangulation asarray Triangulation figure Triangulation text set_yticks set_xticks subplots join list Type1Font Differ splitlines dirname transform compare ConversionInterface MagicMock subplots plot axvline subplots_adjust axhline linspace Quantity set_units subplots plot linspace Quantity array Quantity set_xlim subplots set_ylim subplots Duration bar Epoch register set_ylim subplots Duration barh set_xlim Epoch register scatter array subplots arange draw scatter nan len subdate datetime plot text set_axis_off axvline add_subplot axhline figure text text set_xlim figure draw use text draw clf figure sum text draw figure RectangleSelector geometry do_event get_ax assert_allclose check_rectangle assert_allclose get_ax EllipseSelector do_event do_event get_ax RectangleSelector get_ax SpanSelector do_event check_span get_ax LassoSelector do_event check_lasso_selector disconnect on_clicked set_active CheckButtons get_ax axes subplots_adjust RadioButtons CheckButtons get_ax axes RadioButtons subplots Slider subplots Slider subplots subplots bounds inverted transformed set_val Slider assert_allclose PolygonSelector get_ax do_event check_polygon_selector polygon_place_vertex int QtCore skip importorskip args close figs copy figure SIGINT mainloop singleShot signal figure getsignal keyPressEvent NoModifier canvas mpl_connect _Event subplots list subplots plot imshow scatter range set_size_inches subplots height window draw width subplots FigureCanvasQTAgg update stdout list use set_title plot set_xlabel add_subplot imshow bar set_xticks set_ylabel figure set_hatch zip getattr savefig range skip check_output sorted glob set_xlim len gray imshow set_facecolor figure imread enumerate str join savefig mkdir read BytesIO savefig seek _docstring__call__ _docstringgradient _docstring__call__ _docstringgradient ones array norm size maximum dot zeros diag zeros all empty_like all empty_like shape len arange ndim empty_like shape range dtype asarray empty range len shape empty dtype range set_cmap grid update_datalim _check_isinstance max TriMesh _check_in_list _scale_norm asarray mean add_collection stack set_alpha set_norm set_array pop get_masked_triangles setdefault get_from_args_and_kwargs min PolyCollection autoscale_view get plot insert get_from_args_and_kwargs copy nan zip ravel _process_plot_format new_locator AxesDivider set_axes_locator add_auto_adjustable_area make_axes_locatable toggle _deprecate_privatize_attribute get_position get_ticklabels axes_class AxesY list new_locator make_axes_locatable set_axes_locator AxesX get_figure add_axes set_horizontal set_visible set_vertical append _axes_class values get_aspect isinstance frozen setdefault set_position Colorbar connect make_axes sca add_axes set_navigate get_position axes_class set_axes_locator _add_inset_axes AnchoredSizeLocator figure _warn_external bbox get_position axes_class set_axes_locator _add_inset_axes AnchoredZoomLocator figure BboxPatch viewLim BboxConnector add_patch transData set_clip_on intersection bool TransformedBbox bbox warn_deprecated warn_deprecated parasite_axes_class_factory warn_deprecated subplot_class_factory host_axes_class_factory gcf add_axes host_axes_class draw_if_interactive host_axes_class_factory gcf host_subplot_class_factory host_subplot_class add_subplot draw_if_interactive searchsorted array len searchsorted array len int log10 int arange floor _select_step ceil select_step_sub len select_step Path __getitem__ dict dict dict _warn_external concatenate astype degrees atan2 argwhere zip append extents clip warn_deprecated set_3d_properties set_3d_properties broadcast_to iter_segments len broadcast_to len list iter_segments broadcast_to zip len broadcast_to list zip len get_paths set_segments _paths_to_3d_segments get_patch_transform get_path to_polygons len _get_patch_verts set_3d_properties get_patch_transform get_path transform_path set_3d_properties set_3d_properties isinstance get_paths set_verts_and_codes _paths_to_3d_segments_with_codes set_3d_properties norm min to_rgba_array broadcast_to Normalize max array Bbox list format Grouper _axis_method_wrapper text map __doc__ meshgrid exp arange pi asarray set_position set_linestyle set_data set_visible set_marker _make_getset_interval hypot asarray clip cross norm dot dot any dot inv _vec_pad_ones _vec_pad_ones _vec_pad_ones list zip array zip arctan2 cos imshow linspace figure sin meshgrid ImageGrid real abs imag imshow colorbar figure ImageGrid subplots dpi make_axes_locatable draw get_renderer update remove host_subplot product text subplots_adjust set_visible enumerate len AxesGrid rand colorbar imshow figure get_sample_data set_params subplots mark_inset zoomed_inset_axes set_xlim add_artist imshow shape AnchoredSizeBar transData zeros xticks set_ylim yticks get_sample_data inset_axes set_params subplots mark_inset set_xlim add_artist imshow shape AnchoredSizeBar transData zeros xticks set_ylim yticks inset_axes subplots draw subplots_adjust array assert_array_almost_equal assert_array_equal extents set_size_inches subplots BboxConnectorPatch tick_right zoomed_inset_axes set_xlim add_patch from_extents set_ticks set_visible set_clip_on transData TransformedBbox range set_ylim mark_inset zoomed_inset_axes subplots axis plot AnchoredDirectionArrows subplots add_artist imshow transAxes zeros AnchoredDirectionArrows subplots ones add_artist imshow transAxes draw subplots append_axes make_axes_locatable format set_title reshape imshow figure ImageGrid range subplots plot zoomed_inset_axes remove_ticks_and_titles assert_array_almost_equal get_renderer get_tightbbox extents mark_inset MouseEvent twin host_subplot transform canvas mpl_connect add_patch Rectangle gca pick get_position subplots new_locator set_axes_locator reshape draw imshow HBoxDivider AxesGrid figure assert_array_equal select_step assert_array_equal select_step24 assert_array_equal select_step360 approx fmt match Formatter zip float sum arange plot set_text add_subplot pi set_visible set_ylabel figure SubplotZero sin set_tick_out set_label arange plot add_subplot pi Subplot set_ylabel figure sin set_xscale plot draw add_axes figure Axes arange SubplotHost ParasiteAxesAuxTrans ones IdentityTransform set_ylim set_xlim add_subplot figure startswith meshgrid contour append enumerate subplots set_locs_angles add_artist set_visible Ticks subplots set_rotation _set_ref_angle plot LabelBase set add_artist _set_offset_radius set_pad AxisLabel subplots plot set_locs_angles _set_ref_angle set_axis_direction _set_offset_radius set_xlim add_artist set_visible Ticks TickLabels set_ylim set_tick_out set_pad set_label subplots Fixed add_artist set_visible set_ylabel AxisArtist height subplots arange plot zip p0 add_patch from_extents Rectangle clip_line_to_rect width iter next array len Subplot add_subplot figure FixedLocator LocatorDMS toggle set_text FormatterDMS add_subplot pi set_visible FloatingSubplot scatter set_color plot PolarTransform get_aux_axes patch set_clip_path scale new_fixed_axis GridHelperCurveLinear new_floating_axis figure FixedLocator LocatorDMS toggle set_text FormatterDMS add_subplot pi set_visible FloatingSubplot set_axis_direction scatter set_color plot PolarTransform get_aux_axes patch set_clip_path scale GridHelperCurveLinear new_floating_axis figure locator MaxNLocator FormatterPrettyPrint set_aspect host_subplot_class_factory ParasiteAxesAuxTrans SubplotHost plot set_xlim add_subplot grid figure append GridHelperCurveLinear MyTransform set_ylim LocatorDMS set_text FormatterDMS grid add_subplot pi set_visible linspace set_aspect append ExtremeFinderCycle SubplotHost plot PolarTransform set_xlim scale GridHelperCurveLinear ParasiteAxesAuxTrans new_floating_axis figure set_ylim LocatorDMS set_text FormatterDMS grid add_subplot pi set_visible values set_aspect list set_axis_direction ExtremeFinderCycle SubplotHost PolarTransform set_xlim scale GridHelperCurveLinear set_params new_floating_axis figure set_ylim add_subplot figure arange add_subplot bar figure zip len arange zeros_like add_subplot figure bar3d len subplots arange view_init draw figure zip meshgrid bar3d len arange draw add_subplot figure meshgrid bar3d assert_array_equal arange LightSource add_subplot figure meshgrid ravel bar3d get_test_data set_xlim set_zlim figure gca contour set_ylim get_test_data set_xlim set_zlim contourf figure gca set_ylim arange set_xlim set_zlim contourf figure gca meshgrid clip set_ylim seed rand add_subplot tricontourf tricontour figure plot cos pi figure linspace sin gca gca plot arange plot f add_subplot grid set_zlim3d figure sin meshgrid hypot plot_surface gca text tight_layout scatter add_subplot figure arange scatter add_subplot figure arange product reshape masked_array shape repeat scatter gca sum full view_init scatter add_subplot set_axis_off scatter add_subplot view_init add_subplot figure plot arange arange plot_surface colorbar set_zlim figure sin gca hypot meshgrid arange plot_surface sqrt set_zlim figure sin gca meshgrid set_ylim3d text2D set_xlim3d text set_xlabel set_zlim3d set_ylabel figure set_zlabel zip gca pi flatten gca repeat plot_trisurf linspace figure sin append pi flatten gca repeat plot_trisurf linspace figure sin append plot_wireframe add_subplot figure get_test_data plot_wireframe add_subplot figure get_test_data plot_wireframe add_subplot figure get_test_data add_subplot figure get_test_data add_subplot figure get_test_data add_subplot cos pi quiver sin add_subplot quiver cos pi figure quiver sin gca masked_where add_collection3d figure gca array Poly3DCollection poly_collection_2d_to_3d PolyCollection add_collection3d figure set_alpha gca array Poly3DCollection set_pad Axes3D get_major_ticks get_pad set_xlabel set_ylabel figure set_zlabel enumerate set_axis_off add_subplot figure cla view_init add_subplot figure randn add_subplot linspace figure meshgrid persp_transformation array dot view_transformation inv_transform _test_proj_make_M proj_transform assert_almost_equal array list subplots text add_collection zip proj_transform LineCollection plot text set_xlim _test_proj_make_M scatter _test_proj_draw_axes zip proj_transform array set_ylim split plot zip text set_xlim dot scatter _test_proj_draw_axes view_transformation ortho_transformation proj_transform array set_ylim split assert_allclose pi rot_x world_transformation assert_allclose list Circle subplots plot set_xlim _line2d_seg_dist add_patch scatter zip array set_ylim subplots plot margins autoscale set_autoscalez_on gca figure set_proj_type add_subplot figure plot add_subplot get_data_3d figure assert_array_equal set_data_3d invert_yaxis add_subplot plot subplots set_xlim set_zlim set_ylim Axes3D get_major_ticks draw figure tick_params set_scientific set_useMathText subplots set_powerlimits get_formatters set_xlim ticklabel_format zip set_useLocale set_useOffset flat ones_like arange gca quiver zip meshgrid set_xticklabels set_yticklabels set_zticklabels set_yticks set_zticks add_subplot set_xticks set_ylim3d add_subplot cos pi axis linspace column_stack list sin ones_like plot3D product set_xlim3d set_box_aspect combinations outer set_zlim3d figure plot_surface array subplots randn draw colorbar plot_trisurf addoption getoption skip add_marker filterwarnings update items list hasattr isinstance graph DataFrame from_dict_of_dicts adj add_edge list add_edges_from items add_nodes_from empty_graph adjacency copy fromkeys update add_edge add_edges_from list items is_directed set add add_nodes_from is_multigraph empty_graph add_edges_from empty_graph list to_numpy_array columns dict from_numpy_array relabel_nodes values enumerate update float union edges update add_edge list add_edges_from isinstance zip is_multigraph empty_graph asmatrix to_numpy_array dtype list sorted add_edges_from from_iterable shape add_nodes_from chain range empty_graph list tuple set dict edges zip names zeros range len list selfloop_edges is_directed subgraph dict coo_matrix zip range len range range items list list _generate_weighted_edges empty_graph from_iterable shape add_nodes_from add_weighted_edges_from chain range get items list asarray op set dict adjacency nan edges zip is_multigraph full range len items list add_edges_from selfloop_edges DiGraph is_directed remove_node reversed set add topological_sort remove_edges_from is_multigraph keys enumerate values add_node update add_edges_from graph set add add_nodes_from __class__ is_multigraph enumerate list sorted number_of_nodes sort relabel_nodes nodes set_node_attributes dict reverse zip range get_info join writefile isfile join isdir get utcfromtimestamp time int join timetuple get_revision asctime out_edges list UnionFind popleft remove_node nodes copy any predecessors remove_edges_from weakly_connected_components deque union append create_component_structure nodes set edges union connected_components subgraph nodes set union is_multigraph edges set from_iterable set chain_decomposition from_iterable edges set next bridges edges _weight_function shortest_path_length list _build_chain add set _dfs_cycle_forest is_directed is_multigraph update add_edge Graph set add _find_chordality_breaker warn max chordal_graph_cliques len number_of_edges number_of_nodes list keys set len arbitrary_element remove _is_complete_graph subgraph _find_missing_edge _max_cardinality_node add set max len arbitrary_element remove _is_complete_graph subgraph neighbors nodes _max_cardinality_node set add list remove add_edges_from subgraph len nodes copy set add has_path append is_chordal max range has_edge list popleft map deque enumerate append len pop remove set append max combinations list add_edges_from add_nodes_from __class__ empty_graph enumerate clear add_edges_from add_nodes_from find_cliques empty_graph enumerate add_node find_cliques list find_cliques list isinstance nodes find_cliques max ego_graph list len find_cliques nodes list find_cliques nodes MaxWeightClique find_max_weight_clique items list Counter set sum items list add set max wt chain len set len max set list values _triangles_and_degree_iter is_directed _directed_triangles_and_degree_iter _directed_weighted_triangles_and_degree_iter _weighted_triangles_and_degree_iter sum combinations set nbunch_iter len list exp dict eigh zip float to_numpy_array range len list expm dict zip float to_numpy_array range len sorted remove degree extend dict enumerate max core_number values find_cores max values list isolates copy add set remove_edges_from append remove_nodes_from len pop sorted remove degree dict append items arbitrary_element partial matching_algorithm max_weight_matching set add is_directed edge_boundary chain cut_size volume set cut_size volume set cut_size set number_of_edges cut_size from_iterable set pop nodes add set append pop update defaultdict discard _unblock subgraph extend set add edges append remove_edge has_edge list defaultdict circuit subgraph strongly_connected_components len min dict zip append range remove_edge has_edge pop edge_dfs update tailhead extend nbunch_iter add set append enumerate list _min_cycle minimum_spanning_edges append union range len get add_edges_from Graph shortest_path min dict shortest_path_length _path_to_cycle edges len pairwise set consume topological_sort pop append edges heapify heappop edges create_tuple heappush pop appendleft in_degree dict deque append out_edges append arbitrary_element gcd add_edges_from copy add_edges_from list reversed copy topological_sort add_edges_from DiGraph in_degree nodes set dict add_nodes_from pop list topological_sort append transitive_closure_dag append reverse topological_sort max dag_longest_path pairwise all_simple_paths partial prefix_tree has_cycle root_to_leaf_paths remove_node update fromkeys min degree set dict single_source_shortest_path_length max values len is_directed order nbunch_iter single_source_shortest_path_length max values len eccentricity max eccentricity values eccentricity min eccentricity values items list append sum values shortest_path_length pop list tocsr index range tocsc len tolist range index len list product sort splu copy _laplacian_submatrix laplacian_matrix sign absolute divide edges diagonal append is_multigraph intersection_array degree dict all_pairs_shortest_path_length iter next max len pop list reduce dfs_postorder_nodes reverse immediate_dominators add pop arbitrary_element add set from_iterable set shortest_path_length all_pairs_shortest_path_length list items len is_directed is_eulerian is_directed pop arbitrary_element is_directed out_degree degree edges append remove_edge out_edges pop arbitrary_element is_directed out_degree degree edges append remove_edge out_edges arbitrary_element is_directed copy _multigraph_eulerian_circuit reverse is_multigraph is_directed in_degree sum out_degree is_directed copy _find_path_start _multigraph_eulerian_circuit reverse is_multigraph MultiGraph add_edge list items add_edges_from Graph max_weight_matching edges pairwise list is_valid_degree_sequence_erdos_gallai is_valid_degree_sequence_havel_hakimi make_list_of_ints len range _basic_graphical_tests range _basic_graphical_tests make_list_of_ints make_list_of_ints heapify make_list_of_ints heappush heappop append max range update str list items sorted blake2b degree nodes Counter extend dict hexdigest weisfeiler_lehman_step encode range strongly_connected_components update deepcopy list shortest_path copy edges range remove_edge deepcopy subgraph shortest_path remove_edge edges range non_edges shortest_path arbitrary_element defaultdict UnionFind in_degree dfs_postorder_nodes add set union list all_pairs_lowest_common_ancestor dfs_preorder_nodes _compute_dag_lca_from_tree_values count sorted dfs_tree defaultdict DiGraph tree_all_pairs_lowest_common_ancestor from_iterable add next add_edge copy set bfs_edges generate_unique_node ancestors dict add_nodes_from add edges set matching_dict_to_set isinstance isinstance matching_dict_to_set map set edges Counter matching_dict_to_set sum isinstance expandBlossom scanBlossom verifyOptimum max values list slack nodes edges augmentMatching append get addBlossom neighbors zip keys clear pop assignLabel min dict repeat append arbitrary_element relation subgraph equivalence_classes union callable chaini add_edges_from relabel_nodes add_nodes_from any __class__ is_multigraph empty_graph list add_edges_from is_directed remove_node copy chain list set difference choice intersection append difference_update union combinations list add_edges_from to_undirected values number_of_nodes tuple sqrt number_of_edges real label_propagation_communities sum len lr_planarity LRPlanarity LRPlanarity lr_planarity_recursive Graph add_edge list remove_edge Graph add_edge list remove_edge pop set_position len nodes get_canonical_ordering dict triangulate_embedding sum range enumerate append pop is_on_outer_face defaultdict discard neighbors_cw_order nodes set add iter append next range len add_half_edge_cw add_half_edge_ccw next_face_half_edge has_edge connect_components neighbors_cw_order nodes set triangulate_face make_bi_connected PlanarEmbedding range append len add_half_edge_ccw next_face_half_edge set add add_half_edge_cw append successors nbunch_iter set predecessors float len number_of_edges arbitrary_element all in_degree out_degree degree list replace_node LargeKGadget degree copy max_weight_matching any edges append restore_node SmallKGadget remove_edge double_edge_swap number_of_edges _compute_rc copy pop sorted number_of_edges sum degree_histogram enumerate print optimize_edit_paths append list optimize_edit_paths optimize_edit_paths list remove MaxCost reshape nodes perf_counter get_edit_paths make_CostMatrix edges zeros sum node_match node_subst_cost len range T fill_diagonal matmul copy eye allclose to_numpy_array range is_multigraph len set pop fromkeys popitem set iter append next keys pop fromkeys popitem set append next keys range count set _all_simple_edge_paths_multigraph _all_simple_paths_graph is_multigraph len pop list iter edges append next PathBuffer pop list length_func set add _weight_function shortest_path_func append range push len append _bidirectional_pred_succ insert filter_iter successors is_directed neighbors filter_succ_iter predecessors Gsucc Gpred filter_pred_iter append pop filter_iter successors is_directed get_edge_data neighbors filter_succ_iter predecessors reverse _weight_function filter_pred_iter push wt count int list add_edge discrete_sequence is_directed cumulative_distribution neighbors copy choice index number_of_edges remove_edge zip range local_edge_connectivity len arange is_directed where local_edge_connectivity list ceil append range add_edge cumulative_distribution neighbors copy choice number_of_edges zip int discrete_sequence index zeros remove_edge len transitivity mean average_shortest_path_length random_reference append range range mean average_shortest_path_length random_reference append lattice_reference transitivity items list number_of_nodes _setup_residual_graph min remove_node nodes set add pow add_nodes_from _lightest_edge_dicts _add_edge_to_spanner remove_edges_from remove_edge keys empty_graph values edges copy add_edge get norm size ego_graph float sum len float sum sum nmw add_edge list discrete_sequence is_directed cumulative_distribution choice zip remove_edge pop add_edge list int discrete_sequence is_connected cumulative_distribution neighbors degree ceil choice has_path append remove_edge pop sort pop sort isinstance insert append range isinstance len pop extend isinstance list isinstance uncompact reverse float enumerate pop isinstance sort reverse append pop add_edge list isinstance print is_directed uncompact empty_graph add_node enumerate neighbors nodes edges pop list subgraph sort neighbors degree extend dict reverse zip append len enumerate count append enumerate count triangle_sequence degree_sequence append float enumerate append enumerate count float degree_sequence sum len pop count print degree_sequence enumerate pop isinstance uncompact index max list isinstance uncompact index range len count append float enumerate len sqrt sum make_compact append sum pop sort degree_sequence append len append range list range remove choice condition enumerate arbitrary_element subgraph insert set index_satisfying combinations list range adjacency_matrix set _tricode sum values len Graph isinstance combinations nodes combinations nodes triad_type defaultdict all_triads append permutations edges len sample subgraph nodes subgraph partial wiener_index set multi_source_dijkstra_path groups set is_directed sum chaini next union zip_longest next disjoint_union iter next compose iter next iter intersection update add_edges_from add_prefix graph set add_nodes_from __class__ edges is_multigraph update convert_node_labels_to_integers union graph add_edge create_empty_copy edges is_multigraph has_edge add_edge is_multigraph create_empty_copy edges add_edge create_empty_copy set add_nodes_from edges is_multigraph update add_edges_from graph nodes add_nodes_from __class__ edges is_multigraph is_directed add_edge union add_prefix product edges edges is_multigraph edges is_multigraph edges is_multigraph edges Graph MultiGraph to_directed is_directed _directed_edges_cross_edges add_edges_from _node_product _init_product_graph _undirected_edges_cross_edges add_nodes_from add_edges_from _node_product _init_product_graph _nodes_cross_edges add_nodes_from _edges_cross_nodes add_edges_from _node_product _init_product_graph _nodes_cross_edges add_nodes_from _edges_cross_nodes_and_nodes add_edges_from _directed_edges_cross_edges _node_product _init_product_graph _nodes_cross_edges _undirected_edges_cross_edges add_nodes_from _edges_cross_nodes Graph add_nodes_from add_edges_from update Graph add_nodes_from add_edges_from product add_nodes_from add_edges_from __class__ add_edge Graph copy union_all add_node Graph add_nodes_from add_edge intersection_all intersection_all add_edge raises NetworkXError Graph remove_node copy intersection add_node MultiGraph add_edge intersection_all add_edge assert_edges_equal raises DiGraph NetworkXError path_graph complete_graph compose_all edges union_all union disjoint_union_all MultiGraph add_edge union_all intersection_all compose_all disjoint_union_all add_edge Graph copy union add_node Graph add_nodes_from add_edge intersection add_edge raises NetworkXError Graph remove_node copy intersection add_node MultiGraph add_edge intersection add_edge Graph symmetric_difference difference add_nodes_from Graph add_nodes_from add_edge difference add_edge raises NetworkXError Graph remove_node copy difference intersection add_node MultiGraph add_edge difference raises NetworkXError symmetric_difference path_graph difference MultiGraph add_edge symmetric_difference add_edge assert_edges_equal raises DiGraph NetworkXError Graph path_graph complete_graph add_nodes_from edges compose union disjoint_union MultiGraph add_edge union MultiGraph add_edge disjoint_union MultiGraph add_edge compose add_edge DiGraph Graph full_join add_node MultiGraph add_edge MultiDiGraph full_join add_node MultiGraph raises NetworkXError Graph symmetric_difference difference intersection compose union disjoint_union tensor_product path_graph complete_graph null_graph empty_graph tensor_product path_graph complete_graph MultiGraph tensor_product DiGraph path_graph complete_graph tensor_product complete_graph petersen_graph tetrahedral_graph cycle_graph erdos_renyi_graph tensor_product nodes MultiGraph add_edge cartesian_product cartesian_product path_graph complete_graph null_graph empty_graph cartesian_product path_graph complete_graph cartesian_product path_graph erdos_renyi_graph cartesian_product nodes lexicographic_product path_graph complete_graph null_graph empty_graph lexicographic_product path_graph complete_graph lexicographic_product MultiGraph path_graph complete_graph erdos_renyi_graph lexicographic_product nodes strong_product path_graph complete_graph null_graph empty_graph strong_product path_graph complete_graph MultiGraph strong_product path_graph complete_graph erdos_renyi_graph strong_product nodes add_edge list assert_edges_equal edges power cycle_graph Graph add_edges_from cycle_graph rooted_product path_graph complete_graph bull_graph null_graph empty_graph add_edge complement DiGraph Graph reverse raises NetworkXError complement clique_removal ramsey_R2 copy append max remove_nodes_from _clique_heuristic degree sample len update is_directed in_degree min out_degree degree set _bidirectional_shortest_path range combinations permutations is_directed is_connected is_weakly_connected neighbors min degree iter_func set local_node_connectivity combinations permutations is_directed iter_func set local_node_connectivity reverse items list min add set clique_removal subgraph k_core max values defaultdict nodes density append range add_edge _cliques_heuristic set biconnected_components combinations connected_components core_number add_nodes_from node_connectivity _AntiGraph sorted core_number subgraph k_core min degree copy set dict intersection remove_nodes_from values enumerate values set arbitrary_element copy add non_neighbors add_edge remove Graph set all_pairs_dijkstra next subgraph edge_subgraph from_iterable metric_closure minimum_spanning_edges is_multigraph MinDegreeHeuristic sort maxsize pop max remove permutations list add_edge frozenset heuristic Graph len nodes add append keys add_node dict min nodes edges petersen_graph petersen_graph tetrahedral_graph dodecahedral_graph empty_graph complete_graph subgraph len add_edge remove_node complete_graph remove_edge add_cycle add_node Graph add_edges_from add_edge remove_node complete_graph order disjoint_union range range complete_graph range empty_graph octahedral_graph node_connectivity raises complete_graph NetworkXError node_connectivity raises complete_graph NetworkXError node_connectivity path_graph raises NetworkXError node_connectivity path_graph raises NetworkXError local_node_connectivity raises complete_graph NetworkXError cycle_graph to_directed Graph items sorted add_edge convert_node_labels_to_integers order complete_graph petersen_graph remove_node grid_graph disjoint_union get_node_attributes add_edge convert_node_labels_to_integers order complete_graph petersen_graph remove_node grid_graph disjoint_union get_node_attributes items list subgraph k_components node_connectivity _check_connectivity torrents_and_ferraro_graph graph_example_1 _check_connectivity karate_club_graph _check_connectivity build_k_number_dict karate_club_graph k_components copy graph_example_1 list items subgraph k_components node_connectivity Graph add_edges_from ramsey_R2 subgraph Graph barbell_graph complete_graph density trivial_graph append subgraph nodes edges target_degree list defaultdict items source_degree is_directed neighbors degree sum degree_mixing_matrix node_degree_xy list zip attribute_mixing_matrix numeric_mixing_matrix sum trace arange outer shape float sum node_attribute_xy sum dict_to_numpy_array attribute_mixing_dict node_degree_xy update items degree_mixing_dict list max dict_to_numpy_array set sum keys update items list max dict_to_numpy_array set attribute_mixing_dict sum keys get items list target_degree float sum source_degree is_directed degree get items list nodes set adjacency is_multigraph ydeg is_directed degree set xdeg update pop fromkeys isolates is_directed neighbors append color sets set is_directed is_connected is_weakly_connected set color is_directed number_of_edges set update len set float len set path_length set dict single_source_shortest_path_length float sum values len latapy_clustering _four_cycles _threepaths combinations set encode write generate_edgelist extend edges pop update join add_edge zip add_node nodetype literal_eval dict find empty_graph edge_type split add_edges_from isinstance is_directed Integral add_nodes_from empty_graph add_edges_from is_directed extend shuffle sum _add_nodes_with_bipartite_label empty_graph len pop add_edge remove is_directed sort sum _add_nodes_with_bipartite_label empty_graph len pop add_edge remove is_directed sort sum _add_nodes_with_bipartite_label empty_graph len pop add_edge remove is_directed sort append sum _add_nodes_with_bipartite_label empty_graph len add_edge remove is_directed reduce choice _add_nodes_with_bipartite_label empty_graph add_node len int add_edge DiGraph Graph random _add_nodes_with_bipartite_label log add_edge list DiGraph Graph set choice _add_nodes_with_bipartite_label update list set_node_attributes dict add_nodes_from zip range deque depth_first_search bipartite_sets breadth_first_search list recurse DiGraph copy edges append bipartite_sets bipartite_sets _connected_by_alternating_paths set data update list inf sets biadjacency_matrix linear_sum_assignment shape full list count set dict coo_matrix zip len list empty_graph from_iterable shape add_nodes_from add_weighted_edges_from chain range MultiGraph update add_edges_from add_edge MultiDiGraph DiGraph is_directed Graph graph set add_nodes_from is_multigraph update add_edge DiGraph is_directed Graph graph set add_nodes_from pred float adj len update sum add_edge DiGraph is_directed Graph graph set add_nodes_from pred adj update add_edge DiGraph is_directed Graph graph min set add_nodes_from pred float adj len update add_edge DiGraph is_directed Graph graph add_nodes_from pred weight_function adj any sum len list expm dict zip to_numpy_array range len Graph enumerate star_graph path_graph path_graph robins_alexander_clustering round davis_southern_women_graph add_edge path_graph add_edge list add_edges_from Graph add_nodes_from range Graph add_nodes_from add_edges_from eppstein_matching node_redundancy complete_bipartite_graph node_redundancy add_edge cycle_graph set _accumulate_basic _accumulate_endpoints fromkeys nodes _single_source_dijkstra_path_basic sample _single_source_shortest_path_basic _rescale update fromkeys _rescale_e _accumulate_edges nodes _single_source_dijkstra_path_basic edges sample _single_source_shortest_path_basic len warn pop append fromkeys pop get list items fromkeys append push count pop fromkeys pop fromkeys pop fromkeys fromkeys shortest_path dijkstra _accumulate_subset _rescale len update fromkeys _rescale_e shortest_path _accumulate_edges_subset dijkstra edges len list nodes warn pop fromkeys set pop len fromkeys set partial single_source_dijkstra_path_length is_directed nodes reverse add_edge path_length nodes single_source_shortest_path_length sum remove_edge values len get int list number_of_nodes fromkeys solve log sample dict laplacian_sparse_matrix zip ceil zeros range relabel_nodes reverse_cuthill_mckee_ordering list number_of_nodes flow_matrix_row fromkeys dict zip float range relabel_nodes reverse_cuthill_mckee_ordering list number_of_nodes flow_matrix_row fromkeys dict zip range relabel_nodes reverse_cuthill_mckee_ordering list number_of_nodes flow_matrix_row fromkeys relabel_nodes dict zip range reverse_cuthill_mckee_ordering list number_of_nodes flow_matrix_row fromkeys relabel_nodes dict zip range reverse_cuthill_mckee_ordering list number_of_nodes fromkeys get_row dict laplacian_sparse_matrix zip range relabel_nodes reverse_cuthill_mckee_ordering len len _dispersion fromkeys number_of_nodes all copy sum range values T norm to_scipy_sparse_matrix eigs sign real sum get sorted number_of_nodes get_rows w dot laplacian_sparse_matrix zeros T asarray to_scipy_sparse_matrix shape spdiags combinations all_shortest_paths set is_directed multi_source_dijkstra_path_length set reverse len set union len is_directed shortest_path_length reverse partial number_of_nodes fromkeys sqrt float sum range list T norm solve map sign dict array eye zip sum keys values order fromkeys _node_betweenness pop fromkeys sort dijkstra_predecessor_and_distance predecessor float len items list _edge_betweenness edges pop predecessor edges len list fromkeys shortest_path len dijkstra _accumulate_percolation values get_node_attributes pop fromkeys sum len size is_negatively_weighted shortest_path max size is_negatively_weighted sum shortest_path add_edge list items DiGraph in_degree solve identity to_numpy_array dict _Qj any empty max range values len list expm map dict diagonal zip to_numpy_array list exp map dot eigh dict array zip to_numpy_array list expm copy dict zip float sum to_numpy_array range _rescale len len toarray inv eye sum enumerate trophic_levels edges list selfloop_edges trophic_differences copy remove_edges_from is_directed nodes edges append sum max range len Graph add_edge Graph add_edges_from Graph add_edges_from add_node Graph add_edges_from add_node add_edge trophic_levels DiGraph add_edge T asarray list items DiGraph ones inv remove_node copy dot eye array trophic_levels from_numpy_array array trophic_levels trophic_levels print from_numpy_array array range ones inv matmul range from_numpy_array ravel array trophic_levels from_numpy_array identity add_edge DiGraph from_numpy_array trophic_differences array from_numpy_array array trophic_incoherence_parameter from_numpy_array array trophic_incoherence_parameter edges list defaultdict set range values append items list defaultdict list keys append list keys remove change_color add_edges_from complete_graph edges relabel_nodes len update list change_color move_witnesses extend add set append keys len sorted change_color pad_graph make_C_from_F neighbors nodes set add make_H_from_C_N make_N_from_L_C procedure_P append max relabel_nodes enumerate list shuffle pop appendleft remove defaultdict min degree remove_node copy add find_min_degree deque float subgraph add min set subgraph _maximal_independent_set set arbitrary_element connected_components subgraph traverse bfs_edges dfs_edges len max range add get count strategy iter_neighbors_color assign_color max count list discard add color clear_color edges append next set adj_list dropwhile mate iter_neighbors AdjEntry len neighbors nodes dict_to_sets items list add max values Graph add_nodes_from Graph add_nodes_from add_edges_from Graph add_nodes_from add_edges_from Graph add_edges_from Graph add_nodes_from add_edges_from Graph add_nodes_from add_edges_from Graph add_nodes_from add_edges_from Graph add_nodes_from add_edges_from Graph add_nodes_from add_edges_from Graph add_nodes_from add_edges_from Graph add_nodes_from add_edges_from Graph add_nodes_from add_edges_from Graph add_nodes_from add_edges_from Graph add_nodes_from add_edges_from Graph add_nodes_from add_edges_from Graph add_nodes_from add_edges_from Graph add_nodes_from add_edges_from Graph add_nodes_from add_edges_from Graph add_nodes_from add_edges_from list keys len make_H_from_C_N make_N_from_L_C edges append make_C_from_F len update max list shuffle Counter choice keys values selfloop_edges remove_edges_from to_undirected number_connected_components connected_components tuple most_valuable_edge remove_edge len list add_edge defaultdict connected_components Graph add_nodes_from find_cliques append _get_adjacent_cliques add set pop _update_costs insert zip sum count _kernighan_lin_sweep list min shuffle is_multigraph range len update list shuffle Counter choice max values items list set _color_network _update_label values items list add dict greedy_color max Counter values pop _most_frequent_labels max range is_directed _concatenate_or_merge _leaves values list dfs_tree _split_n_from nodes range descendants choice set remove_nodes_from set_edge_attributes deepcopy items clear _a_parent_of_leaves_only dict set_node_attributes pop update remove list MappedQueue frozenset degree nodes set append push sum keys modularity len list frozenset append modularity enumerate len intra_community_edges inter_community_non_edges number_of_edges intra_community_edges list is_directed in_degree degree out_degree dict sum values Graph raises add_node Graph asyn_fluidc add_node Graph add_edge asyn_fluidc Graph add_edge asyn_fluidc Graph add_edge asyn_fluidc combinations add_edges_from list Graph k_clique_communities set range combinations add_edges_from list Graph k_clique_communities set range kernighan_lin_bisection barbell_graph assert_partition_equal kernighan_lin_bisection barbell_graph assert_partition_equal kernighan_lin_bisection barbell_graph assert_partition_equal MultiGraph assert_partition_equal add_edges_from list permutations kernighan_lin_bisection relabel_nodes range dict edges zip cycle_graph remove_edge Graph label_propagation_communities add_node Graph add_edge label_propagation_communities Graph add_edge label_propagation_communities add_node add_edges_from karate_club_graph caveman_graph asyn_lpa_communities Graph add_edge set_node_attributes DiGraph Graph add_edge DiGraph product paper_1_case product paper_2_case complete_graph add_edge DiGraph list add_edges_from number_of_nodes DiGraph barbell_graph nodes erdos_renyi_graph margulis_gabber_galil_graph cycle_graph complete_graph empty_graph empty_graph empty_graph empty_graph strongly_connected_components list condensation list attracting_components list biconnected_components _biconnected_dfs add _biconnected_dfs set min add set append next len update _plain_bfs set update add adj set topological_sort condensation pop update min add set append pop update list dfs_preorder_nodes dfs_postorder_nodes set reverse update list add_edges_from DiGraph strongly_connected_components add_nodes_from set_node_attributes range enumerate update _plain_bfs set succ pred add_edge list articulation_points barbell_graph set add_path biconnected_components assert_components_equal add_cycle Graph add_edges_from articulation_points cycle_graph add_cycle set cycle_graph add_cycle add_edge empty_graph list assert_components_equal cycle_graph biconnected_components add_cycle list articulation_points assert_components_edges_equal Graph set biconnected_component_edges add_edge list assert_components_edges_equal Graph add_cycle biconnected_component_edges davis_southern_women_graph list karate_club_graph biconnected_components assert_components_equal Graph list biconnected_components assert_components_equal Graph is_biconnected articulation_points raises DiGraph biconnected_components biconnected_component_edges get build_auxiliary_node_connectivity dict build_auxiliary_node_connectivity build_residual_network dict combinations build_auxiliary_node_connectivity permutations is_directed build_residual_network iter_func dict build_auxiliary_node_connectivity build_residual_network dict dict build_auxiliary_edge_connectivity pop list is_directed build_residual_network min dict dominating_set build_auxiliary_edge_connectivity range local_edge_connectivity len update set dict build_auxiliary_edge_connectivity minimum_cut get build_auxiliary_node_connectivity dict minimum_st_edge_cut combinations build_auxiliary_node_connectivity permutations is_directed build_residual_network iter_func neighbors min set dict minimum_st_node_cut pop list is_directed build_residual_network min minimum_st_edge_cut set dict dominating_set edges build_auxiliary_edge_connectivity range len list in_degree popitem min out_degree flow_func dict build_auxiliary_edge_connectivity append get build_auxiliary_node_connectivity in_degree min out_degree dict edge_disjoint_paths seen_add __contains__ add set _filterfalse any local_edge_connectivity one_edge_augmentation bridge_augmentation greedy_k_edge_augmentation get combinations list add_edges_from k_edge_subgraphs get_edge_data _unpack_available_edges copy remove_edges_from _edges_between_disjoint keys list compress isinstance keys values items list defaultdict _ordered min zip append items list connected_components defaultdict nodes zip collapse append add_edges_from connected_components minimum_spanning_tree _unpack_available_edges _lightest_meta_edges edges collapse int list add_edges_from defaultdict items add_edge product bridge_components copy ceil zip collapse next append len set_edge_attributes add_edge add_edges_from list dfs_tree one_edge_augmentation get_edge_data _unpack_available_edges bridge_components copy tree_all_pairs_lowest_common_ancestor set add _minimum_rooted_branching edges collapse next has_bridges minimum_spanning_arborescence remove_edges_from copy update list add_edges_from nodes set add_nodes_from __class__ set_node_attributes difference_update range enumerate is_directed combinations nodes shuffle add_edge list sorted remove _compat_shuffle complement_edges _unpack_available_edges copy zip append is_k_edge_connected remove_edge len is_directed construct is_directed general_k_edge_subgraphs remove_edges_from copy bridges is_directed in_degree out_degree degree add set list is_directed _low_degree_nodes neighbors map copy from_iterable set difference_update remove_nodes_from pop partial find_ccs minimum_edge_cut nodes copy add remove_edges_from len list all_node_cuts next Graph add_nodes_from add_edges_from connected_components connected_components subgraph add set has_nbrs_in_partition append list _consolidate union reversed dict max range list transitive_closure build_auxiliary_node_connectivity list defaultdict _pred build_residual_network nodes condensation _is_separating_set antichains append update add_edge add_edges_from copy set remove_edges_from combinations items flow_func dict any node_connectivity len restricted_view is_connected single_source_shortest_path_length list remove_node add edges append range get add_edge Graph insert islice set float add_node arbitrary_element heap items min len add_edge add_edges_from DiGraph is_directed edges append add_node enumerate add_edges_from DiGraph is_directed nodes add_nodes_from edges fast_gnp_random_graph Graph add_edges_from path_graph dict DiGraph next range _generate_no_biconnected Graph add_edges_from dict add_edge remove_node complete_graph order disjoint_union range add_edge complete_graph disjoint_union tutte_graph icosahedral_graph edge_connectivity path_graph raises NetworkXError edge_connectivity path_graph raises NetworkXError add_path DiGraph Graph add_path cycle_graph to_directed local_func complete_graph raises complete_graph NetworkXError raises complete_graph NetworkXError raises complete_graph NetworkXError graph_func minimum_node_cut add_edges_from Graph minimum_edge_cut copy dict minimum_node_cut remove_edges_from remove_nodes_from add_edge remove_node complete_graph order minimum_edge_cut dict disjoint_union copy minimum_node_cut remove_edges_from remove_nodes_from range minimum_edge_cut copy petersen_graph dict minimum_node_cut remove_edges_from remove_nodes_from octahedral_graph minimum_edge_cut copy dict minimum_node_cut remove_edges_from remove_nodes_from icosahedral_graph minimum_edge_cut copy dict minimum_node_cut remove_edges_from remove_nodes_from add_edges_from raises NetworkXError Graph minimum_node_cut arbitrary_element add_edges_from connected_components minimum_node_cut iter fast_gnp_random_graph next remove_nodes_from range arbitrary_element add_edges_from connected_components minimum_edge_cut iter remove_edges_from fast_gnp_random_graph next range Graph raises NetworkXPointlessConcept DiGraph complete_graph NetworkXError raises raises NetworkXError complete_graph to_directed complete_graph Graph add_nodes_from add_edges_from minimum_st_node_cut sum union len len add_edges_from list Graph dict edge_disjoint_paths node_disjoint_paths list florentine_families_graph dict edge_disjoint_paths node_disjoint_paths list dict edge_disjoint_paths karate_club_graph node_disjoint_paths list petersen_graph dict edge_disjoint_paths node_disjoint_paths list octahedral_graph dict edge_disjoint_paths node_disjoint_paths list icosahedral_graph dict edge_disjoint_paths node_disjoint_paths list icosahedral_graph dict edge_disjoint_paths node_disjoint_paths Graph chain add_edges_from list _augment_and_check Random Graph complement_edges set add_nodes_from _check_augmentations MultiGraph raises DiGraph NetworkXNotImplemented Graph Graph add_nodes_from barbell_graph complete_graph MultiGraph raises DiGraph NetworkXNotImplemented Graph Graph add_nodes_from barbell_graph _check_augmentations _check_augmentations complete_graph range _check_augmentations complete_graph range add_node Graph _check_augmentations add_node Graph add_nodes_from _check_augmentations Graph raises k_edge_augmentation list raises k_edge_augmentation tarjan_bridge_graph NetworkXUnfeasible _check_augmentations print _check_augmentations tarjan_bridge_graph set selfloop_edges random_powerlaw_tree_sequence Graph remove_edges_from _check_augmentations configuration_model _check_augmentations random_shell_graph _check_augmentations star_graph _check_augmentations _check_augmentations Graph _check_augmentations gnp_random_graph _check_augmentations Random list map set list add_edges_from k_edge_augmentation copy _assert_solution_properties dict edge_connectivity zip append sum len add_edges_from _augment_and_check number_of_nodes _check_unconstrained_bridge_property print min copy edge_connectivity range int list bridge_components collapse ceil len subgraph edge_connectivity edge_connectivity is_directed combinations min _memo_connectivity subgraph _all_pairs_connectivity edge_connectivity construct _assert_local_cc_edge_connectivity connected_components k_edge_subgraphs is_directed fset bridge_components strongly_connected_components _assert_subgraph_edge_connectivity k_edge_components count construct raises k_edge_subgraphs Graph general_k_edge_subgraphs k_edge_components Graph DiGraph MultiGraph construct raises k_edge_subgraphs DiGraph NetworkXNotImplemented k_edge_components Graph list general_k_edge_subgraphs add_node gnp_random_graph _check_edge_connectivity _check_edge_connectivity _check_edge_connectivity _check_edge_connectivity Graph chain _check_edge_connectivity Graph fset bridge_components chain _check_edge_connectivity construct k_edge_subgraphs Graph fset chain _check_edge_connectivity construct k_edge_subgraphs Graph fset k_edge_components chain chain _check_edge_connectivity DiGraph Graph chain _check_edge_connectivity k_edge_subgraphs frozenset Graph fset k_edge_components chain _check_edge_connectivity add_edges_from complete_graph chain _check_edge_connectivity disjoint_union construct k_edge_subgraphs DiGraph fset strongly_connected_components chain gnp_random_graph _check_edge_connectivity selfloop_edges DiGraph random_powerlaw_tree_sequence remove_edges_from _check_edge_connectivity configuration_model _check_edge_connectivity to_directed _check_edge_connectivity to_directed k_components k_components _check_connectivity k_components _check_connectivity k_components _check_connectivity _check_connectivity k_components build_k_number_dict karate_club_graph k_components k_components _check_connectivity davis_southern_women_graph items list k_components davis_southern_women_graph list_of_sets_equal _consolidate connected_components subgraph all_node_cuts islice node_connectivity _check_separating_sets _check_separating_sets _check_separating_sets _check_separating_sets _check_separating_sets _check_separating_sets list all_node_cuts all_node_cuts grid_2d_graph all_node_cuts fast_gnp_random_graph raises NetworkXError all_node_cuts islice node_connectivity complete_graph star_graph max list subgraph all_node_cuts print info karate_club_graph max biconnected_components all_node_cuts list cycle_graph all_node_cuts list complete_graph tuple map edges stoer_wagner _check_partition Graph add_edge _test_stoer_wagner Graph add_edge _test_stoer_wagner Graph add_edge _test_stoer_wagner Graph add_edge _test_stoer_wagner MultiGraph stoer_wagner add_edge MultiDiGraph NetworkXError DiGraph NetworkXNotImplemented boykov_kolmogorov_impl list succ build_residual_network pred adopt deque grow values items generate_unique_node list add_edge DiGraph min add_nodes_from negative_edge_cycle float get add_edge _detect_unboundedness selfloop_edges MultiDiGraph float min add_nodes_from is_multigraph update items list float is_multigraph max log h_insert values list _build_residual_network T_add S_add nodes add chain sum get insert set T_remove float S_remove pop int items remove arbitrary_element heap succ any dinitz_impl list succ build_residual_network pred breath_first_search depth_first_search values succ bidirectional_bfs nodes pred reverse append list build_residual_network edmonds_karp_core float values edmonds_karp_impl get Graph build_residual_network next add_nodes_from iter add_weighted_edges_from minimum_cut flow_func build_flow_dict flow_func add_edges_from flow_func set dict remove_edges_from shortest_path_length flow_func maximum_flow_value add_node DiGraph selfloop_edges find_cycle find_leaving_edge add_entry residual_capacity list edges append chain is_multigraph sum range get add_edge make_root zip float update_potentials enumerate find_entering_edges extend augment_flow repeat any remove_edge len GlobalRelabelThreshold reverse_bfs detect_unboundedness discharge clear_work max push values list build_residual_network nodes add CurrentEdge is_reached gap_heuristic global_relabel size pred items arbitrary_element succ active len preflow_push_impl get items list append succ build_residual_network popleft size move_to_next nodes pred deque CurrentEdge float values len shortest_augmenting_path_impl get add_edge DiGraph is_directed float min add_nodes_from is_multigraph items list popleft add deque append update update set items list compute_cutset remove_edges_from copy flow_func validate_cuts build_flow_dict validate_flows minimum_cut add_edge raises NetworkXError DiGraph preflow_push preflow_push add_path DiGraph add_edge shortest_augmenting_path DiGraph add_path range add_edge range DiGraph join dirname build_flow_dict shape next iter test next iter add dict enumerate pop list reduce set intersection sort number_of_cliques degree triangles sort degree triangles sorted GM GraphMatcher DiGraphMatcher zip list isinstance zip list isinstance zip list isinstance zip list isinstance zip list isinstance zip list isinstance zip add_edge list items number_of_nodes DiGraph bfs_edges enumerate bfs_edges append items list append zip enumerate root_trees max sorted list generate_isomorphism group_by_levels zip assign_levels range values enumerate center sorted rooted_tree_isomorphism edge_match core_1 node_match add_edges_from list DiGraphMatcher relabel_nodes shuffle dict GraphMatcher zip range add_edges_from list DiGraphMatcher relabel_nodes shuffle dict GraphMatcher zip range add_edges_from list selfloop_edges DiGraphMatcher relabel_nodes shuffle dict GraphMatcher remove_edges_from zip range add_edge list DiGraphMatcher DiGraph subgraph_isomorphisms_iter add_edge list DiGraphMatcher DiGraph subgraph_monomorphisms_iter list path_graph GraphMatcher cycle_graph range isomorphisms_iter len add_edges_from DiGraphMatcher subgraph remove_node GraphMatcher object GraphMatcher path_graph DiGraphMatcher DiGraphMatcher add_edge add_node DiGraph categorical_node_match date edges edges datetime date edges date date date is_directed append edges add_edges_from sorted DiGraph print Graph rooted_tree_isomorphism add_edges_from tree_isomorphism Graph shuffle copy time print nonisomorphic_trees positive_single_tree range print rooted_tree_isomorphism add_node Graph print add_edges_from tree_isomorphism Graph list time print nonisomorphic_trees range len numerical_edge_match subgraph nodes copy add_weighted_edges_from numerical_multiedge_match is_multigraph add_edge numerical_edge_match DiGraph max list number_of_nodes fromkeys sum keys range values to_numpy_array to_numpy_array list eig map authority_matrix flatten dict zip hub_matrix sum max T list to_scipy_sparse_matrix ones map flatten shape dict zip sum max list number_of_nodes fromkeys stochastic_graph to_directed float sum keys range values list repeat array to_numpy_matrix len sum T eig google_matrix real float argmax list T to_scipy_sparse_matrix flatten repeat spdiags sum array range len _propagate _predict to_scipy_sparse_matrix _get_label_info _build_base_matrix _build_propagation_matrix _init_label_matrix _propagate _predict to_scipy_sparse_matrix _get_label_info _build_base_matrix _build_propagation_matrix _init_label_matrix dot append array nodes enumerate zeros argmax tolist pop items list heuristic reverse _weight_function append weight push count astar_path _weight_function minimum fill_diagonal shape to_numpy_array range get defaultdict edges min append shortest_path list all_pairs_dijkstra_path is_directed single_source_dijkstra_path bellman_ford_path reversed dict single_source_shortest_path reverse all_pairs_bellman_ford_path bidirectional_shortest_path all_pairs_shortest_path dijkstra_path single_source_bellman_ford_path bidirectional_shortest_path single_source_dijkstra_path_length is_directed path_length bellman_ford_path_length all_pairs_bellman_ford_path_length all_pairs_shortest_path_length reverse dijkstra_path_length single_source_bellman_ford_path_length single_source_shortest_path_length all_pairs_dijkstra_path_length sum floyd_warshall len predecessor bellman_ford_predecessor_and_distance dijkstra_predecessor_and_distance append discard add float append update len set float append _bidirectional_pred_succ reverse succ pred adj float join float append is_multigraph callable single_source_dijkstra _dijkstra _weight_function multi_source_dijkstra _weight_function _dijkstra_multisource _weight_function pop items list append weight push count _weight_function single_source_dijkstra any _bellman_ford _weight_function get items remove list all popleft _build_paths_from_predecessors set add next deque float weight append len single_source_bellman_ford _bellman_ford _weight_function single_source_bellman_ford _weight_function _bellman_ford _weight_function topo_sort succ is_directed any relax _weight_function float adj add_edges_from generate_unique_node bellman_ford_predecessor_and_distance pop items list is_directed reverse _weight_function weight push count list _bellman_ford _weight_function zip is_multigraph sum callable validate_path assert_almost_equal karate_club_graph path_graph complete_graph petersen_graph line_graph is_at_free cycle_graph cycle next len tuple
alazraq/arabic-nlp
1,314
albermax/interpretable_ai_book__sw_chapter
['autonomous driving']
['Software and application patterns for explanation methods']
notebooks/create_bboxes.py between strip find
# ["Software and application patterns for explanation methods"](https://arxiv.org/abs/1904.04734) The code snippets for the chapter ["Software and application patterns for explanation methods"](https://arxiv.org/abs/1904.04734) of the ["Interpretable AI" book](). Please use the setup script to install the notebooks and run them. * [Section 2](https://github.com/albermax/interpretable_ai_book__sw_chapter/blob/master/notebooks/implementations.ipynb) * [Section 3.1](https://github.com/albermax/interpretable_ai_book__sw_chapter/blob/master/notebooks/mnist_missprediction.ipynb) * [Section 3.2](https://github.com/albermax/interpretable_ai_book__sw_chapter/blob/master/notebooks/imagenet_compare_methods.ipynb) * [Section 3.3](https://github.com/albermax/interpretable_ai_book__sw_chapter/blob/master/notebooks/imagenet_compare_networks.ipynb) * [Section 3.4](https://github.com/albermax/interpretable_ai_book__sw_chapter/blob/master/notebooks/imagenet_focus_on_background.ipynb)
1,315
alberttafur/cobratoolbox
['experimental design']
['Creation and analysis of biochemical constraint-based models: the COBRA Toolbox v3.0']
docs/source/conf.py docs/source/sphinxext/github_linkcode.py src/analysis/thermo/componentContribution/inchi2gv.py docs/generateJSONList.py path_to_list path_to_list_easycomplete mkdir_p linkcode_resolve _run_git _git_get_nearest_tracking_branch github_linkcode_resolve _get_git_doc_ref GroupsDataError MalformedGroupDefinitionError GroupDecomposer InChI2GroupVector OpenBabelError MakeOpts GroupVector GroupDecomposition _AllAtomsSet Group Molecule FocalSet GroupDecompositionError GroupsData makedirs join print append walk len update join sorted print append walk enumerate len communicate Popen poll strip group match splitlines _run_git len strip _git_get_nearest_tracking_branch get getattr replace split append Group property property OBSmartsPattern OBElementTable add_option OptionParser
alberttafur/cobratoolbox
1,316
albietz/stochs
['data augmentation', 'stochastic optimization']
['Stochastic Optimization with Variance Reduction for Infinite Datasets with Finite-Sum Structure']
examples/imdb_dropout.py setup.py examples/curves.py test_stochs.py test_sgd_onevsrest test_sparse_saga test_miso test_sparse_sgd test_sparse_miso test_saga load_dataset benchmark test_sgd plot_all smoothing algo_label plot_loss plot_test_acc load_imdb train_saga train_miso_nonu transpose train_sgd_nonu training train_miso train_sgd dtype load_digits csr_matrix astype int32 arange SGD load_dataset iterate info sum arange load_dataset iterate max SGDOneVsRest todense arange SparseSGD SGD load_dataset iterate info compute_loss MISO arange iterate load_dataset todense arange info MISO load_dataset init iterate compute_loss SparseMISO SAGA arange iterate load_dataset todense arange info compute_squared_norm SAGA load_dataset init iterate compute_loss SparseSAGA time print iterate_indexed iterate load_dataset MISOOneVsRest randint range max SGDOneVsRest range copy startswith format plot xlabel smoothing ylabel title figure legend array range format plot semilogy print smoothing xlabel min ylabel title savefig figure legend array range plot_loss plot_test_acc load_svmlight_files process_imdb time RandomState info compute_squared_norm hstack start_decay choice mean vstack compute_loss sort_indices append iterate range iterate_indexed SparseSGD SparseSGD flatten set_q SparseMISO decay init min min flatten set_q init SparseMISO SparseSAGA init
# stochs - fast stochastic solvers for machine learning ## Introduction The stochs library provides efficient C++ implementations of stochastic optimization algorithms for common machine learning settings, including situations with finite datasets augmented with random perturbations (e.g. data augmentation or dropout). The library is mainly used from Python through a Cython extension. Currently, SGD, (S-)MISO and (N-)SAGA are supported, for dense and sparse data. See the following reference for details: A. Bietti and J. Mairal. [Stochastic Optimization with Variance Reduction for Infinite Datasets with Finite-Sum Structure](https://arxiv.org/abs/1610.00970). NIPS, 2017. ## Installation The library requires Eigen >=3.3 (it will be downloaded automatically in the `setup.py` script unless the folder or symlink `include/Eigen` already exists) and glog. To install glog on Ubuntu, run:
1,317
albu/albumentations
['data augmentation', 'image augmentation']
['Albumentations: fast and flexible image augmentations']
albumentations/augmentations/geometric/functional.py albumentations/__init__.py albumentations/core/utils.py albumentations/augmentations/dropout/coarse_dropout.py tests/test_imgaug.py tests/test_augmentations.py albumentations/augmentations/transforms.py albumentations/pytorch/functional.py tests/test_functional.py tests/test_pytorch.py tests/test_bbox.py docs/conf.py albumentations/augmentations/geometric/__init__.py albumentations/augmentations/dropout/grid_dropout.py albumentations/core/transforms_interface.py albumentations/imgaug/stubs.py albumentations/augmentations/bbox_utils.py tests/test_transforms.py albumentations/augmentations/dropout/__init__.py albumentations/augmentations/dropout/channel_dropout.py tests/test_keypoint.py albumentations/augmentations/keypoints_utils.py albumentations/augmentations/crops/__init__.py albumentations/augmentations/geometric/rotate.py albumentations/augmentations/geometric/transforms.py albumentations/augmentations/__init__.py albumentations/augmentations/crops/transforms.py benchmark/benchmark.py albumentations/augmentations/dropout/cutout.py tests/test_serialization.py tests/test_random.py albumentations/imgaug/transforms.py albumentations/random_utils.py tests/conftest.py albumentations/core/serialization.py albumentations/core/composition.py albumentations/pytorch/transforms.py tools/make_transforms_docs.py albumentations/augmentations/dropout/mask_dropout.py albumentations/augmentations/utils.py albumentations/augmentations/dropout/functional.py albumentations/augmentations/functional.py albumentations/augmentations/geometric/resize.py tests/test_core.py tests/test_imgaug_imports.py albumentations/pytorch/__init__.py setup.py albumentations/augmentations/domain_adaptation.py tests/utils.py albumentations/augmentations/crops/functional.py get_long_description get_version get_install_requirements choose_requirement normal permutation rand random randint choice uniform get_random_state poisson normalize_bbox union_of_bboxes BboxProcessor denormalize_bbox filter_bboxes convert_bbox_to_albumentations check_bbox denormalize_bboxes normalize_bboxes convert_bboxes_to_albumentations check_bboxes convert_bboxes_from_albumentations filter_bboxes_by_visibility convert_bbox_from_albumentations calculate_bbox_area FDA PixelDistributionAdaptation apply_histogram fourier_domain_adaptation HistogramMatching adapt_pixel_distribution get_num_channels bbox_hflip add_fog is_grayscale_image solarize clip noop to_float add_snow equalize transpose is_rgb_image is_multispectral_image from_float pixel_dropout adjust_saturation_torchvision _adjust_brightness_torchvision_uint8 _maybe_process_in_chunks linear_transformation_rgb grid_distortion add_shadow gamma_transform keypoint_vflip _shift_image_uint8 preserve_channel_dim add_weighted superpixels swap_tiles_on_image random_flip glass_blur _multiply_non_uint8 iso_noise multiply _shift_rgb_non_uint8 shift_hsv normalize hflip_cv2 invert shift_rgb downscale optical_distortion posterize _brightness_contrast_adjust_uint preserve_shape _equalize_cv gauss_noise rot90 elastic_transform_approx image_compression fancy_pca median_blur pad_with_params adjust_brightness_torchvision convolve to_gray bbox_flip adjust_hue_torchvision unsharp_mask add_sun_flare _shift_hsv_non_uint8 channel_shuffle keypoint_hflip vflip bbox_transpose non_rgb_warning blur adjust_contrast_torchvision keypoint_transpose hflip _shift_rgb_uint8 clahe move_tone_curve _brightness_contrast_adjust_non_uint get_opencv_dtype_from_numpy pad angle_2pi_range brightness_contrast_adjust keypoint_flip _equalize_pil clipped add_rain _adjust_contrast_torchvision_uint8 _multiply_uint8 _multiply_uint8_optimized bbox_vflip gaussian_blur _adjust_hue_torchvision_uint8 _shift_hsv_uint8 filter_keypoints check_keypoints convert_keypoints_to_albumentations KeypointsProcessor convert_keypoints_from_albumentations check_keypoint convert_keypoint_to_albumentations convert_keypoint_from_albumentations keypoint_has_extra_data angle_to_2pi_range Blur Solarize RandomGridShuffle PixelDropout Emboss ImageCompression FancyPCA VerticalFlip GlassBlur ToFloat HorizontalFlip Superpixels MultiplicativeNoise RandomBrightness RandomSnow RandomFog GaussNoise RandomToneCurve RingingOvershoot RandomSunFlare GridDistortion JpegCompression ColorJitter MotionBlur TemplateTransform RandomBrightnessContrast MedianBlur RGBShift Downscale ToGray Posterize RandomRain HueSaturationValue Lambda PadIfNeeded FromFloat RandomShadow CLAHE Normalize GaussianBlur OpticalDistortion ISONoise Flip Equalize AdvancedBlur Transpose InvertImg Sharpen UnsharpMask RandomContrast ToSepia RandomGamma ChannelShuffle read_bgr_image read_rgb_image get_random_crop_coords random_crop bbox_center_crop crop_keypoint_by_coords crop_bbox_by_coords get_center_crop_coords center_crop crop_and_pad_keypoint bbox_crop keypoint_random_crop keypoint_center_crop clamping_crop bbox_random_crop crop_and_pad crop crop_and_pad_bbox RandomSizedBBoxSafeCrop _BaseRandomSizedCrop Crop CenterCrop RandomSizedCrop CropAndPad RandomCropNearBBox RandomResizedCrop RandomCrop CropNonEmptyMaskIfExists ChannelDropout CoarseDropout Cutout channel_dropout cutout GridDropout MaskDropout bbox_rotate to_distance_maps piecewise_affine shift_scale_rotate resize _func_max_size bbox_rot90 safe_rotate keypoint_safe_rotate bbox_shift_scale_rotate rotate rotation2DMatrixToEulerAngles _is_identity_matrix bbox_safe_rotate perspective_bbox keypoint_rotate keypoint_rot90 smallest_max_size from_distance_maps keypoint_scale warp_affine keypoint_affine py3round bbox_affine scale perspective keypoint_shift_scale_rotate safe_rotate_enlarged_img_size bbox_piecewise_affine keypoint_piecewise_affine perspective_keypoint elastic_transform longest_max_size Resize LongestMaxSize SmallestMaxSize RandomScale Rotate SafeRotate RandomRotate90 ShiftScaleRotate PiecewiseAffine ElasticTransform Affine Perspective PerChannel BaseCompose OneOf Compose Sequential get_always_apply OneOrOther ReplayCompose BboxParams KeypointParams SomeOf load from_dict check_data_format shorten_class_name SerializableMeta save instantiate_nonserializable get_shortest_class_fullname to_dict register_additional_transforms BasicTransform to_tuple ImageOnlyTransform DualTransform NoOp get_shape Params DataProcessor format_args IAACropAndPad IAASharpen IAAEmboss IAAFliplr IAAPiecewiseAffine IAAAdditiveGaussianNoise IAASuperpixels IAAFlipud IAAStub IAAAffine IAAPerspective IAACropAndPad IAASharpen IAAEmboss IAAFliplr IAAPiecewiseAffine IAAAdditiveGaussianNoise BasicIAATransform IAASuperpixels ImageOnlyIAATransform IAAFlipud IAAAffine DualIAATransform IAAPerspective img_to_tensor mask_to_tensor img_to_tensor ToTensor mask_to_tensor ToTensorV2 Rotate Solarize Contrast ShiftScaleRotate Brightness VerticalFlip HorizontalFlip RandomSizedCrop_64_512 BenchmarkTest ShiftRGB PadToSize512 Gamma format_results MultiplyElementwise Multiply parse_args Posterize ShiftHSV MarkdownGenerator BrightnessContrast main read_img_cv2 Equalize RandomCrop64 Grayscale read_img_pillow get_package_versions Resize512 ColorJitter Mock get_version albumentations_bboxes pytest_ignore_collect multiprocessing_context template float_template mask float_image bboxes image keypoints test_mask_fill_value test_multichannel_image_augmentations_diff_channels test_pad_if_needed test_augmentations_wont_change_input test_image_only_augmentations test_image_only_augmentations_with_float_values test_image_only_crop_around_bbox_augmentation test_dual_augmentations test_pad_if_needed_position test_pixel_domain_adaptation test_dual_augmentations_with_float_values test_perspective_order_points test_perspective_valid_keypoints_after_transform test_float_multichannel_image_augmentations_diff_channels test_multichannel_image_augmentations test_augmentations_wont_change_shape_rgb test_augmentations_wont_change_float_input test_float_multichannel_image_augmentations test_augmentations_wont_change_shape_grayscale test_convert_bbox_to_albumentations test_convert_bbox_to_albumentations_and_back test_compose_with_bbox_noop test_compose_with_bbox_noop_label_outside test_normalize_bboxes test_normalize_bbox test_denormalize_normalize_bbox test_convert_bbox_from_albumentations test_random_sized_crop_size test_denormalize_bboxes test_denormalize_bbox test_crop_boxes_replay_compose test_random_resized_crop_size test_normalize_denormalize_bbox test_compose_with_bbox_noop_error_label_fields test_convert_bboxes_to_albumentations test_random_rotate test_convert_bboxes_from_albumentations test_calculate_bbox_area test_named_args test_n_of test_per_channel_multi test_always_apply oneof_always_apply_crash test_check_bboxes_with_values_less_than_zero test_check_bboxes_with_end_greater_that_start test_one_or_other test_additional_targets test_bbox_params_is_not_set test_check_each_transform test_image_only_transform test_deterministic_oneof test_deterministic_one_or_other test_one_of test_deterministic_sequential test_per_channel_mono test_targets_type_check test_check_bboxes_with_values_greater_than_one test_choice_inner_compositions test_dual_transform test_compose test_to_tuple test_sequential test_single_transform_compose test_check_bboxes_with_correct_values test_compare_rotate_and_shift_scale_rotate test_is_grayscale_image test_shift_x_from_shift_scale_rotate test_equalize_grayscale test_shift_rgb_float test_transpose test_bbox_center_crop test_to_float_with_max_value_specified test_to_float_without_max_value_specified test_random_contrast test_from_float_unknown_dtype test_pad_float test_resize_nearest_interpolation test_clip test_equalize_rgb_mask test_multiply_uint8_optimized test_center_crop_float test_random_crop_with_incorrectly_large_crop_size test_transpose_float test_random_brightness test_random_crop test_bbox_vflip test_is_multispectral_image test_equalize_rgb test_vflip test_bbox_flip test_scale_from_shift_scale_rotate test_bbox_hflip test_equalize_checks test_downscale_ones test_resize_default_interpolation test_bbox_random_crop test_downscale_random test_vflip_float test_rotate_float_from_shift_scale_rotate test_shift_y_from_shift_scale_rotate test_solarize test_hflip test_gamma_transform test_brightness_contrast test_rot90 test_is_rgb_image test_bbox_transpose test_scale test_gamma_transform_float test_center_crop_with_incorrectly_large_crop_size test_normalize test_maybe_process_in_chunks test_random_brightness_float test_gamma_float_equal_uint8 test_longest_max_size test_crop_bbox_by_coords test_clip_float test_rot90_float test_swap_tiles_on_image_with_empty_tiles test_resize_default_interpolation_float test_resize_different_height_and_width test_rotate_from_shift_scale_rotate test_fun_max_size test_hflip_float test_to_float_unknown_dtype test_pad test_filter_bboxes test_scale_float_from_shift_scale_rotate test_shift_rgb test_resize_nearest_interpolation_float test_compare_rotate_float_and_shift_scale_rotate_float test_smallest_max_size test_bbox_crop test_center_crop test_shift_x_float_from_shift_scale_rotate test_posterize_checks test_shift_y_float_from_shift_scale_rotate test_from_float_with_max_value_specified test_random_crop_float test_cv_dtype_from_np test_equalize_grayscale_mask test_shift_hsv_gray test_random_flip_float test_bbox_rot90 test_random_flip test_from_float_without_max_value_specified test_normalize_float test_to_float_unknown_dtype_with_max_value test_swap_tiles_on_image_with_non_empty_tiles test_random_contrast_float test_imgaug_dual_augmentations test_imgaug_image_only_augmentations test_imgaug_transforms_multiprocessing_support test_imgaug_transforms_binary_mask_interpolation __test_multiprocessing_support_proc test_iaa_transforms_emit_warning test_imgaug_augmentations_serialization test_imagaug_dual_augmentations_are_deterministic test_imgaug_augmentations_for_bboxes_serialization test_compare_crop_and_pad test_keypoint_transform_format_xy test_imgaug_augmentations_for_keypoints_serialization test_imagaug_flipud_transform_bboxes test_imagaug_fliplr_transform_bboxes test_imgaug_stubs_imported_when_imgaug_is_not_installed test_iaaperpective_augmentation_imported_when_imgaug_is_installed test_imports_from_imgaug_module_raise_import_error test_imgaug_augmentations_imported_when_imgaug_is_installed test_imports_from_imgaug_module_dont_raise_import_error test_compose_with_keypoint_noop_error_label_fields test_compose_with_additional_targets test_convert_keypoint_from_albumentations test_keypoint_rotate90 test_keypoint_flips_transform_3x3 test_compose_with_keypoint_noop test_convert_keypoints_to_albumentations test_compose_with_keypoint_noop_label_outside test_convert_keypoint_to_albumentations test_convert_keypoint_to_albumentations_and_back test_angle_to_2pi_range test_random_sized_crop_size test_coarse_dropout test_random_resized_crop_size test_keypoint_transform_format_xyas test_convert_keypoints_from_albumentations test_keypoint_shift_scale_rotate test_keypoint_scale test_keypoint_rotate test_torch_to_tensor_v2_augmentations test_color_jitter test_post_data_check test_torch_to_tensor_v2_augmentations_with_transpose_3d_mask test_torch_to_tensor_v2_on_gray_scale_images test_with_replaycompose test_torch_to_tensor_v2_augmentations_with_transpose_2d_mask test_torch_to_tensor_raises_runtime_error test_additional_targets_for_totensorv2 _calc test_multiprocessing test_serialization_v2_with_totensor test_custom_transform_with_overlapping_name test_shorten_class_name test_serialization_v2_conversion_with_totensor test_lambda_serialization test_transform_pipeline_serialization_with_keypoints test_transform_pipeline_serialization test_augmentations_serialization_with_call_params test_serialization_v2_to_dict test_augmentations_serialization test_from_float_serialization test_serialization_v2_without_totensor test_template_transform_serialization test_serialization_v2_conversion_without_totensor test_augmentations_for_bboxes_serialization test_augmentations_serialization_with_custom_parameters test_augmentations_serialization_to_file_with_custom_parameters test_augmentations_for_keypoints_serialization test_transform_pipeline_serialization_with_bboxes test_additional_targets_for_image_only_serialization test_shift_scale_separate_shift_x_shift_y test_safe_rotate_interpolation test_optical_distortion_interpolation test_shift_scale_rotate_interpolation test_resize_keypoints test_grid_distortion_interpolation test_rotate_interpolation test_smallest_max_size_keypoints test_force_apply test_advanced_blur_float_uint8_diff_less_than_two test_template_transform test_color_jitter_float_uint8_equal test_downscale set_seed test_gaus_blur_limits test_unsharp_mask_limits test_unsharp_mask_float_uint8_diff_less_than_two test_template_transform_incorrect_channels test_transpose_both_image_and_mask test_grid_dropout_mask test_gauss_noise_incorrect_var_limit_type test_advanced_blur_raises_on_incorrect_params test_longest_max_size_keypoints test_glass_blur_float_uint8_diff_less_than_two test_crop_non_empty_mask test_semantic_mask_interpolation test_elastic_transform_interpolation test_channel_droput test_lambda_transform test_multiplicative_noise_rgb test_grid_distortion_steps test_mask_dropout test_additional_targets_for_image_only test_template_transform_incorrect_size test_perspective_keep_size test_equalize test_smallest_max_size_list test_multiprocessing_support test_grid_dropout_params __test_multiprocessing_support_proc test_multiplicative_noise_grayscale test_binary_mask_interpolation test_hue_saturation_value_float_uint8_equal test_longest_max_size_list test_crop_keypoints set_seed check_all_augs_exists convert_2d_to_3d OpenMock get_filtered_transforms get_dual_transforms InMemoryFile convert_2d_to_target_format get_image_only_transforms get_transforms check_docs make_transforms_targets_links get_transforms_info make_separator Targets main make_augmentation_docs_link parse_args make_transforms_targets_table join dirname abspath dirname abspath get_distribution append choose_requirement get_random_state get_random_state get_random_state get_random_state get_random_state get_random_state get_random_state get_random_state denormalize_bbox append calculate_bbox_area zip normalize_bbox ndarray isinstance check_bbox tolist array check_bbox denormalize_bbox zip check_bbox append calculate_bbox_area clip tuple exp fftshift squeeze fft2 float32 astype ifftshift real abs ifft2 match_histograms squeeze addWeighted resize dtype DomainAdapter astype dtype ndarray isinstance is_grayscale_image is_multispectral_image reciprocal array float32 astype dtype arange COLOR_HSV2RGB astype LUT COLOR_RGB2HSV cvtColor split dtype mod COLOR_HSV2RGB merge add COLOR_RGB2HSV clip cvtColor split COLOR_GRAY2RGB COLOR_RGB2GRAY _shift_hsv_uint8 warn is_grayscale_image _shift_hsv_non_uint8 cvtColor dtype copy LUT shape expand_dims array uint8 arange zeros_like empty_like copy LUT any enumerate min ravel empty sum range dtype min range ravel round zeros sum clip len uint8 COLOR_RGB2YCrCb function astype empty_like is_grayscale_image range cvtColor dtype uint8 astype LUT _maybe_process_in_chunks linspace lut_fn vectorize empty_like enumerate dtype astype reshape empty_like shape _shift_image_uint8 enumerate transform COLOR_RGB2LAB COLOR_LAB2RGB createCLAHE apply cvtColor int pad_with_params _maybe_process_in_chunks copyMakeBorder _maybe_process_in_chunks GaussianBlur _maybe_process_in_chunks medianBlur _maybe_process_in_chunks _maybe_process_in_chunks filter2D to_float dtype from_float format IMWRITE_JPEG_QUALITY imencode warn IMWRITE_WEBP_QUALITY imdecode IMREAD_UNCHANGED NotImplementedError to_float from_float dtype non_rgb_warning uint8 COLOR_HLS2RGB cvtColor array clip COLOR_RGB2HLS to_float from_float dtype non_rgb_warning line blur uint8 COLOR_HSV2RGB astype float32 copy cvtColor to_float from_float dtype non_rgb_warning int addWeighted blur copy max circle to_float from_float dtype non_rgb_warning addWeighted int copy linspace range circle to_float from_float dtype non_rgb_warning zeros_like fillPoly COLOR_HLS2RGB cvtColor COLOR_RGB2HLS array remap CV_32FC1 initUndistortRectifyMap int astype float32 remap _maybe_process_in_chunks linspace meshgrid zeros range warpAffine arange getAffineTransform min astype float32 remap warp_fn _maybe_process_in_chunks meshgrid GaussianBlur float uint8 arange astype LUT power astype dtype astype dtype astype LUT normal cvtColor meanStdDev multiply poisson COLOR_HLS2RGB float COLOR_RGB2HLS COLOR_RGB2GRAY cvtColor to_float from_float clip resize bbox_vflip bbox_hflip pi keypoint_hflip keypoint_vflip copy pi astype float32 uint8 arange LUT stack _maybe_process_in_chunks func append range clip clip uint8 reshape sort astype copy mean eigh argsort cov zeros matrix range column_stack list arange product repeat tile GaussianBlur array range enumerate uint8 arange astype dtype arange clip is_grayscale_image mean COLOR_GRAY2RGB addWeighted COLOR_RGB2GRAY is_grayscale_image cvtColor uint8 arange astype LUT COLOR_RGB2HSV cvtColor is_grayscale_image COLOR_RGB2HSV mod cvtColor int resize_fn mean_intensity reshape min copy shape slic _maybe_process_in_chunks resize round max range regionprops enumerate to_float dtype astype _maybe_process_in_chunks blur_fn GaussianBlur clip zeros_like full_like pi zip check_keypoint append check_keypoint radians check_keypoint degrees angle_to_2pi_range imread IMREAD_COLOR int get_random_crop_coords denormalize_bbox get_random_crop_coords get_random_crop_coords get_center_crop_coords get_center_crop_coords get_center_crop_coords resize_fn pad_with_params _maybe_process_in_chunks resize crop normalize_bbox denormalize_bbox copy copy getRotationMatrix2D warpAffine _maybe_process_in_chunks cos deg2rad sin float array getRotationMatrix2D squeeze getRotationMatrix2D warpAffine _maybe_process_in_chunks getRotationMatrix2D radians squeeze T ones transpose getRotationMatrix2D array warpAffine arange getAffineTransform min astype float32 rand remap warp_fn _maybe_process_in_chunks meshgrid GaussianBlur float gaussian_filter _maybe_process_in_chunks tuple float func resize perspective_func warpPerspective _maybe_process_in_chunks max denormalize_bbox tolist min perspective_keypoint array clip reshape sqrt sign warp_fn warpAffine _is_identity_matrix _maybe_process_in_chunks ravel _is_identity_matrix matrix_transform max denormalize_bbox min params _is_identity_matrix array clip warpAffine warp_affine_fn safe_rotate_enlarged_img_size getRotationMatrix2D _maybe_process_in_chunks resize bbox_rotate int safe_rotate_enlarged_img_size ceil abs int safe_rotate_enlarged_img_size ceil keypoint_rotate abs abs cos deg2rad sin arange sqrt meshgrid zeros enumerate isinstance argmin shape unravel_index argmax range append piecewise_affine to_distance_maps max to_distance_maps from_distance_maps denormalize_bbox tuple piecewise_affine min array isinstance always_apply extend append split format _to_dict get register_additional_transforms instantiate_nonserializable warn check_data_format to_dict check_data_format warn tuple isinstance is_tensor ndarray isinstance items list format isinstance append from_numpy astype float32 zeros range astype float32 add_argument ArgumentParser version imread cvtColor COLOR_BGR2RGB mean str floor markdown set_description Timer from_dict list defaultdict sorted applymap data_dir print_package_versions parse_args head update format close is_supported_by MarkdownGenerator reindex listdir set_option libraries print get_package_versions tqdm repeat len UserWarning warn aug augmentation_cls aug augmentation_cls aug augmentation_cls aug augmentation_cls aug copy augmentation_cls aug copy augmentation_cls aug zeros augmentation_cls aug zeros augmentation_cls aug augmentation_cls seed aug augmentation_cls aug zeros augmentation_cls aug zeros augmentation_cls aug zeros range augmentation_cls aug zeros range augmentation_cls zeros augmentation_cls ones zeros PadIfNeeded _order_points array seed zeros Compose mean randint PixelDistributionAdaptation assert_allclose normalize_bbox denormalize_bbox normalize_bbox denormalize_bbox normalize_bbox denormalize_bbox normalize_bboxes denormalize_bboxes calculate_bbox_area ones convert_bbox_to_albumentations ones convert_bbox_from_albumentations ones convert_bbox_to_albumentations convert_bbox_from_albumentations ones convert_bbox_to_albumentations convert_bboxes_to_albumentations ones convert_bbox_to_albumentations convert_bboxes_to_albumentations ones aug Compose ones Compose items list ones aug Compose ones aug RandomSizedCrop ones aug RandomResizedCrop ones Rotate aug ones replay dict ReplayCompose transform assert_almost_equal ones augmentation OneOrOther MagicMock ones augmentation Compose MagicMock ones aug Compose ones augmentation Compose MagicMock ones OneOf augmentation augmentation print ones SomeOf n ones augmentation Sequential call call check_bboxes PerChannel augmentation ones PerChannel augmentation ones uint8 aug astype copy replay ReplayCompose range uint8 aug astype copy replay ReplayCompose range uint8 aug astype copy replay ReplayCompose range empty HorizontalFlip Compose items list augs Compose empty Compose transforms empty vflip array convert_2d_to_target_format assert_array_almost_equal_nulp vflip array convert_2d_to_target_format hflip array convert_2d_to_target_format assert_array_almost_equal_nulp hflip array convert_2d_to_target_format array convert_2d_to_target_format assert_array_almost_equal_nulp random_flip convert_2d_to_target_format func array randint transpose transpose astype rot90 array convert_2d_to_target_format assert_array_almost_equal_nulp rot90 array convert_2d_to_target_format ones normalize assert_array_almost_equal_nulp ones normalize assert_array_almost_equal_nulp shift_scale_rotate rotate shift_scale_rotate rotate center_crop array convert_2d_to_target_format assert_array_almost_equal_nulp center_crop array convert_2d_to_target_format ones random_crop array convert_2d_to_target_format assert_array_almost_equal_nulp random_crop array convert_2d_to_target_format ones array clip assert_array_almost_equal_nulp array clip pad array convert_2d_to_target_format assert_array_almost_equal_nulp pad array convert_2d_to_target_format array shift_scale_rotate convert_2d_to_target_format assert_array_almost_equal_nulp array shift_scale_rotate convert_2d_to_target_format array shift_scale_rotate convert_2d_to_target_format assert_array_almost_equal_nulp array shift_scale_rotate convert_2d_to_target_format array shift_scale_rotate convert_2d_to_target_format assert_array_almost_equal_nulp array shift_scale_rotate convert_2d_to_target_format array shift_scale_rotate convert_2d_to_target_format assert_array_almost_equal_nulp array shift_scale_rotate convert_2d_to_target_format ones shift_rgb ones assert_array_almost_equal_nulp shift_rgb ones brightness_contrast_adjust ones assert_array_almost_equal_nulp brightness_contrast_adjust ones brightness_contrast_adjust ones ones_like brightness_contrast_adjust assert_array_almost_equal_nulp ones gamma_transform ones gamma_transform gamma_transform randint astype float32 ones assert_array_almost_equal_nulp astype to_float ones assert_array_almost_equal_nulp astype to_float ones ones assert_array_almost_equal_nulp astype to_float assert_array_almost_equal_nulp from_float dtype ones astype assert_array_almost_equal_nulp from_float ones astype uint32 array scale convert_2d_to_target_format longest_max_size array convert_2d_to_target_format array smallest_max_size convert_2d_to_target_format ones resize array convert_2d_to_target_format resize array convert_2d_to_target_format ones resize convert_2d_to_target_format resize assert_array_almost_equal_nulp array convert_2d_to_target_format resize array convert_2d_to_target_format crop_bbox_by_coords bbox_center_crop bbox_crop bbox_random_crop filter_bboxes empty smallest_max_size ones ones ones uint8 uint16 min random brightness_contrast_adjust randint uint32 max swap_tiles_on_image array swap_tiles_on_image array arange reshape min copy solarize max randint random randint random randint COLOR_RGB2YCrCb equalizeHist copy COLOR_YCrCb2RGB randint range cvtColor randint zeros COLOR_RGB2YCrCb equalize equalizeHist zeros COLOR_YCrCb2RGB randint range cvtColor ones downscale rand downscale randint uint8 range rotate dtype uint8 _multiply_uint8_optimized randint array clip shift_hsv aug augmentation_cls aug augmentation_cls aug range copy augmentation_cls aug IAAFliplr convert_bboxes_to_albumentations copy convert_bboxes_from_albumentations aug convert_bboxes_to_albumentations copy convert_bboxes_from_albumentations IAAFlipud ones Compose transform seed from_dict set_seed aug deserialized_aug augmentation_cls to_dict seed from_dict set_seed aug deserialized_aug augmentation_cls to_dict seed from_dict set_seed aug deserialized_aug augmentation_cls to_dict aug randint augmentation_cls join close map augmentation_cls randint Pool items transform_iaa list transform_albu min Compose astype BboxParams KeypointParams append randint array range aug_cls getattr IAAPerspective getattr IAAFlipud ones convert_keypoint_to_albumentations ones convert_keypoint_from_albumentations ones convert_keypoint_from_albumentations convert_keypoint_to_albumentations ones convert_keypoints_to_albumentations convert_keypoint_to_albumentations ones convert_keypoint_from_albumentations convert_keypoints_from_albumentations ones aug Compose ones Compose items list ones aug Compose ones Compose transform ones Compose transform keypoint_rot90 keypoint_rotate assert_allclose keypoint_scale assert_allclose keypoint_shift_scale_rotate assert_allclose ones aug Compose aug Compose aug shape ToTensorV2 aug shape ToTensorV2 aug randint ToTensorV2 shape aug Compose copy shape randint range aug randint ToTensorV2 aug ReplayCompose replay seed fromarray max pil_transform Compose randint array ColorJitter transform Compose empty seed range from_dict set_seed aug deserialized_aug augmentation_cls to_dict from_dict set_seed aug deserialized_aug augmentation_cls to_dict from_dict set_seed aug deserialized_aug augmentation_cls to_dict from_dict set_seed aug deserialized_aug augmentation_cls to_dict from_dict set_seed aug deserialized_aug augmentation_cls to_dict from_dict aug FromFloat to_dict deserialized_aug from_dict set_seed aug Compose deserialized_aug to_dict from_dict set_seed aug Compose deserialized_aug to_dict from_dict set_seed aug Compose deserialized_aug to_dict from_dict set_seed aug Compose deserialized_aug copy to_dict from_dict set_seed aug Lambda deserialized_aug to_dict load join seed dirname abspath randint load join seed dirname abspath randint load join seed dirname abspath randint load join seed dirname abspath randint Compose from_dict set_seed aug Compose deserialized_aug TemplateTransform to_dict seed ones augmentation Transpose aug randint safe_rotate SafeRotate aug randint Rotate rotate aug randint ShiftScaleRotate shift_scale_rotate aug randint optical_distortion OpticalDistortion aug randint GridDistortion grid_distortion aug GridDistortion rand aug ElasticTransform elastic_transform randint setattr aug randint augmentation_cls aug randint augmentation_cls join close map augmentation_cls randint Pool aug Compose aug Compose copy randint range aug Lambda ones ChannelDropout reshape equalize Equalize _test_crop ones random CropNonEmptyMaskIfExists zeros array rand astype assert_almost_equal Downscale downscale aug randint uint8 Crop LongestMaxSize randint uint8 aug aug randint uint8 SmallestMaxSize Resize randint uint8 aug dtype get_params_dependent_on_targets astype float32 apply MultiplicativeNoise clip dtype get_params_dependent_on_targets astype float32 apply MultiplicativeNoise clip uint8 MaskDropout ones aug randint zeros uint8 GridDropout ones aug randint zeros randint uint8 get_params_dependent_on_targets GridDropout zeros Compose zeros Compose seed uint8 UnsharpMask astype float32 abs uint8 Compose astype randint max uint8 Compose astype randint max range aug ShiftScaleRotate shift_scale_rotate seed uint8 GlassBlur astype float32 abs transform_2 set_seed transform_1 Compose randint append zeros range LongestMaxSize randint uint8 aug aug randint uint8 SmallestMaxSize randint uint8 get_params_dependent_on_targets TemplateTransform randint uint8 format randint uint8 format uint8 set_seed AdvancedBlur astype float32 abs tuple append BasicIAATransform issubclass getmembers append get_transforms __name__ join split add_subparsers add_parser getmembers update MASKS issubclass BBOXES Lambda KEYPOINTS add DualTransform DualIAATransform items sorted join list append update split append set check_docs make_transforms_targets_links get_transforms_info command filepath make_transforms_targets_table
# Albumentations [![PyPI version](https://badge.fury.io/py/albumentations.svg)](https://badge.fury.io/py/albumentations) ![CI](https://github.com/albumentations-team/albumentations/workflows/CI/badge.svg) Albumentations is a Python library for image augmentation. Image augmentation is used in deep learning and computer vision tasks to increase the quality of trained models. The purpose of image augmentation is to create new training samples from the existing data. Here is an example of how you can apply some [pixel-level](#pixel-level-transforms) augmentations from Albumentations to create new images from the original one: ![parrot](https://habrastorage.org/webt/bd/ne/rv/bdnerv5ctkudmsaznhw4crsdfiw.jpeg) ## Why Albumentations - Albumentations **[supports all common computer vision tasks](#i-want-to-use-albumentations-for-the-specific-task-such-as-classification-or-segmentation)** such as classification, semantic segmentation, instance segmentation, object detection, and pose estimation. - The library provides **[a simple unified API](#a-simple-example)** to work with all data types: images (RBG-images, grayscale images, multispectral images), segmentation masks, bounding boxes, and keypoints. - The library contains **[more than 70 different augmentations](#list-of-augmentations)** to generate new training samples from the existing data.
1,318
aldo-aguilar/nu-style
['semantic segmentation']
['DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFs']
src/dataset.py experiments/example.py CycleGan/src/model.py tests/test.py CycleGan/src/train.py src/train.py src/model.py src/evaluate.py src/handlers.py CycleGan/src/dataset.py getData show GeneratorLinear ResidualBlock Generator weights_init Discriminator main linear_test imshow image_loader get_input_optimizer get_style_model_and_loss _gram_matrix ContentLoss StyleLoss Normalization training_loop get_gradient_norm test_forward_pass visualize_history_norm test_gradient_flow test_backward_pass int FashionMNIST rotate DataLoader iter tensor next squeeze transpose pause imshow title numpy data normal_ __name__ constant_ L1Loss zero_grad save genBA exists show list view Generator getcwd Adam apply genAB dirname load_state_dict Discriminator weights_init append to range state_dict chdir getSingleData eval manual_seed item zip BCELoss cyclic enumerate load int make_grid criterion backward print parameters step full len L1Loss zero_grad save genBA exists show list view getcwd Adam genAB dirname load_state_dict Discriminator append to range state_dict GeneratorLinear chdir getSingleData eval manual_seed item zip BCELoss cyclic enumerate load int make_grid criterion backward print parameters step full len print Compose unsqueeze loader open ToPILImage squeeze pause clone axis unloader title LBFGS deepcopy children isinstance Sequential StyleLoss MaxPool2d add_module Conv2d len ReLU ContentLoss BatchNorm2d to range append detach view size t div mm load join image_loader print getcwd model backward zero_grad imshow eval clamp_ save to step get_input_optimizer get_style_model_and_loss parameters show gaussian_filter1d plot xlabel axis ylabel model iter append float next get_gradient_norm model backward reshape zero_grad iter zip float next long loss model backward zero_grad reversed parameters iter append float next long loss detach
https://github.com/jcjohnson/neural-style# nu-style Paper link: http://openaccess.thecvf.com/content_cvpr_2017/papers/Luan_Deep_Photo_Style_CVPR_2017_paper.pdf Codebase: <br/> https://github.com/luanfujun/deep-photo-styletransfer<br/> **https://github.com/jcjohnson/neural-style** <br/> | Feature | Classification/value| |:----------:|:-------------------------:| | Year Published| 2017| | Year First Attempted| 2015| |Venue Type| Conference|
1,319
aleXiehta/PhoneFortifiedPerceptualLoss
['speech enhancement']
['Improving Perceptual Quality by Phone-Fortified Perceptual Loss using Wasserstein Distance for Speech Enhancement']
perceptual_loss/losses.py generate.py dataset.py models.py optimizers.py utils.py main.py VoiceBankDemandDataset cal_pesq evaluate fix_seed ComplexConvTranspose2d ComplexBatchNorm2d DCUNet20 ComplexConv2d Decoder Encoder DeepConvolutionalUNet AdamW RAdam PlainRAdam rnn_collate PerceptualLoss manual_seed pesq list starmap tolist close iter numpy Pool transpose LongTensor
# Phone Fortified Perceptual Loss for Speech Enhancement This is the official implementation of our paper *"Improving Perceptual Quality by Phone-Fortified Perceptual Loss using Wasserstein Distance for Speech" Enhancement"* ## Requirements - pytorch 1.6 - torchcontrib 0.0.2 - torchaudio 0.6.0 - pesq 0.0.1 - colorama 0.4.3 - fairseq 0.9.0 - geomloss 0.2.3
1,320
alecwangcq/EigenDamage-Pytorch
['network pruning']
['EigenDamage: Structured Pruning in the Kronecker-Factored Eigenbasis']
utils/utils.py main_pretrain.py main_prune.py pruner/kfac_OBS_F2.py pruner/kfac_full_pruner.py models/presnet.py pruner/kfac_OBD_F2.py pruner/fisher_diag_pruner.py utils/compute_flops.py models/__init__.py pruner/kfac_eigen_svd_pruner.py utils/network_utils.py utils/compute_wallclock_time.py utils/prune_utils.py pruner/kfac_eigen_pruner.py main_prune_separable.py utils/data_utils.py utils/common_utils.py utils/kfac_utils.py models/vgg.py models/resnet.py train test init_pruner init_dataloader save_model count_parameters init_summary_writer init_network init_config count_rotation_numels main compute_ratio init_pruner init_dataloader save_model load_model count_parameters init_summary_writer init_network init_config count_rotation_numels main compute_ratio channel_selection Bottleneck presnet BottleneckPResNet ResNet LambdaLayer test resnet BottleneckResNet _weights_init BasicBlock BottleneckVGG VGG FisherDiagPruner KFACEigenPruner get_UDV_decomposition KFACEigenSVDPruner KFACFullPruner KFACOBDF2Pruner KFACOBSF2Pruner try_contiguous tensor_to_list get_config_from_json prod str_to_list try_cuda PresetLRScheduler StairCaseLRScheduler process_config get_logger makedirs print_model_param_flops print_model_param_nums compute_wallclock_time get_dataloader get_transforms test_ComputeCovG _extract_patches update_running_stat _extract_channel_patches ComputeCovA ComputeCovAPatch ComputeCovG fetch_mat_weights ComputeMatGrad test_ComputeCovA mat_to_weight_and_bias stablize_bn get_bottleneck_builder get_network update_resnet_block_dependencies update_out_indices copy_weights count_module_params get_rotation_layer_weights update_resnet_layer_dependencies LinearLayerRotation update_QQ_dict gen_network_cfgs filter_indices register_bottleneck_layer normalize_factors get_layer_dependencies update_presnet_layer_dependencies get_block_sum update_in_dinces get_threshold ConvLayerRotation update_presnet_block_dependencies update_indices format_time init_params progress_bar get_mean_and_std lr_scheduler criterion backward print step zero_grad tqdm set_description get_lr max net enumerate add_scalar print tqdm eval mkdir save enumerate add_scalar modules isinstance config add_argument ArgumentParser parse_args process_config get_dataloader load get_bottleneck_builder print get_network load_state_dict info network checkpoint KFACFullPruner prune_ratio_limit KFACEigenPruner FisherDiagPruner KFACOBDF2Pruner KFACOBSF2Pruner checkpoint_dir summary_dir join SummaryWriter dict pruner get_logger dirname abspath info network makedirs join checkpoint_dir save depth dataset network count_parameters count_rotation_numels info save_model model count_parameters init_network print_model_param_flops weight_decay str_to_list make_pruned_model fisher_type test_model normalize CrossEntropyLoss fine_tune_model range get epoch init_pruner ratio info compute_ratio learning_rate init_dataloader fisher_mode init_summary_writer prune_mode train len KFACEigenSVDPruner load join checkpoint_dir print depth dataset network load_model pre_model rotation_matrix isinstance fill_ print trainable zero_ BatchNorm2d weight __name__ kaiming_normal shape lower FileHandler getLogger addHandler strftime StreamHandler info setLevel INFO makedirs dirname split edict join get_config_from_json contiguous is_available cuda isinstance print sum alexnet sum model Variable print foo unsqueeze _rm_hooks alexnet cuda Compose ImageFolder DataLoader CIFAR10 get_transforms CIFAR100 data view size contiguous unfold data view size contiguous unfold isinstance view size transpose try_contiguous Conv2d weight cat Linear isinstance view kernel_size in_features in_channels Conv2d out_channels out_features Linear to train net enumerate update_resnet_block_dependencies extend append range len extend update_presnet_block_dependencies append range len layer1 update_presnet_layer_dependencies isinstance layer3 OrderedDict update_resnet_layer_dependencies modules append BatchNorm2d layer2 update_in_dinces update_out_indices get_layer_dependencies items list sorted set out_indices union range len BatchNorm2d Linear isinstance Conv2d int sorted len append enumerate modules pop isinstance kernel_size size min Conv2d item append range Linear size view isinstance size contiguous Conv2d copy_ cuda Linear trace print DataLoader div_ zeros range len normal constant isinstance kaiming_normal Conv2d bias modules BatchNorm2d weight Linear int time join format_time write append range flush len int
# EigenDamage: Structured Pruning in the Kronecker-Factored Eigenbasis This repo contains the official implementations of [EigenDamage: Structured Pruning in the Kronecker-Factored Eigenbasis](https://arxiv.org/abs/1905.05934). Details are listed below: <img align="right" width="380" height="280" src="imgs/figure1.png"> 1. The config file for the experiments are under the directory of `configs/`. 2. The pruning algorithms are in `pruner/`. Please note that: <br> (1) `fisher_diag_pruner.py` implements `C-OBD`. <br> (2) `kfac_eigen_pruner.py` implements `EigenDamage`. <br> (3) `kfac_full_pruner.py` implements `C-OBS`. <br> (4) `kfac_OBD_F2.py` implements `kron-OBD`. <br> (5) `kfac_OBS_F2.py` implements `kron-OBS`. <br>
1,321
alecwangcq/GraSP
['network pruning']
['Picking Winning Tickets Before Training by Preserving Gradient Flow']
models/model_base.py utils/common_utils.py pruner/GraSP.py utils/network_utils.py models/base/vgg.py utils/data_utils.py utils/prune_utils.py main_prune_imagenet.py pruner/GraSP_ImageNet.py main_finetune_imagenet.py models/base/init_utils.py models/base/__init__.py models/base/resnet.py main_prune_non_imagenet.py validate AverageMeter accuracy save_checkpoint ProgressMeter adjust_learning_rate main_worker main train get_exception_layers init_config init_logger main print_mask_information get_args get_exception_layers init_config test init_logger train_once main save_state train print_mask_information ModelBase weights_init ResNet LambdaLayer test resnet BasicBlock VGG GraSP GraSP_fetch_data count_fc_parameters count_total_parameters GraSP count_fc_parameters count_total_parameters try_contiguous tensor_to_list get_config_from_json prod str_to_list try_cuda PresetLRScheduler StairCaseLRScheduler process_config get_logger makedirs get_dataloader get_transforms stablize_bn get_network _extract_patches ComputeCovA ComputeCovG _fetch_weights_collections fetch_mat_weights ComputeMatGrad filter_weights seed int world_size spawn multiprocessing_distributed warn device_count manual_seed main_worker parse_args gpu workers data validate batch_size multiprocessing_distributed SGD pretrained DataParallel DistributedDataParallel ImageFolder modules DataLoader arch adjust_learning_rate save_checkpoint save_dir features cuda max set_device DistributedSampler pprint rank load_state_dict resume_pruned to range SummaryWriter format init_process_group Compose start_epoch distributed resume lr Normalize avg register_forward_pre_hook load int join to_cpu evaluate print set_epoch parameters isfile cpu train epochs gpu add_scalar model zero_grad cuda epochs update size lr item enumerate time criterion backward print AverageMeter accuracy ProgressMeter step gpu len len eval AverageMeter ProgressMeter copyfile join save_dir save param_groups epochs lr config add_argument ArgumentParser parse_args process_config run checkpoint_dir summary_dir join SummaryWriter pruner_file dict dirname abspath info get_logger makedirs items list get_ratio_at_each_layer info append modules isinstance checkpoint_dir model iterations weight_decay ImageFolder DataLoader str_to_list save depth dataset cuda target_ratio traindir GraSP apply init_logger normalize exception range print_mask_information epoch get_exception_layers Compose Normalize info enumerate join learning_rate print ModelBase network len add_argument ArgumentParser lower print save lr_scheduler tqdm set_description get_lr max net add_scalar eval add_scalar enumerate tqdm join print SGD test parameters PresetLRScheduler save info train range CrossEntropyLoss batch_size get_network train_once get_dataloader get register_mask fill_ isinstance Conv2d bias normal_ kaiming_normal_ zero_ BatchNorm2d weight constant_ Linear print dict iter item append next range modules isinstance modules isinstance Linear zero_grad modules div_ forward count_fc_parameters abs list topk append to sum count_total_parameters range cross_entropy cat grad requires_grad_ softmax float enumerate deepcopy int items xavier_normal backward print dict GraSP_fetch_data weight len iter next Linear isinstance min FileHandler getLogger addHandler strftime StreamHandler info setLevel INFO makedirs dirname split edict join summary_dir checkpoint_dir print get_config_from_json append contiguous is_available cuda isinstance Compose Normalize MNIST ImageFolder DataLoader CIFAR10 get_transforms CIFAR100 print to train net enumerate list isinstance tolist extend keys numpy filter_weights data view size contiguous unfold append tolist range len isinstance view size transpose try_contiguous Conv2d weight cat Linear
# Picking Winning Tickets Before Training by Preserving Gradient Flow This repo contains the official implementations of [Picking Winning Tickets Before Training by Preserving Gradient Flow](https://openreview.net/forum?id=SkgsACVKPH). 1. The config file for the experiments are under the directory of `configs/`. # Requirements python3.6 ``` pip install https://download.pytorch.org/whl/cu90/torch-0.4.1-cp36-cp36m-linux_x86_64.whl pip install torchvision pip install tqdm pip install tensorflow
1,322
alessandrozamberletti/docdetect
['boundary detection', 'edge detection']
['Holistically-Nested Edge Detection']
docdetect/processor.py docdetect/intersections.py tests/__init__.py tests/test_line_utils.py tests/test_hough_lines.py tests/test_intersections.py tests/demo.py setup.py tests/test_canny_edges.py docdetect/__init__.py docdetect/quadrilaterals.py docdetect/hough_lines.py tests/test_quadrilaterals.py docdetect/canny_edges.py docdetect/line_utils.py _preprocess detect_edges _remove_characters _find_characters _is_duplicated _cvhoughlines2list detect_lines _group_similar _coords_are_valid _find_intersection_coords _already_present find_intersections _angles_are_similar lines_angle lines_are_same process draw _area draw_rect _bounded_dfs _common_line_exists _node2coords _add_if_loop find_quadrilaterals _build_graph _cycles2coords TestCannyEdges random_lines TestCannyEdges TestIntersections TestLineUtils TestQuadrilaterals int Canny _preprocess _find_characters _remove_characters medianBlur detectRegions cvtColor MSER_create COLOR_BGR2GRAY HoughLines _cvhoughlines2list _group_similar append sorted _angles_are_similar _find_intersection_coords permutations append round solve detect_edges find_intersections bitwise_not detect_lines max draw_rect list min max zip _build_graph append permutations _common_line_exists list set append _add_if_loop append tuple
# docdetect [![Build Status](https://travis-ci.org/alessandrozamberletti/docdetect.svg?branch=master)](https://travis-ci.org/alessandrozamberletti/docdetect) [![Build status](https://ci.appveyor.com/api/projects/status/l1gjc8g7c1q3846j/branch/master?svg=true)](https://ci.appveyor.com/project/alessandrozamberletti/docdetect/branch/master) [![codecov](https://codecov.io/gh/alessandrozamberletti/docdetect/branch/master/graph/badge.svg)](https://codecov.io/gh/alessandrozamberletti/docdetect) [![Maintainability](https://api.codeclimate.com/v1/badges/a9aa496faab72437e650/maintainability)](https://codeclimate.com/github/alessandrozamberletti/docdetect/maintainability) [![PyPI version](https://badge.fury.io/py/docdetect.svg)](https://badge.fury.io/py/docdetect) <p align="center"> <img src="./res/01.gif" alt="sample_01"/> <img src="./res/02.gif" alt="sample_02"/> <img src="./res/03.gif" alt="sample_03"/>
1,323
alexanderivanov2424/CSCI-1430-Final-Project
['style transfer']
['A Neural Algorithm of Artistic Style', 'Deep Photo Style Transfer']
LocalizedTransfer.py DeepTransfer.py model.py laplacian.py get_image_as_array run_deep_transfer preprocess_inception main parse_args compute_laplacian _rolling_block get_image_as_array patch_match_loss run_local_transfer match_patch preprocess_inception create_mask random_patch DeepTransfer add_argument ArgumentParser parse_args resize convert open convert_to_tensor preprocess_input convert_to_tensor show format print imshow preprocess_inception deeptransfer strides _rolling_block reshape inv astype ravel mean shape coo_matrix eye bool sum einsum randint expand_dims preprocess_inception model patch_match_loss random_patch range zeros range show pause draw random_patch range match_patch shape preprocess_inception imshow create_mask zeros deeptransfer numpy clip cla
alexanderivanov2424/CSCI-1430-Final-Project
1,324
alexandreday/fast_density_clustering
['data visualization']
['A high-bias, low-variance introduction to Machine Learning for physicists']
fdc/graph.py build/lib/fdc/classify.py fdc/hierarchy.py fdc/plotting.py example/example.py example/example3.py build/lib/fdc/density_estimation.py build/lib/fdc/utils.py fdc/special_datasets.py build/lib/fdc/__init__.py build/lib/fdc/hierarchy.py build/lib/fdc/graph.py fdc/fdc.py fdc/classify.py build/lib/fdc/fdc.py build/lib/fdc/plotting.py example/example_test.py build/lib/fdc/tree.py fdc/utils.py fdc/mycolors.py example/example2.py fdc/tree.py build/lib/fdc/robustness.py build/lib/fdc/special_datasets.py build/lib/fdc/widget.py fdc/widget.py fdc/tree_old.py fdc/robustness.py setup.py build/lib/fdc/mycolors.py fdc/density_estimation.py fdc/__init__.py most_common CLF KDE round_float check_cluster_stability enablePrint chunkIt FDC index_greater blockPrint assign_cluster assign_cluster_deep DGRAPH decision_graph edge_info merge_info build_dendrogram compute_linkage_matrix COLOR_PALETTE dendrogram plot_inferred_label set_nice_font summary_model cluster_w_label my_scatter summary_v2 plot_true_label select_data viSNE summary scatter_w_label density_map inferred_label facegrid main NH_Cluster group_by_label gaussian_mixture float_equal find_mergers str_gate TREENODE classification_labels get_scale breath_first_search apply_map find_idx_cluster_in_root node_info TREE transform Highlighter most_common CLF KDE round_float check_cluster_stability enablePrint chunkIt FDC index_greater blockPrint assign_cluster assign_cluster_deep DGRAPH decision_graph edge_info merge_info build_dendrogram compute_linkage_matrix COLOR_PALETTE dendrogram plot_inferred_label set_nice_font summary_model cluster_w_label my_scatter summary_v2 plot_true_label select_data viSNE summary scatter_w_label density_map inferred_label facegrid main NH_Cluster group_by_label gaussian_mixture float_equal find_mergers str_gate TREENODE classification_labels get_scale breath_first_search apply_map find_idx_cluster_in_root node_info TREE float_equal classify_root find_mergers str_gate compute_prob TREENODE classification_labels get_scale prob_single_path apply_map find_idx_cluster_in_root breath_first_search TREE transform Highlighter str list enumerate density_graph norm cluster_label nn_delta delta idx_centers_unmerged rho unique nn_list append find_NH_tree_search list ones assign_cluster_deep zip range ndenumerate devnull open __stdout__ append float print format write print format write show plot xlabel rc len ylabel title scatter twinx set_ylabel legend append diff list index append range len deepcopy hierarchy max_noise append noise_range build_dendrogram len rc show int set_label xlabel ylabel colorbar argsort title scatter savefig legend tick_params len show subplots sort tight_layout flatten scatter unique legend COLOR_PALETTE enumerate print title scatter unique enumerate str list tight_layout ylim scatter title set_path_effects zip annotate xlim range len show subplot plot_inferred_label plot_true_label tight_layout clf savefig figure density_map COLOR_PALETTE eta cluster_label argmin rho summary noise_range abs array X idx_centers show subplot plot_inferred_label cluster_label argmin clf savefig rho COLOR_PALETTE figure noise_range abs array X idx_centers arange clf COLOR_PALETTE xticks yticks show subplot str ylim scatter title set_path_effects legend savefig append close tight_layout mean unique zip annotate xlim enumerate figure len show subplot str list scatter savefig set_path_effects clf zip annotate COLOR_PALETTE range show scipydendro xlabel max_noise compute_linkage_matrix ylabel tight_layout ylim title savefig clf DataFrame facegrid show subplot arange set_title set_yticks tight_layout choice set_xticks savefig figure as_matrix my_scatter ceil range values argsort scatter get_cmap round len show arange subplots cluster_w_label reshape set_yticks min close tight_layout mask Highlighter choice imshow set_xticks clf range len list make_blobs sort choice DCluster group_by_label round full range fit query reshape list len concatenate cumsum argsort split diff seed int multivariate_normal sqrt uniform round full empty array range len ones len find_idx_cluster_in_root X enumerate OD items apply_map unique append range enumerate len print format get_id append get_child get_id breath_first_search array len f copy pop get_child classification_labels range len
# Fast density clustering (fdc) A Python package for efficiently clustering low-dimensional data. The core of the algorithm is based on using kernel density maps and density graphs. See below for some specific examples for gaussian mixtures and some test benchmarks that shows the performance against standard clustering algorithms that may be easily imported from sklearn for instance. Our algorithm solves multiscale problems (multiple variances/densities and population sizes) and works for non-convex clusters. It uses cross-validation and is regularized by two main global parameters : a neighborhood size and a noise threshold measure. The later detects spurious cluster centers while the former guarantees that only local information is used to infer cluster centers. Perhaps one of it's main advantage is that it does not require the user to select the number of clusters and is usually fairly robust to variation of the parameters (within reason!). The underlying code is based on fast KD-trees for nearest-neighbor searches. For low-dimensional spaces, the algorithm has a O(n log n), where n is the size of the dataset. Is also has a memory complexity of O(n). # Installing I suggest you install the code using ```pip``` from an [Anaconda](https://conda.io/docs/user-guide/tasks/manage-environments.html) Python 3 environment. From that environment: ``` git clone https://github.com/alexandreday/fast_density_clustering.git cd fast_density_clustering
1,325
alexandrosstergiou/SoftPool
['action recognition']
['Refining activation downsampling with SoftPool']
main/train.py pytorch/SoftPool/idea.py main/models/inception.py main/models/config.py pytorch/SoftPool/__init__.py main/models/resnet.py pytorch/setup.py pytorch/test-files/test.py main/models/densent.py validate AverageMeter accuracy save_checkpoint ProgressMeter adjust_learning_rate main_worker main train get_model densenet161 _load_state_dict DenseNet densenet169 densenet201 _DenseLayer _DenseBlock _densenet _Transition densenet121 InceptionB InceptionC InceptionAux BasicConv2d InceptionD InceptionE InceptionA Inception3 inception_v3 conv1x1 resnext50_32x4d wide_resnet50_2 ResNet resnet50 resnext101_32x4d resnext101_32x8d Bottleneck resnet152 wide_resnet101_2 conv3x3 _resnet resnet34 resnet200 resnet18 BasicBlock resnet101 resnext101_64x4d SoftPool2d CUDA_SOFTPOOL1d soft_pool3d SoftPool1d soft_pool1d CUDA_SOFTPOOL3d CUDA_SOFTPOOL2d soft_pool2d SoftPool3d check_close_enough seed int world_size spawn multiprocessing_distributed warn device_count manual_seed main_worker parse_args gpu workers validate batch_size multiprocessing_distributed SGD RandomApply pretrained DataParallel DistributedDataParallel DataLoader use_softpool arch features cuda set_device DistributedSampler rank load_state_dict to CIFAR100 format init_process_group distributed lr resume Normalize CIFAR10 mkdir load int evaluate print ImageNet parameters isfile get_model gpu model zero_grad cuda display update size item is_available enumerate time criterion backward AverageMeter accuracy ProgressMeter step gpu len len eval AverageMeter ProgressMeter copyfile save param_groups lr densenet161 densenet169 densenet201 resnet50 wide_resnet50_2 resnext101_32x4d resnext101_32x8d wide_resnet101_2 resnext50_32x4d print inception_v3 resnet101 resnet34 resnet18 resnet152 densenet121 resnext101_64x4d list group match load_state_dict load_state_dict_from_url keys compile _load_state_dict DenseNet load_state_dict_from_url Inception3 load_state_dict ResNet load_state_dict load_state_dict_from_url exp _single clamp size apply any mul_ div_ float sum exp clamp size apply any mul_ div_ float sum _pair exp clamp size apply _triple any mul_ div_ float sum cpu item
# Refining activation downsampling with SoftPool ![supported versions](https://img.shields.io/badge/python-3.x-brightgreen/?style=flat&logo=python&color=green) ![Library](https://img.shields.io/badge/library-PyTorch-blue?logo=Pytorch) ![GitHub license](https://img.shields.io/cocoapods/l/AFNetworking) -------------------------------------------------------------------------------- #### Update 10/2021: We have extended this work with in our paper: ***AdaPool: Exponential Adaptive Pooling for Information-Retaining Downsampling***. Info, code and resources are available at [`alexandrosstergiou/adaPool`](https://github.com/alexandrosstergiou/adaPool) ## Abstract Convolutional Neural Networks (CNNs) use pooling to decrease the size of activation maps. This process is crucial to increase the receptive fields and to reduce computational requirements of subsequent convolutions. An important feature of the pooling operation is the minimization of information loss, with respect to the initial activation maps, without a significant impact on the computation and memory overhead. To meet these requirements, we propose SoftPool: a fast and efficient method for exponentially weighted activation downsampling. Through experiments across a range of architectures and pooling methods, we demonstrate that SoftPool can retain more information in the reduced activation maps. This refined downsampling leads to improvements in a CNN's classification accuracy. Experiments with pooling layer substitutions on ImageNet1K show an increase in accuracy over both original architectures and other pooling methods. We also test SoftPool on video datasets for action recognition. Again, through the direct replacement of pooling layers, we observe consistent performance improvements while computational loads and memory requirements remain limited. <p align="center"> <i></i>
1,326
alexcercos/ML-Agents
['unity']
['Unity: A General Platform for Intelligent Agents']
ml-agents-envs/mlagents/envs/communicator_objects/unity_rl_input_pb2.py ml-agents/mlagents/trainers/components/reward_signals/curiosity/model.py ml-agents-envs/mlagents/envs/communicator_objects/agent_action_pb2.py ml-agents-envs/mlagents/envs/communicator_objects/unity_to_external_pb2.py gym-unity/gym_unity/envs/__init__.py ml-agents/mlagents/trainers/learn.py ml-agents-envs/mlagents/envs/communicator_objects/custom_observation_pb2.py ml-agents/mlagents/trainers/meta_curriculum.py ml-agents/mlagents/trainers/tests/test_barracuda_converter.py ml-agents/mlagents/trainers/ppo/models.py utils/validate_meta_files.py ml-agents/mlagents/trainers/trainer_controller.py ml-agents/mlagents/trainers/components/bc/model.py ml-agents/mlagents/trainers/tests/test_curriculum.py ml-agents-envs/mlagents/envs/communicator.py ml-agents-envs/mlagents/envs/communicator_objects/custom_reset_parameters_pb2.py ml-agents-envs/mlagents/envs/communicator_objects/engine_configuration_pb2.py ml-agents/mlagents/trainers/tests/test_ppo.py ml-agents-envs/mlagents/envs/tests/test_rpc_communicator.py ml-agents/mlagents/trainers/components/reward_signals/__init__.py ml-agents-envs/mlagents/envs/communicator_objects/agent_info_pb2.py ml-agents-envs/setup.py ml-agents/mlagents/trainers/tests/mock_brain.py ml-agents-envs/mlagents/envs/action_info.py ml-agents-envs/mlagents/envs/rpc_communicator.py ml-agents/mlagents/trainers/tests/test_bcmodule.py ml-agents/mlagents/trainers/tests/test_trainer_controller.py ml-agents/mlagents/trainers/components/reward_signals/reward_signal_factory.py ml-agents/setup.py ml-agents/mlagents/trainers/barracuda.py ml-agents-envs/mlagents/envs/tests/test_envs.py ml-agents/mlagents/trainers/sac/policy.py ml-agents-envs/mlagents/envs/env_manager.py ml-agents/mlagents/trainers/ppo/trainer.py ml-agents-envs/mlagents/envs/tests/test_timers.py ml-agents-envs/mlagents/envs/communicator_objects/unity_rl_output_pb2.py ml-agents-envs/mlagents/envs/communicator_objects/unity_rl_initialization_output_pb2.py ml-agents-envs/mlagents/envs/communicator_objects/unity_input_pb2.py ml-agents/mlagents/trainers/tests/test_meta_curriculum.py ml-agents/mlagents/trainers/components/reward_signals/curiosity/signal.py ml-agents-envs/mlagents/envs/subprocess_env_manager.py ml-agents/mlagents/trainers/bc/trainer.py ml-agents-envs/mlagents/envs/tests/test_brain.py ml-agents/mlagents/trainers/curriculum.py ml-agents/mlagents/trainers/tests/test_policy.py ml-agents/mlagents/trainers/ppo/policy.py ml-agents/mlagents/trainers/tests/test_learn.py ml-agents/mlagents/trainers/tests/test_demo_loader.py utils/validate_versions.py ml-agents/mlagents/trainers/models.py ml-agents-envs/mlagents/envs/communicator_objects/brain_parameters_pb2.py ml-agents/mlagents/trainers/tests/test_simple_rl.py ml-agents-envs/mlagents/envs/policy.py ml-agents/mlagents/trainers/exception.py gym-unity/gym_unity/tests/test_gym.py ml-agents/mlagents/trainers/buffer.py ml-agents/mlagents/trainers/tensorflow_to_barracuda.py ml-agents-envs/mlagents/envs/communicator_objects/unity_to_external_pb2_grpc.py ml-agents-envs/mlagents/envs/mock_communicator.py ml-agents/mlagents/trainers/tests/test_rl_trainer.py ml-agents-envs/mlagents/envs/timers.py gym-unity/setup.py ml-agents-envs/mlagents/envs/communicator_objects/unity_message_pb2.py ml-agents-envs/mlagents/envs/environment.py ml-agents-envs/mlagents/envs/communicator_objects/custom_action_pb2.py ml-agents/mlagents/trainers/bc/policy.py ml-agents-envs/mlagents/envs/simple_env_manager.py ml-agents-envs/mlagents/envs/communicator_objects/environment_parameters_pb2.py ml-agents-envs/mlagents/envs/base_unity_environment.py ml-agents/mlagents/trainers/trainer_util.py ml-agents/mlagents/trainers/tests/test_trainer_util.py ml-agents-envs/mlagents/envs/communicator_objects/unity_output_pb2.py ml-agents/mlagents/trainers/components/reward_signals/extrinsic/signal.py ml-agents/mlagents/trainers/sac/trainer.py ml-agents-envs/mlagents/envs/communicator_objects/compressed_observation_pb2.py ml-agents-envs/mlagents/envs/sampler_class.py ml-agents/mlagents/trainers/tests/test_sac.py ml-agents-envs/mlagents/envs/exception.py ml-agents/mlagents/trainers/sac/models.py ml-agents-envs/mlagents/envs/communicator_objects/command_pb2.py ml-agents-envs/mlagents/envs/communicator_objects/space_type_pb2.py ml-agents/mlagents/trainers/components/reward_signals/gail/model.py ml-agents-envs/mlagents/envs/communicator_objects/header_pb2.py ml-agents/mlagents/trainers/rl_trainer.py ml-agents/mlagents/trainers/tests/test_reward_signals.py ml-agents-envs/mlagents/envs/brain.py ml-agents/mlagents/trainers/components/reward_signals/gail/signal.py ml-agents/mlagents/trainers/ppo/multi_gpu_policy.py ml-agents/mlagents/trainers/tests/test_multigpu.py ml-agents/mlagents/trainers/demo_loader.py ml-agents/mlagents/trainers/components/bc/module.py ml-agents/mlagents/trainers/tests/test_trainer_metrics.py ml-agents-envs/mlagents/envs/tests/test_sampler_class.py ml-agents/mlagents/trainers/tests/test_buffer.py ml-agents/mlagents/trainers/trainer.py ml-agents-envs/mlagents/envs/tests/test_subprocess_env_manager.py ml-agents/mlagents/trainers/bc/models.py ml-agents/mlagents/trainers/bc/offline_trainer.py ml-agents/mlagents/trainers/tf_policy.py ml-agents/mlagents/trainers/tests/test_bc.py ml-agents-envs/mlagents/envs/communicator_objects/demonstration_meta_pb2.py ml-agents-envs/mlagents/envs/communicator_objects/unity_rl_initialization_input_pb2.py ml-agents/mlagents/trainers/trainer_metrics.py VerifyVersionCommand UnityGymException ActionFlattener UnityEnv create_mock_vector_braininfo test_gym_wrapper test_multi_agent test_branched_flatten setup_mock_unityenvironment test_gym_wrapper_visual create_mock_brainparams VerifyVersionCommand BarracudaWriter fuse print_known_operations compress Build sort lstm write fuse_batchnorm_weights trim mean gru Model summary Struct parse_args to_json rnn BufferException Buffer Curriculum make_demo_buffer load_demonstration demo_to_buffer CurriculumError MetaCurriculumError TrainerError CurriculumLoadingError CurriculumConfigError create_environment_factory CommandLineOptions create_sampler_manager parse_command_line run_training prepare_for_docker_run try_create_meta_curriculum main MetaCurriculum EncoderType LearningModel LearningRateSchedule AllRewardsOutput RLTrainer get_layer_shape pool_to_HW flatten sqr_diff process_layer process_model get_layer_rank slow_but_stable_topological_sort get_attr basic_lstm ModelBuilderContext order_by get_epsilon get_tensor_dtype replace_strings_in_list debug embody by_op get_tensor_dims strided_slice remove_duplicates_from_list axis_to_barracuda by_name locate_actual_output_node convert strides_to_HW get_tensor_data very_slow_but_stable_topological_sort gru TFPolicy UnityPolicyException UnityTrainerException Trainer TrainerController TrainerMetrics TrainerFactory initialize_trainer load_config _load_config BehavioralCloningModel OfflineBCTrainer BCPolicy BCTrainer BCModel BCModule create_reward_signal RewardSignal CuriosityModel CuriosityRewardSignal ExtrinsicRewardSignal GAILModel GAILRewardSignal PPOModel get_devices MultiGpuPPOPolicy PPOPolicy PPOTrainer get_gae discount_rewards SACPolicyNetwork SACTargetNetwork SACNetwork SACModel SACPolicy SACTrainer create_mock_pushblock_brain create_buffer simulate_rollout create_mock_3dball_brain make_brain_parameters create_mock_banana_brain setup_mock_unityenvironment create_mock_braininfo create_mock_brainparams setup_mock_env_and_brains test_barracuda_converter test_bc_export bc_dummy_config test_bc_trainer_step test_bc_trainer_add_proc_experiences test_cc_bc_model test_dc_bc_model test_visual_cc_bc_model test_bc_trainer_end_episode test_bc_policy_evaluate dummy_config test_visual_dc_bc_model create_bc_trainer sac_dummy_config test_bcmodule_rnn_update test_bcmodule_update ppo_dummy_config create_policy_with_bc_mock test_bcmodule_dc_visual_update test_bcmodule_defaults test_bcmodule_rnn_dc_update test_buffer_sample construct_fake_buffer assert_array fakerandint test_buffer test_buffer_truncate test_curriculum_load_invalid_json location default_reset_parameters test_init_curriculum_bad_curriculum_raises_error test_curriculum_load_missing_file test_init_curriculum_happy_path test_increment_lesson test_curriculum_load_good test_get_config test_load_demo test_load_demo_dir basic_options test_docker_target_path test_run_training test_env_args test_commandline_args test_init_meta_curriculum_happy_path test_increment_lessons_with_reward_buff_sizes default_reset_parameters MetaCurriculumTest test_increment_lessons measure_vals reward_buff_sizes test_set_all_curriculums_to_lesson_num test_get_config test_set_lesson_nums test_init_meta_curriculum_bad_curriculum_folder_raises_error more_reset_parameters test_create_model dummy_config test_average_gradients test_update basic_mock_brain test_take_action_returns_action_info_when_available basic_params test_take_action_returns_nones_on_missing_values test_take_action_returns_empty_with_no_agents test_trainer_increment_step test_trainer_update_policy test_rl_functions test_ppo_model_dc_vector_rnn test_ppo_model_cc_vector_rnn test_add_rewards_output test_ppo_policy_evaluate test_ppo_model_cc_visual dummy_config test_ppo_model_dc_vector test_ppo_model_dc_visual test_ppo_get_value_estimates test_ppo_model_cc_vector test_gail_dc_visual sac_dummy_config reward_signal_update reward_signal_eval test_extrinsic test_curiosity_cc test_gail_rnn test_gail_cc ppo_dummy_config create_policy_mock test_curiosity_dc curiosity_dummy_config test_curiosity_visual test_curiosity_rnn gail_dummy_config create_mock_all_brain_info create_rl_trainer test_clear_update_buffer dummy_config test_rl_trainer create_mock_brain create_mock_policy test_sac_update_reward_signals create_sac_policy_mock test_sac_model_dc_visual test_sac_cc_policy test_sac_visual_policy test_sac_model_cc_vector_rnn test_sac_model_dc_vector test_sac_model_cc_vector dummy_config test_sac_model_dc_vector_rnn test_sac_model_cc_visual test_sac_rnn_policy test_sac_save_load_buffer test_sac_dc_policy test_simple_sac clamp test_simple_ppo Simple1DEnvironment _check_environment_trains test_initialization_seed test_take_step_if_not_training test_start_learning_trains_until_max_steps_then_saves basic_trainer_controller test_take_step_adds_experiences_to_trainer_and_trains dummy_config trainer_controller_with_take_step_mocks trainer_controller_with_start_learning_mocks test_start_learning_trains_forever_if_no_train_model TestTrainerMetrics test_initialize_ppo_trainer dummy_offline_bc_config_with_override test_load_config_invalid_yaml dummy_offline_bc_config test_initialize_invalid_trainer_raises_exception dummy_bad_config dummy_config test_load_config_missing_file test_load_config_valid_yaml test_initialize_trainer_parameters_override_defaults VerifyVersionCommand ActionInfo BaseUnityEnvironment safe_concat_lists safe_concat_np_ndarray CameraResolution BrainParameters BrainInfo Communicator UnityEnvironment EnvManager EnvironmentStep SamplerException UnityWorkerInUseException UnityException UnityCommunicationException UnityTimeOutException UnityEnvironmentException UnityActionException MockCommunicator Policy RpcCommunicator UnityToExternalServicerImplementation MultiRangeUniformSampler UniformSampler SamplerFactory SamplerManager GaussianSampler Sampler SimpleEnvManager worker EnvironmentResponse UnityEnvWorker StepResponse SubprocessEnvManager EnvironmentCommand TimerNode hierarchical_timer get_timer_root get_timer_tree reset_timers set_gauge timed GaugeNode TimerStack UnityToExternalProtoServicer add_UnityToExternalProtoServicer_to_server UnityToExternalProtoStub test_from_agent_proto_nan test_from_agent_proto_inf test_from_agent_proto_fast_path test_initialization test_reset test_returncode_to_signal_name test_close test_step test_handles_bad_filename test_rpc_communicator_checks_port_on_create test_rpc_communicator_create_multiple_workers test_rpc_communicator_close test_empty_samplers sampler_config_1 check_value_in_intervals incorrect_uniform_sampler test_incorrect_sampler test_sampler_config_1 sampler_config_2 incorrect_sampler_config test_incorrect_uniform_sampler test_sampler_config_2 mock_env_factory SubprocessEnvManagerTest MockEnvWorker test_timers decorated_func main extract_version_string check_versions create_mock_vector_braininfo sample UnityEnv setup_mock_unityenvironment step create_mock_brainparams create_mock_vector_braininfo UnityEnv setup_mock_unityenvironment step create_mock_brainparams setup_mock_unityenvironment create_mock_vector_braininfo create_mock_brainparams UnityEnv create_mock_vector_braininfo sample UnityEnv setup_mock_unityenvironment step create_mock_brainparams Mock list Mock array range join isdir print replaceFilenameExtension add_argument exit verbose source_file ArgumentParser target_file sqrt topologicalSort list hasattr layers addEdge Graph print inputs set len list hasattr layers print filter match trim_model compile data layers print tensors float16 replace layers dumps layers isinstance print tensors inputs zip to_json globals Build array_equal pool reduce Build tanh mad tanh mul Build concat add sigmoid sub mad _ tanh mul Build concat add sigmoid mad print sorted keys Buffer reset_local_buffers number_visual_observations append_update_buffer append range enumerate make_demo_buffer load_demonstration join read suffix isdir endswith BrainParametersProto from_agent_proto DemonstrationMetaProto ParseFromString AgentInfoProto isfile append from_proto listdir _DecodeVarint32 parse_args add_argument ArgumentParser start_learning fast_simulation create_sampler_manager sampler_file_path put reset_parameters lesson load_config keep_checkpoints str docker_target_name load_model multi_gpu TrainerController save_freq trainer_config_path run_id num_envs format create_environment_factory no_graphics try_create_meta_curriculum TrainerFactory curriculum_folder base_port env_args SubprocessEnvManager train_model env_path pop SamplerManager load_config set_all_curriculums_to_lesson_num MetaCurriculum reset_parameters chmod format basename isdir glob copyfile copytree prepare_for_docker_run replace seed Process join parse_command_line getLogger print debug num_runs run_training start Queue info cpu randint setLevel range append endswith len print HasField hasattr get_attr isinstance get_attr tensor_shape ndarray isinstance shape int_val bool_val float_val ListFields name ndarray isinstance str tensor_content ndarray product isinstance get_tensor_dtype print get_tensor_dims unpack int_val bool_val array float_val enter append add set Build mul sub insert Build tolist append range len locate_actual_output_node name find_tensor_by_name split locate_actual_output_node name lstm find_tensor_by_name find_forget_bias split get_layer_shape id Struct tensor get_layer_rank layer_ranks hasattr name patch_data rank input_shapes out_shapes input get_attr append replace_strings_in_list tensors embody astype op inputs zip enumerate print float32 patch_data_fn model_tensors map_ignored_layer_to_its_input co_argcount len items list hasattr get_tensors name print process_layer eval slow_but_stable_topological_sort ModelBuilderContext sort assign_ids pop range insert len layers verbose Struct process_model open print_known_operations fuse compress node GraphDef Model dims_to_barracuda_shape insert get_tensor_dims inputs MessageToJson ParseFromString cleanup_layers read memories print sort write trim summary print_supported_ops update format SACTrainer OfflineBCTrainer PPOTrainer copy brain_name get check_config rcls list_local_devices list zeros_like size reversed range append discount_rewards CameraResolution Mock list ones array range brain_name pop create_buffer brain sequence_length append range vector_action_space_size Buffer ones number_visual_observations append_update_buffer shape append sum range enumerate setup_mock_unityenvironment mock_env create_mock_braininfo create_mock_brainparams create_mock_brainparams create_mock_brainparams create_mock_brainparams join remove _get_candidate_names convert _get_default_tempdir dirname abspath isfile next create_bc_trainer export_model create_mock_pushblock_brain Mock BCTrainer simulate_rollout mock_env dirname abspath setup_mock_unityenvironment policy create_mock_braininfo create_mock_3dball_brain update_policy create_bc_trainer increment_step agents process_experiences step create_bc_trainer add_experiences end_episode agents process_experiences step create_bc_trainer add_experiences BCPolicy evaluate close reset MockCommunicator reset_default_graph UnityEnvironment reset_default_graph reset_default_graph reset_default_graph reset_default_graph mock_env dirname abspath setup_mock_unityenvironment create_mock_braininfo create_policy_with_bc_mock close ppo_dummy_config create_mock_3dball_brain update items list close create_policy_with_bc_mock create_mock_3dball_brain update items list close create_policy_with_bc_mock create_mock_3dball_brain update items list close create_mock_banana_brain create_policy_with_bc_mock update items list close create_mock_banana_brain create_policy_with_bc_mock flatten list range len append range Buffer get_batch construct_fake_buffer assert_array append_update_buffer make_mini_batch reset_agent array sample_mini_batch construct_fake_buffer append_update_buffer construct_fake_buffer truncate_update_buffer append_update_buffer Curriculum Curriculum Curriculum dumps StringIO StringIO make_demo_buffer load_demonstration dirname abspath make_demo_buffer load_demonstration dirname abspath MagicMock basic_options MagicMock parse_command_line parse_command_line MetaCurriculum assert_has_calls MetaCurriculumTest increment_lessons assert_called_with MetaCurriculumTest increment_lessons assert_called_with assert_not_called MetaCurriculumTest set_all_curriculums_to_lesson_num MetaCurriculumTest dict update MetaCurriculumTest reset_default_graph MultiGpuPPOPolicy create_mock_brainparams reset_default_graph create_mock_brainparams update Mock reset_default_graph MultiGpuPPOPolicy create_mock_brainparams MagicMock TFPolicy basic_mock_brain basic_params BrainInfo get_action MagicMock TFPolicy basic_mock_brain basic_params BrainInfo get_action MagicMock TFPolicy basic_mock_brain ActionInfo basic_params BrainInfo get_action evaluate close reset MockCommunicator PPOPolicy reset_default_graph UnityEnvironment get_value_estimates items list close reset MockCommunicator PPOPolicy reset_default_graph UnityEnvironment reset_default_graph reset_default_graph reset_default_graph reset_default_graph reset_default_graph reset_default_graph assert_array_almost_equal array discount_rewards Mock increment_step BrainParameters assert_called_with PPOTrainer simulate_rollout update_policy policy PPOTrainer setup_mock_env_and_brains AllRewardsOutput BrainParameters PPOTrainer add_rewards_outputs update SACPolicy PPOPolicy setup_mock_env_and_brains reset evaluate model simulate_rollout _execute_model prepare_update update_dict make_mini_batch create_policy_mock reward_signal_update reward_signal_eval reward_signal_update reward_signal_eval create_policy_mock dirname abspath create_policy_mock reward_signal_update reward_signal_eval create_policy_mock reward_signal_update reward_signal_eval create_policy_mock reward_signal_update reward_signal_eval create_policy_mock reward_signal_update reward_signal_eval create_policy_mock reward_signal_update reward_signal_eval create_policy_mock reward_signal_update reward_signal_eval create_mock_brainparams RLTrainer dummy_config create_mock_brain Mock list create_mock_all_brain_info create_rl_trainer values end_episode construct_curr_info episode_steps create_mock_braininfo create_mock_policy add_experiences items list construct_fake_buffer create_rl_trainer clear_update_buffer append_update_buffer SACPolicy setup_mock_env_and_brains update evaluate create_sac_policy_mock simulate_rollout close update_buffer reset reset_default_graph create_sac_policy_mock simulate_rollout close update_reward_signals reset_default_graph update evaluate create_sac_policy_mock simulate_rollout close update_buffer reset reset_default_graph update evaluate create_sac_policy_mock simulate_rollout update_buffer reset reset_default_graph update evaluate create_sac_policy_mock simulate_rollout close update_buffer reset reset_default_graph reset_default_graph reset_default_graph reset_default_graph reset_default_graph reset_default_graph reset_default_graph str Mock SACTrainer save_model simulate_rollout len dummy_config policy setup_mock_env_and_brains Simple1DEnvironment _check_environment_trains Simple1DEnvironment _check_environment_trains TrainerController assert_called_with MagicMock basic_trainer_controller start_learning assert_called_once MagicMock assert_not_called trainer_controller_with_start_learning_mocks trainer_controller_with_start_learning_mocks start_learning MagicMock assert_called_once MagicMock basic_trainer_controller assert_called_once Mock MagicMock current_all_brain_info EnvironmentStep advance outputs assert_not_called trainer_controller_with_take_step_mocks assert_called_once_with previous_all_brain_info assert_called_once Mock MagicMock current_all_brain_info EnvironmentStep advance outputs assert_not_called trainer_controller_with_take_step_mocks assert_called_once_with previous_all_brain_info dummy_offline_bc_config dummy_offline_bc_config_with_override BrainParametersMock dummy_config BrainParametersMock dummy_bad_config _load_config StringIO extend copy items list value EnvironmentResponse external_brains payload text get_timer_root reset_timers put reset _send_response reset_parameters StepResponse env_factory step memory action perf_counter push reset method_handlers_generic_handler add_generic_rpc_handlers assert_called from_agent_proto AgentInfoProto extend assert_called from_agent_proto extend assert_not_called AgentInfoProto assert_not_called from_agent_proto AgentInfoProto extend UnityEnvironment close MockCommunicator UnityEnvironment close MockCommunicator reset str local_done print agents step close MockCommunicator UnityEnvironment len UnityEnvironment close MockCommunicator close RpcCommunicator close RpcCommunicator close RpcCommunicator SamplerManager sample_all sampler_config_1 sampler_config_2 SamplerManager SamplerManager sample_all incorrect_uniform_sampler incorrect_sampler_config set_gauge replace endswith add set walk join print extract_version_string set values
<img src="docs/images/unity-wide.png" align="middle" width="3000"/> <img src="docs/images/image-banner.png" align="middle" width="3000"/> # Unity ML-Agents Toolkit (Beta) [![docs badge](https://img.shields.io/badge/docs-reference-blue.svg)](docs/Readme.md) [![license badge](https://img.shields.io/badge/license-Apache--2.0-green.svg)](LICENSE) **The Unity Machine Learning Agents Toolkit** (ML-Agents) is an open-source Unity plugin that enables games and simulations to serve as environments for training intelligent agents. Agents can be trained using reinforcement learning, imitation learning, neuroevolution, or other machine learning methods through a simple-to-use Python API. We also provide implementations (based on TensorFlow)
1,327
alexerdmann/ParadigmDiscovery
['word embeddings']
['The Paradigm Discovery Problem']
Scripts/Utils/batchSeqs.py Scripts/Utils/matching.py Scripts/Seq2seq/evaluation.py Scripts/__init__.py Scripts/ANA.py Scripts/Seq2seq/dataloader.py Scripts/Utils/segment_functions.py Scripts/inflector.py Scripts/data_manager.py Scripts/Utils/munkres.py Scripts/Utils/grid_utils.py Scripts/Utils/context_vectors.py Scripts/evaluation.py Scripts/grid.py Scripts/Seq2seq/model.py Scripts/Seq2seq/seq2seq_runner.py Scripts/Seq2seq/run_seq2seq.py Analyzer str2bool str2none get_arguments get_extrinsic_eval_data Lexicon DataManager eval_intrinsic get_cluster_scores eval_extrinsic evaluate get_mates get_F GridManager Inflector write_out_data_by_step _SplitTensors preprocess_instance load_restore_friendly_dataset _read_data _vectorize_tensors get_token_list _SplitObjects _TFSplitObjects _DatasetObjects get_splits ElementIndex prepare_for_transformer _PreprocessedInstance _get_index_from_corpus accommodate_multi_word_inflections get_max_length load_dataset _CorpusObjects _get_tensors_for_split StringIntegerizer _pad_tensors pad_tensor can_be_int DataFormat _get_transformer_language_index _get_tensor_from_corpus reformat_split_for_transformer format_data_for_transformer write_out_prediction evaluate ModelFormat Transformer create_masks create_look_ahead_mask scaled_dot_product_attention CustomSchedule point_wise_feed_forward_network MultiHeadAttention Decoder get_angles Encoder create_padding_mask Model positional_encoding EncoderLayer DecoderLayer main str2bool get_args validate_held_out handle_preparation_flags write_out_results prepare_data HParams run StreamingBatcher Batcher batchByLength streamingGen get_context_vectors build Averager get_fasttext_vectors get_n_clusters custom_cluster mask_low_freq bipartite_graph_super bipartite_graph_Kilimanjaro bipartite_graph_Hungarian bipartite_match Munkres getExponent getExponent1 lcs1 lcs parse_args add_argument ArgumentParser round cell_2_wf get_cluster_scores list col_idx_2_wf wf_2_base add c lg intersection lem_2_wf format lem_2_cell_2_wf get_mates set flush wf_2_col_idx join write base_2_wf len update list set get_F format write add set intersection round range len format write int pop list format insert strip uses_kann_style_features extend accommodate_multi_word_inflections append split isinstance ElementIndex idx2element append range len get oov_idx idx2element append len pad_sequences append has_source_features list is_oracular int corpus_inflection_classes corpus_srcs src_feature_index _read_data _vectorize_tensors corpus_trgs corpus_trg_feats split_sizes trg_language_index trg_feature_index src_language_index inflection_class_index corpus_src_feats _pad_tensors lemmata append split preprocess_instance src extend trg _get_index_from_corpus src_feats trg_feats append inflection_class range lemma _get_tensor_from_corpus pad_tensor _read_data _vectorize_tensors trg_feature_index corpus_src_feats lemmata corpus_inflection_classes corpus_trgs corpus_trg_feats get_max_length inflection_class_index range src_feature_index format split_sizes trg_language_index src_language_index _pad_tensors corpus_srcs write idx2element len src_max_len_seq load_restore_friendly_dataset src_feat_tensor batch_size src_tensor_split trg_feature_index src_max_len_ft lemmata trg_feat_tensor trg_max_len_ft src_feat_tensor_split inflection_class_tensor_split load_dataset inflection_class_index trg_tensor src_feature_index _get_tensors_for_split from_tensor_slices shuffle trg_max_len_seq trg_language_index split_sizes trg_feat_tensor_split src_language_index batch inflection_class_tensor src_tensor lemmata_split trg_tensor_split len padded_batch _get_transformer_language_index dataset_train batch_size StringIntegerizer cache map AUTOTUNE prefetch tf_encode train format_data_for_transformer TokenTextEncoder checkpoint_to_restore format join int sort write dirname split append range flush len max split get join append range enumerate len from_tensor_slices dataset_train dataset_test dataset_dev test dev get_token_list train reformat_split_for_transformer len append join format write join isinstance write_out_prediction len range split create_look_ahead_mask maximum create_padding_mask float32 cast equal float32 matmul sqrt cast softmax power float32 get_angles cos sin parse_args add_argument ArgumentParser train get_args run checkpoint_to_restore join model HParams set_feature_style mkdir dirname work_dir train exists makedirs checkpoint_to_restore join num_batches is_transformer close test copyfile dev dirname work_dir train open validate format write close validate_forced flush open vocab join format len write close work_dir round flush open checkpoint_to_restore handle_preparation_flags trg_feature_index trg_max_len_ft dev_acc Model work_dir format test trg_max_len_seq trg_language_index split_sizes test_acc flush join validate_held_out prepare_data write write_out_results train max list sorted print sort min shuffle vstack split append array range len str format streamingGen write Counter build StreamingBatcher fit_generator get_layer array range len list choice zeros range len Model Input compile list format tuple FastText write mask_low_freq append train flush build_vocab sorted list get_n_clusters len write Counter dict append array range flush fit format KMeans write sqrt enumerate zeros round range flush fit dict range Counter len handle_cost_weights format print bipartite_graph_Kilimanjaro dynamic_asymmetric_matching handle_single_row_matrix exit bipartite_graph_Hungarian asymetric_matching list format tuple getExponent1 range len print
# Unsupervised Paradigm Discovery ## Overview This is the repository for our ACL 2020 paper [The Paradigm Discovery Problem](https://www.aclweb.org/anthology/2020.acl-main.695.pdf). This code release represents the published system, though better results have been achieved since the paper was accepted. If you're interested in the improved code, please reach out to me. ## Prerequisites This repository was tested using TensorFlow 1.14. I *tried* to make the code forwards compatible with TensorFlow 2.0. In theory, you *should* only have to comment out line 140 in *Scripts/ANA.py*, though I have not tested this. ## Usage After unzipping the Data directory, first select the language and part of speech you want to run. ``` lgPOS=ara_N # the other supported language-POS's are deu_N, eng_V, lat_N or rus_N ```
1,328
alexgoft/SORT_OpenCV_Trackers
['multiple object tracking']
['Simple Online and Realtime Tracking']
object_detector.py inference.py config.py track.py utils.py sort.py main Detector Sort Track associate_detections_to_trackers iou convert_xywh_to_bbox convert_bbox_to_xywh VideoCapture read time isOpened Detector Sort print waitKey VideoWriter write update_and_get_tracks imshow rectangle zip append release VideoWriter_fourcc predict minimum maximum linear_assignment iou append zeros enumerate
## Multi object tracking with OpenCV trackers Reimplemented SORT (Simple Online and Realtime Tracking- https://arxiv.org/abs/1602.00763) framework for multi object detection to be compatible with opencv provided trackers (BOOSTING, MIL, KCF, CSRT, MedianFlow, TLD, MOSSE, GOTURN) and given frozen graphs. ### Recommended Directory Tree Structure ![alt text](https://i.imgur.com/AvUB1aw.png) ### Output Example ![alt text](https://i.imgur.com/rWxtHAt.gif) - White BBOXs are Detections. - Colored BBOXs are Predictions.
1,329
alexis-jacq/Pytorch-Tutorials
['style transfer']
['A Neural Algorithm of Artistic Style']
Neural_Style.py closure image_loader StyleLoss imshow ContentLoss GramMatrix Variable loader unsqueeze open cpu unloader view str print zero_grad clamp_ forward
PyTorch Tutorials ----------------- This tutorial is no longer maintained. Please use the official version: https://pytorch.org/tutorials/advanced/neural_style_tutorial.html 1. [Neural Style with PyTorch](Neural_Style.ipynb) - An introduction to PyTorch through the Neural-Style algorithm (https://arxiv.org/abs/1508.06576) developed by Leon A. Gatys, Alexander S. Ecker and Matthias Bethge.
1,330
alexklwong/adareg-monodispnet
['depth estimation']
['Bilateral Cyclic Constraint and Adaptive Regularization for Unsupervised Monocular Depth Prediction']
src/global_constants.py src/data_utils.py src/network.py src/dataloader.py src/bilinear_sampler.py src/evaluate_kitti.py src/losses.py src/train_monodispnet.py setup/prep_kitti_eigen_split_data.py src/average_gradients.py src/eval_utils.py src/model.py src/monodispnet.py src/run_monodispnet.py setup/prep_kitti_kitti_split_data.py average_gradients bilinear_sampler_1d_h DataLoader make_epoch sub2ind load_disparities read_paths disparity2depth get_shuffle load_velodyne pad_batch load_focal_length_baseline shuffle_and_drop log velodyne2depth load_calibration rms_err disparity2depth abs_rel_err end_point_err ratio_out_thresh_err sq_rel_err log_rms_err abs_log_err get_laplacian2d im_laplacian residual_regularity_weight_func gradient_yx smoothness_loss_func get_gaussian2d bc_consistency_loss_func structural_loss_func ssim photometric_loss_func MonoDispNet train evaluate conv2d_block_vgg get_disp max_pool conv2d upsample2d build_vgg upconv2d concat reduce_mean zip append expand_dims print dirname makedirs append imread range len set reshape join reshape load_calibration join T sub2ind int reshape hstack load_velodyne min dot shape vstack eye zeros round load_calibration shuffle list range arange shuffle len extend len mean maximum mean sqrt mean sqrt log mean abs mean avg_pool2d im_laplacian exp gradient_yx abs multiply reduce_mean rgb_to_grayscale exp reshape multiply reduce_sum shape reduce_mean tile abs float32 conv2d pad cast get_gaussian2d get_laplacian2d int ones reshape tile ceil reshape asarray tile join read_paths astype int32 len DataLoader Saver save log Session run MonoDispNet restore initialize dirname range read_paths global_variables_initializer ConfigProto local_variables_initializer join time pad_batch makedirs zeros len pad astype int32 conv2d pad astype int32 shape conv2d upsample2d
# Bilateral Cyclic Constraint and Adaptive Regularization for Unsupervised Monocular Depth Prediction Author: Alex Wong <[email protected]> If you use this code, please cite the following paper: A. Wong, B. W. Hong and S. Soatto. Bilateral Cyclic Constraint and Adaptive Regularization for Unsupervised Monocular Depth Prediction. https://arxiv.org/abs/1903.07309 @article{wong2018bilateral, title={Bilateral Cyclic Constraint and Adaptive Regularization for Unsupervised Monocular Depth Prediction}, author={Wong, Alex and Hong, Byung-Woo and Soatto, Stefano}, journal={arXiv preprint arXiv:1903.07309}, year={2019}
1,331
alexklwong/targeted-adversarial-perturbations-monocular-depth
['depth estimation', 'monocular depth estimation', 'adversarial defense', 'adversarial attack']
['Targeted Adversarial Perturbations for Monocular Depth Prediction']
external_src/packnet/packnet_sfm/geometry/camera_utils.py external_src/packnet/packnet_sfm/loggers/__init__.py external_src/packnet/packnet_sfm/losses/loss_base.py external_src/packnet/packnet_sfm/utils/logging.py external_src/packnet/packnet_sfm/models/model_utils.py external_src/packnet/packnet_sfm/models/__init__.py external_src/packnet/packnet_sfm/utils/reduce.py setup/setup_model_monodepth2.py setup/setup_dataset_kitti_semantics.py external_src/packnet/packnet_sfm/geometry/camera.py external_src/packnet/packnet_sfm/models/SfmModel.py external_src/packnet/configs/default_config.py external_src/monodepth2/networks/pose_cnn.py src/perturb_main.py external_src/monodepth/src/loss_utils.py external_src/packnet/packnet_sfm/datasets/augmentations.py external_src/packnet/packnet_sfm/utils/save.py external_src/monodepth/src/log_utils.py external_src/monodepth2/datasets/kitti_dataset.py external_src/monodepth2/kitti_utils.py external_src/packnet/packnet_sfm/utils/misc.py external_src/packnet/packnet_sfm/datasets/__init__.py external_src/packnet/packnet_sfm/trainers/base_trainer.py external_src/monodepth/src/net_utils.py external_src/packnet/packnet_sfm/geometry/pose.py external_src/packnet/scripts/evaluate_depth_maps.py src/packnet_model.py external_src/packnet/scripts/train.py external_src/packnet/packnet_sfm/datasets/kitti_dataset.py external_src/packnet/packnet_sfm/trainers/__init__.py external_src/monodepth2/datasets/__init__.py external_src/monodepth2/utils.py external_src/packnet/packnet_sfm/models/SelfSupModel.py external_src/monodepth2/networks/pose_decoder.py src/perturb_model.py external_src/packnet/packnet_sfm/models/VelSupModel.py external_src/packnet/packnet_sfm/datasets/image_dataset.py external_src/packnet/packnet_sfm/networks/depth/PackNetSlim01.py src/monodepth2_model.py external_src/packnet/packnet_sfm/models/model_wrapper.py external_src/packnet/packnet_sfm/networks/layers/resnet/resnet_encoder.py external_src/monodepth2/layers.py external_src/monodepth2/export_gt_depth.py external_src/packnet/packnet_sfm/loggers/wandb_logger.py external_src/packnet/packnet_sfm/networks/layers/resnet/pose_decoder.py external_src/monodepth/src/global_constants.py external_src/monodepth2/networks/resnet_encoder.py external_src/monodepth/src/networks.py external_src/monodepth2/networks/depth_decoder.py external_src/packnet/packnet_sfm/utils/load.py external_src/monodepth/src/datasets.py external_src/packnet/packnet_sfm/models/model_checkpoint.py external_src/packnet/packnet_sfm/networks/pose/PoseResNet.py external_src/monodepth2/test_simple.py external_src/monodepth2/options.py external_src/packnet/packnet_sfm/utils/config.py external_src/monodepth/src/monodepth_main.py external_src/packnet/packnet_sfm/trainers/horovod_trainer.py external_src/packnet/packnet_sfm/utils/types.py src/net_utils.py setup/setup_dataset_kitti_instance.py external_src/monodepth2/datasets/mono_dataset.py external_src/packnet/packnet_sfm/networks/pose/PoseNet.py external_src/monodepth/src/train_monodepth_model.py external_src/packnet/packnet_sfm/datasets/transforms.py external_src/packnet/scripts/eval.py external_src/packnet/packnet_sfm/losses/velocity_loss.py external_src/monodepth2/evaluate_pose.py src/global_constants.py external_src/packnet/packnet_sfm/models/SemiSupModel.py external_src/monodepth2/train.py external_src/monodepth2/networks/__init__.py external_src/packnet/packnet_sfm/utils/depth.py external_src/monodepth/src/eval_utils.py external_src/packnet/packnet_sfm/__init__.py src/eval_utils.py external_src/monodepth/src/monodepth_model.py external_src/packnet/packnet_sfm/networks/depth/PackNet01.py external_src/packnet/packnet_sfm/geometry/pose_utils.py external_src/monodepth2/evaluate_depth.py external_src/packnet/packnet_sfm/networks/layers/packnet/layers01.py external_src/packnet/packnet_sfm/networks/layers/resnet/depth_decoder.py external_src/monodepth2/trainer.py external_src/packnet/scripts/infer.py external_src/packnet/packnet_sfm/networks/layers/resnet/layers.py src/datasets.py external_src/monodepth/src/data_utils.py external_src/packnet/packnet_sfm/losses/multiview_photometric_loss.py src/log_utils.py src/depth_model.py external_src/packnet/packnet_sfm/losses/supervised_loss.py external_src/packnet/packnet_sfm/networks/depth/DepthResNet.py setup/setup_model_packnet.py src/data_utils.py external_src/packnet/packnet_sfm/utils/image.py external_src/packnet/packnet_sfm/datasets/dgp_dataset.py src/run_perturb.py setup/setup_model_monodepth.py external_src/packnet/packnet_sfm/utils/horovod.py external_src/packnet/packnet_sfm/datasets/kitti_dataset_utils.py augment_image_color ImagePairCameraDataset sub2ind read_paths load_velodyne load_focal_length_baseline load_image velodyne2depth load_calibration mean_abs_err thresh_ratio_err abs_rel_err root_mean_sq_err sq_rel_err log_root_mean_sq_err log color_consistency_loss_func gradient_yx left_right_consistency_loss_func smoothness_loss_func ssim_loss_func ssim train MonodepthModel ResNetBlock ResNetEncoder DisparityDecoder UpConv2d VGGNetEncoder ResNetBottleneckBlock Conv2d VGGNetBlock DecoderBlock TransposeConv2d warp1d_horizontal batch_post_process_disparity compute_errors evaluate compute_ate dump_xyz evaluate export_gt_depths_kitti sub2ind load_velodyne_points generate_depth_map read_calib_file rot_from_axisangle BackprojectDepth get_smooth_loss compute_depth_errors upsample Project3D Conv3x3 get_translation_matrix SSIM transformation_from_parameters disp_to_depth ConvBlock MonodepthOptions parse_args test_simple Trainer sec_to_hm sec_to_hm_str normalize_image readlines download_model_if_doesnt_exist KITTIOdomDataset KITTIDepthDataset KITTIDataset KITTIRAWDataset MonoDataset pil_loader DepthDecoder PoseCNN PoseDecoder ResnetEncoder ResNetMultiImageInput resnet_multiimage_input get_cfg_defaults resize_depth colorjitter_sample resize_sample duplicate_sample resize_sample_image_and_intrinsics to_tensor_sample resize_image to_tensor stack_sample DGPDataset ImageDataset get_idx dummy_calibration read_files read_npz_depth KITTIDataset read_png_depth pose_from_oxts_packet read_calib_file rotz load_oxts_packets_and_poses roty rotx transform_from_rot_trans test_transforms validation_transforms get_transforms train_transforms Camera construct_K scale_intrinsics view_synthesis Pose pose_vec2mat invert_pose_numpy invert_pose euler2mat log_depth prep_image log_rgb WandbLogger log_inv_depth LossBase ProgressiveScaling MultiViewPhotometricLoss SSIM SilogLoss BerHuLoss SupervisedLoss get_loss_func VelocityLoss ModelCheckpoint sync_s3_data save_code merge_outputs stack_batch setup_dataset get_datasampler ModelWrapper set_random_seed setup_pose_net setup_model setup_depth_net setup_dataloader worker_init_fn SelfSupModel SemiSupModel SfmModel VelSupModel DepthResNet PackNet01 PackNetSlim01 ResidualBlock InvDepth PackLayerConv2d PackLayerConv3d UnpackLayerConv3d packing UnpackLayerConv2d Conv2D ResidualConv DepthDecoder upsample disp_to_depth ConvBlock Conv3x3 PoseDecoder ResnetEncoder ResNetMultiImageInput resnet_multiimage_input PoseNet conv_gn PoseResNet sample_to_cuda BaseTrainer HorovodTrainer parse_train_config prepare_train_config parse_test_file set_name get_default_config prep_logger_and_checkpoint set_checkpoint parse_test_config merge_cfgs backwards_config prepare_test_config parse_train_file merge_cfg_file prep_dataset write_depth inv2depth fuse_inv_depth calc_smoothness viz_inv_depth compute_depth_metrics depth2inv load_depth inv_depths_normalize post_process_inv_depth flip_model write_image gradient_y interpolate_scales flip_lr interpolate_image gradient_x match_scales meshgrid load_image image_grid backwards_state_dict set_debug filter_args load_class load_network load_class_args_create filter_args_create AvgMeter prepare_dataset_prefix s3_url print_config pcolor same_shape filter_dict make_list average_key reduce_dict all_reduce_metrics create_dict average_sub_key average_loss_and_metrics collate_metrics save_depth is_tuple is_seq is_numpy is_int is_dict is_str is_list is_cfg is_tensor parse_args test main parse_args main parse_args is_image infer_and_save_depth parse_args train TargetedAdversarialMonocularDataset load_image interpolate_depth read_paths load_class_mask DepthModel lp_norm abs_rel_err log Monodepth2Model flip_vertical flip_horizontal translate_horizontal depth_transform translate_vertical PackNetModel evaluate run Perturbations PerturbationsModel uniform asarray LANCZOS size convert transpose float32 resize set reshape join reshape load_calibration join T sub2ind int reshape hstack load_velodyne min dot shape vstack eye zeros round load_calibration maximum print dirname makedirs mean abs exp gradient_yx CUDA zero_grad DataLoader compute_loss device save forward cuda log ImagePairCameraDataset Adam MonodepthModel append sum range SummaryWriter format read_paths log_summary astype close CPU item join time backward makedirs parameters int32 step len shape transpose repeat stack maximum mean sqrt abs log meshgrid shape linspace ext_disp_to_eval median imwrite uint16 save_pred_disps num_layers DataLoader save resize cuda DepthDecoder clip eval_split std len logical_and load_weights_folder shape load_state_dict ResnetEncoder eval_stereo append expanduser range state_dict format concatenate readlines astype KITTIRAWDataset mean eval load join num_ch_enc print makedirs compute_errors data_path no_eval int32 zeros quit array eval_eigen_to_benchmark append dot eye sqrt sum batch_size compute_ate dirname width KITTIOdomDataset height int reshape inv dot dump_xyz PoseDecoder join int format generate_depth_map print add_argument readlines astype float32 data_path dirname ArgumentParser append parse_args savez_compressed split reshape set join T sub2ind int read_calib_file reshape hstack astype min dot shape vstack int32 eye round zeros load_velodyne_points rot_from_axisangle transpose clone matmul get_translation_matrix to view norm squeeze cos unsqueeze sin to mean abs mean sqrt abs max log add_argument ArgumentParser download_model_if_doesnt_exist device DepthDecoder image_path load_state_dict ResnetEncoder dirname to format glob eval ext load join isdir print model_name isfile len data float int sec_to_hm join format urlretrieve print quit makedirs load_url cat load_state_dict ResNetMultiImageInput Resize resize size image_transform copy Resize filter_dict filter_dict resize_depth resize_sample_image_and_intrinsics ToTensor type ToTensor filter_dict filter_dict copy get_params filter_dict augment_image ColorJitter is_numpy stack is_list append is_tensor range len defaultdict relpath path is_dir scandir append is_file astype float32 load_image float array astype cos sin cos sin cos sin reshape tan pitch OxtsPacket pi roll rotz yaw dot roty rotx lat lon alt array log colorjitter_sample duplicate_sample resize_sample to_tensor_sample resize_image to_tensor_sample resize_image to_tensor_sample project reconstruct bmm view size cos sin detach cat euler2mat transpose repeat squeeze copy is_tensor numpy format pow ReflectionPad2d pool2d AvgPool2d endswith join format name system s3_path format system items list list keys is_list seed manual_seed_all manual_seed print0 checkpoint_path load_class_args_create name pcolor load_network print0 checkpoint_path load_class_args_create name pcolor load_network print0 checkpoint_path name pose_net add_depth_net setup_pose_net setup_depth_net pcolor load_network add_pose_net depth_net join print0 format ValueError ConcatDataset KITTIDataset ImageDataset split DGPDataset pcolor append range len seed time array append ResidualConv range shape view isinstance len cameras path repeat depth_type make_list dataset max split validation join format monitor name prepare_dataset_prefix s3_url monitor_index filepath join config run_url name makedirs s3_url log_config dirname run_name dirpath split merge_from_list merge_from_file merge_from_list is_cfg list items endswith pop load get_default_config merge_cfg_file validation prepared test set_name set_checkpoint train prep_dataset load backwards_state_dict endswith get_default_config merge_cfgs backwards_config merge_cfg_file test prep_dataset endswith load_image array int endswith save cpu is_tensor savez_compressed percentile squeeze numpy get_cmap is_tensor is_seq clamp is_seq inv_depths_normalize fuse_inv_depth clamp shape repeat flip_lr max_depth clamp type_as shape min_depth interpolate_image zip median max imwrite same_shape shape same_shape shape interpolate_image append range linspace meshgrid ones_like stack CRITICAL disable filterwarnings items list keys make_list find_spec load_class items list backwards_state_dict print0 pcolor format endswith len is_str OrderedDict make_list load_state_dict find state_dict items list format replace OrderedDict format format partial replace pcolor1 name print pcolor2 print_recursive range len items list item reduce_value isinstance len OrderedDict mean zip append zeros reduce_value enumerate items list isinstance OrderedDict mean stack startswith append enumerate prepare_dataset_prefix enumerate item list average_key OrderedDict average_sub_key keys join write_depth format write_image viz prepare_dataset_prefix png npz folder rgb viz_inv_depth numpy range makedirs set_debug hvd_init debug ModelWrapper load_state_dict HorovodTrainer parse_test_file join list format glob sort print extend tqdm gt_folder compute_depth_metrics unsqueeze zip append pred_folder numpy join write_depth basename format imwrite concatenate print load_image viz_inv_depth unsqueeze rank pcolor is_available resize_image to numpy makedirs print0 ModelWrapper image_shape save infer_and_save_depth half rank load_state_dict input to set_debug debug eval is_available checkpoint isdir hvd_init output parse_test_file len set_debug hvd_init debug ModelWrapper HorovodTrainer parse_train_file fit asarray NEAREST float32 resize expand_dims open exp arange LinearNDInterpolator reshape where shape stack meshgrid log interpolate_depth flip_vertical view squeeze astype flip_horizontal float32 from_numpy shape translate_horizontal translate_vertical numpy cuda int unsqueeze repeat abs cat int unsqueeze repeat abs cat CUDA zero_grad SGD DataLoader compute_loss device save forward cuda log list transpose squeeze step depth_transform append range format read_paths TargetedAdversarialMonocularDataset PerturbationsModel param_groups restore_model CPU DepthModel item zip flush enumerate join time evaluate backward clamp makedirs write parameters numpy len list abs_rel_err zip lp_norm log enumerate
# Targeted Adversarial Perturbations for Monocular Depth Prediction PyTorch implementation of *Targeted Adversarial Perturbations for Monocular Depth Prediction* \[[arxiv](https://arxiv.org/pdf/2006.08602.pdf)\] \[[poster](http://web.cs.ucla.edu/~alexw/nips2020_targeted_adversarial_monodepth_poster.pdf)\] Published in the Proceedings of Neural Information Processing Systems (NeurIPS) 2020 Authors: [Alex Wong](http://web.cs.ucla.edu/~alexw/), [Safa Cicek](https://bsafacicek.github.io/) If this work is useful to you, please consider citing our paper: ``` @inproceedings{wong2020targeted, title={Targeted Adversarial Perturbations for Monocular Depth Prediction}, author={Wong, Alex and Cicek, Safa and Soatto, Stefano},
1,332
algonomicon/a-neural-algorithm-of-artistic-style
['style transfer']
['A Neural Algorithm of Artistic Style']
src/main.py src/utils.py src/settings.py src/model.py closure Normalization StyleLoss gram_matrix style_cnn ContentLoss load_image save_image format backward print model zero_grad clamp_ item t size mm view deepcopy children format isinstance Sequential StyleLoss MaxPool2d add_module Conv2d ContentLoss len ReLU append BatchNorm2d to range detach unsqueeze unloader squeeze save
# A Neural Algorithm of Artistic Style Source: https://arxiv.org/pdf/1508.06576.pdf Authors: Leon A. Gatys, Alexander S. Ecker, Matthias Bethge This is a pytorch implementation of neural style transfer as described in the above paper. It works by extracting the content and style of different images by feeding them through a convolutional neural network and looking at the features at different layers in the network. We then perform gradient descent on a target image and try to minimize the loss between that target image and both the content and style features. The result is a combination of the two. ![Combined](output/combined.png) ## Requirements + Versions - [Python 3.6](https://www.python.org/) - [PyTorch 1.0](https://pytorch.org/) - [Pillow 5.3](https://pillow.readthedocs.io/en/5.3.x/) - [Matplotlib 3.0](https://matplotlib.org/)
1,333
aliaksandrsiarohin/bae
['style transfer']
['Enhancing Perceptual Attributes with Bayesian Style Generation']
losses.py dataset/split_dataset.py style_transfer_demo.py style_transfer_model.py evaluation.py select_data.py style_optimization_demo.py mixer.py train_predictor.py cmd.py transfer_all.py dataset/filter_corrupted_images.py layers.py style_gan_train.py optimizers.py dataset/download_art_images.py parse_args chain_generation save_images compute_content_loss scores_to_df Scorer compute_style_descriptor generate_all_images baseline_generation compute_style_variance compute_top_score AdaIN ReflectionPad LRN preprocess_symbolic_input get_image_memorability get_score blue_score get_image_aesthetics alpha_prior get_image_emotion aes_score emotion_score gaussian_prior mem_score ChainMix GradientAccent HamiltonyanMCMC MetropolisHastingsMCMC LangevinMCMC copy_data select_top main make_generator make_discriminator StylesDataset main add_text_to_image print_image_score style_transfer_model preprocess_input style_transfer_gan get_decoder deprocess_input get_encoder move_images add_argument ArgumentParser join imsave enumerate makedirs list map run range len preprocess_input join deprocess_input resize append imread listdir predict save_images ChainMix output_dir chain_generation exists alpha_mean list content_images_names_file imread compute_external Scorer compute_internal styles_images_dir compile enumerate style_transfer_model join scores_to_df content_images_folder print tqdm repeat baseline_generation preprocess_input resize expand_dims imread predict VGG19 preprocess_input var reshape squeeze get_encoder mean resize imread log predict append var compute_style_descriptor vstack join compute_style_variance compute_content_loss content_images_folder tqdm mean output_dir unique append encoder array range len dtype constant bias_add cast less logical_and greater resize_images load_model transpose memnet preprocess_symbolic_input get_image_memorability get_image_aesthetics resize_images constant load_model transpose ilgnet preprocess_symbolic_input get_image_emotion resize_images transpose net load_model gaussian_prior alpha_prior seed print choice mean unique append argmax array join replace copy makedirs Input Input make_generator StylesDataset batch_size add_argument GAN Trainer input_dir parse_args train parser_with_default_args make_discriminator print exp logit text Draw save open ChainMix output_dir argmax run str add_text_to_image content_image imread compute_external imsave Scorer compute_internal score_type compile enumerate join print makedirs style_generator set_image_data_format load_model decoder get_decoder encoder clip get_encoder set_image_data_format load_model dict Model Input set_image_data_format load_model decoder Model get_decoder encoder get_encoder gray2rgb astype squeeze moveaxis clip join copy folder train_test_split listdir
# Enhancing Perceptual Attributes with Bayesian Style Generation [Check out our paper](https://arxiv.org/abs/1812.00717) <p> <table> <tr> <td> Scary <br/> <img src="sup-mat/cornell_scary.jpg" width="350" height="350"/> </td> <td> Glomy <br/> <img src="sup-mat/cornell_gloomy.jpg" width="350" height="350"/> </td> </tr> <tr> <td> Peaceful <br/> <img src="sup-mat/cornell_peaceful.jpg" width="350" height="350"/> </td>
1,334
aliannejadi/Omicron
['information retrieval']
['A Tool for Conducting User Studies on Mobile Devices']
dashboard/gplay.py dashboard/data_manager.py dashboard/firebase_manager.py dashboard/download_monitoring_data.py dashboard/download_all_data.py dashboard/dashboard.py gen dataframe_or_null update_graph explode DataManager check_downloaded_file_validity find_filenames_with_prefix append_user_to_appid correct_path initialize_logger decode_stacked merge_prefix_files_multiprocess FireBaseManager rename_appids_for_firebase put_one_json_per_line categoryFromPackage format reset_index replace print sync_data astype print difference all len start search raw_decode listdir split append append_user_to_appid read_json join format print find_filenames_with_prefix put_one_json_per_line makedirs basicConfig format print pq text sleep
# Omicron An Android app aimed for research on Mobile Information Retrieval, developed at Università della Svizzera italiana (USI), Lugano, Switzerland, in collaboration with Northumbria University, Newcastle upon Tyne, UK. ## Requirements This application need a [Firebase account](https://firebase.google.com/) to work. An account for Crashanalytics is needed for Crash Analytics reporting Qualtrics is used for the questionnaires. The link for the questionnaires are in MainActivity (openSurvey, onStartTask, OpenPostTaskQuestionnaire). TaskBrowserActivity uses an interceptor to know when the user has finished a questionnaire, the url that Qualtrics use might change in the future. A [Bing Web Search API](https://azure.microsoft.com/en-us/services/cognitive-services/bing-web-search-api/) subscription is needed to use web search capabilities The key need to be set in Configuration.java BING_KEY ## Usage
1,335
alibaba/euler
['network embedding']
['IntentGC: a Scalable Graph Convolution Framework Fusing Heterogeneous Information for Recommendation']
tf_euler/python/solution/losses.py tf_euler/python/__init__.py tf_euler/python/solution/samplers.py examples/TransX/transX.py tf_euler/python/euler_ops/feature_ops.py tf_euler/python/dataset/sage_util.py tf_euler/python/euler_ops/feature_ops_test.py tf_euler/python/dataset/reddit.py tf_euler/python/utils/__init__.py tf_euler/python/euler_ops/sample_ops_test.py examples/line/line.py examples/TransX/run_transH.py examples/sample_solution/sample_solution_model.py tf_euler/python/dataset/pubmed_utils.py tf_euler/python/solution/utils.py examples/set2set/run_set2set.py tf_euler/python/dataflow/base_dataflow.py euler/python/start_service.py examples/distmult/distmult.py tf_euler/python/convolution/conv_test.py tf_euler/python/dataflow/sage_dataflow.py euler/__init__.py examples/gat/run_gat.py tf_euler/python/node_pool/__init__.py examples/arma/arma.py tf_euler/python/dataflow/whole_dataflow.py tf_euler/python/solution/logits.py tf_euler/python/convolution/sage_conv.py examples/gated_graph/gated_graph.py examples/gae/run_vgae.py tf_euler/python/dataflow/gcn_dataflow.py tf_euler/python/utils/optimizers.py tf_euler/python/convolution/appnp_conv.py tf_euler/python/solution/base_sample.py euler_estimator/python/__init__.py examples/TransX/run_transR.py euler/tools/json2partdat.py tf_euler/python/convolution/gcn_conv.py tf_euler/python/euler_ops/__init__.py tf_euler/python/utils/sparse_aggregators.py examples/gated_graph/run_gated_graph.py tf_euler/python/mp_utils/utils.py tf_euler/python/dataset/test_data.py tf_euler/python/convolution/tag_conv.py tf_euler/python/dataflow/fast_dataflow.py tf_euler/python/dataset/__init__.py examples/appnp/appnp.py tf_euler/python/convolution/gated_graph_conv.py tf_euler/python/graph_pool/__init__.py examples/TransX/run_transE.py tf_euler/python/convolution/agnn_conv.py examples/deepwalk/deepwalk.py examples/TransX/transR.py euler/tools/__init__.py tf_euler/python/graph_pool/set2set_pool.py tf_euler/python/euler_ops/base_test.py examples/rgcn/run_rgcn.py tf_euler/python/euler_ops/neighbor_ops_test.py euler_estimator/python/base_estimator.py examples/gae/gae.py tf_euler/python/solution/base_supervise.py examples/geniepath/geniepath.py tf_euler/python/mp_utils/base_gae.py euler/tools/json2partindex.py tf_euler/python/convolution/dna_conv.py tf_euler/python/convolution/conv.py tf_euler/python/convolution/sgcn_conv.py tf_euler/python/mp_utils/base.py tf_euler/python/dataset/base_dataset.py examples/adaptivegcn/run_adaptivegcn.py euler/tools/node.py examples/lgcn/run_lgcn.py tf_euler/python/euler_ops/sample_ops.py examples/appnp/run_appnp.py examples/gae/run_gae.py tools/pip/setup.py examples/TransX/transH.py examples/gin/run_gin.py tf_euler/python/euler_ops/type_ops_test.py examples/sgcn/run_sgcn.py tf_euler/python/dataset/mutag.py examples/line/run_line.py tf_euler/python/utils/flags.py tf_euler/python/euler_ops/mp_ops_test.py tf_euler/python/utils/to_dense_adj.py euler_estimator/python/gae_estimator.py examples/TransX/transD.py examples/dgi/run_dgi.py tf_euler/python/dataset/wn18.py euler_estimator/__init__.py examples/graphsage/run_graphsage.py tf_euler/python/mp_utils/base_graph.py tf_euler/python/convolution/arma_conv.py examples/graphsage/graphsage.py tf_euler/python/euler_ops/walk_ops.py euler_estimator/python/edge_estimator.py examples/geniepath/run_geniepath.py examples/adaptivegcn/adaptivegcn.py tf_euler/python/mp_utils/base_gnn.py tf_euler/python/dataflow/neighbor_dataflow.py tf_euler/python/euler_ops/walk_ops_test.py tf_euler/python/solution/base_unsupervise.py tf_euler/python/utils/to_dense_adj_test.py tf_euler/python/dataset/gcn_utils.py tf_euler/python/euler_ops/base.py tf_euler/python/dataflow/layerwise_dataflow.py euler_estimator/python/sample_estimator.py tf_euler/python/convolution/relation_conv.py tf_euler/python/solution/__init__.py euler/python/hash_test.py euler/tools/generate_euler_data.py tf_euler/python/euler_ops/util_ops_test.py tf_euler/python/mp_utils/group_gnn.py examples/tagcn/tagcn.py examples/agnn/run_agnn.py examples/gin/gin.py tf_euler/python/contrib/py_scatter.py euler/python/__init__.py examples/agnn/agnn.py examples/arma/run_arma.py examples/graphgcn/run_graphgcn.py examples/graphgcn/graphgcn.py examples/dna/run_dna.py tf_euler/python/utils/encoders.py tf_euler/python/graph_pool/attention_pool.py tf_euler/python/dataset/cora.py examples/gcn/run_gcn.py examples/sgcn/sgcn.py tf_euler/python/dataset/citeseer.py tf_euler/python/dataflow/__init__.py examples/rgcn/rgcn.py tf_euler/python/dataset/fb15k.py tf_euler/python/utils/metrics.py examples/lgcn/lgcn.py tf_euler/python/dataset/utils.py tf_euler/python/utils/aggregators.py euler/tools/graph_meta.py tf_euler/python/convolution/__init__.py euler/tools/edge.py tf_euler/python/dataset/ppi.py tf_euler/python/dataflow/relation_dataflow.py tf_euler/python/dataset/pubmed.py examples/distmult/run_distmult.py examples/fastgcn/run_fastgcn.py tf_euler/python/convolution/graph_conv.py tf_euler/python/dataset/fb15k237.py examples/solution/run_solution.py tf_euler/python/utils/to_dense_batch.py tf_euler/__init__.py examples/deepwalk/run_deepwalk.py euler/tools/util.py examples/gat/gat.py tf_euler/python/graph_pool/base_pool.py examples/TransX/run_transD.py tf_euler/python/euler_ops/util_ops.py examples/dgi/dgi.py knn/knn.py tf_euler/python/dataset/multigraph_util.py tf_euler/python/convolution/gat_conv.py examples/dna/dna.py examples/gcn/gcn.py tf_euler/python/utils/layers.py euler_estimator/python/node_estimator.py tf_euler/python/mp_utils/graph_gnn.py tf_euler/python/dataset/ml_1m.py tf_euler/scripts/start_service.py examples/TransX/transE.py examples/tagcn/run_tagcn.py examples/set2set/set2set.py euler_estimator/python/graph_estimator.py tf_euler/python/contrib/spmm.py examples/solution/solution_model.py tf_euler/python/utils/hooks.py tf_euler/python/euler_ops/neighbor_ops.py tf_euler/python/utils/embedding.py tf_euler/python/convolution/gin_conv.py euler/tools/json2meta.py tf_euler/python/euler_ops/mp_ops.py tf_euler/python/euler_ops/type_ops.py examples/fastgcn/fastgcn.py tf_euler/python/utils/to_dense_batch_test.py tf_euler/python/mp_utils/__init__.py start Module Edge EulerGenerator GraphMeta Generator Converter mkdirs Converter mkdirs Node read_string expend_type read_data write_list edgeIdHash write_string expend_list convert_feature write_correct_data BaseEstimator EdgeEstimator GaeEstimator GraphEstimator NodeEstimator SampleEstimator GNN AdaptiveGCN main define_network_flags GNN AGNN main define_network_flags GNN APPNP main define_network_flags GNN ARMA main define_network_flags BaseNode2Vec DeepWalk main define_network_flags DGI DGIBase main define_network_flags DistMult main define_network_flags GNN DNA main define_network_flags GNN FastGCN main define_network_flags GNN VariationalGraphAutoEncoder GraphAutoEncoder main define_network_flags main define_network_flags GNN GAT main define_network_flags GNN GatedGraph main define_network_flags GNN SupervisedGCN main define_network_flags GeniePath main define_network_flags GNN GIN main define_network_flags GNN GraphGCN main define_network_flags GNN UnsupervisedGraphSage SupervisedGraphSage main define_network_flags LGCN main define_network_flags Line main define_network_flags GNN UnsupervisedRGCN main define_network_flags GNN my_parse_fn my_parse_emb_fn main define_network_flags GNN Set2SetModel main define_network_flags GNN SGCN main define_network_flags GNN get_unsupervise_solution_model get_solution_model main define_network_flags GNN TAGCN main define_network_flags main define_network_flags main define_network_flags main define_network_flags TransD TransE TransH TransR TransX main parse_query build_index scatter_add spmm_mean spmm_add spmm_ AGNNConv APPNPConv ARMAConv Conv SimpleConv ConvTest restricted_softmax DNAConv GroupDense GatedConv GATConv Attention GCNConv GINConv GraphConv RelationConv get_uid SAGEConv SGCNConv TAGConv Block DataFlow FastGCNDataFlow GCNDataFlow LayerwiseEachDataFlow LayerwiseDataFlow UniqueDataFlow NeighborDataFlow RelationDataFlow SageDataFlow WholeDataFlow DataSet citeseer cora FB15K FB15K237 parse_graph_file gen_edge gen_node gen_node_map int2onehot MovieLens_1M read_graph_label read_node_label gen_graph_json read_graph_indicator read_adj MUTAG ppi pubmed gen_edge parse_graph_file gen_node gen_node_map gen_feature_map int2onehot reddit get_edge_type load_data get_node_type test_data get_dataset WN18 initialize_shared_graph initialize_graph initialize_embedded_graph BaseTest get_sparse_feature _split_input_data _get_sparse_feature get_edge_binary_feature _get_binary_feature get_dense_feature get_binary_feature _get_dense_feature get_edge_sparse_feature get_edge_dense_feature FeatureOpsTest _GatherGrad _ScatterMaxGrad scatter_mean scatter_ _ScatterAddGrad scatter_softmax ScatterTest get_full_neighbor sample_fanout_layerwise sample_neighbor sample_fanout_with_feature sample_fanout sample_fanout_layerwise_each_node sparse_get_adj get_sorted_full_neighbor sample_neighbor_layerwise get_top_k_neighbor get_multi_hop_neighbor NeighborOpsTest _iter_body sample_node_with_src get_graph_by_label sample_node sample_edge SampleOpsTest get_node_type_id _get_type_id get_edge_type_id TypeOpsTest UtilOpsTest random_walk WalkOpsTest AttentionPool Pooling Set2SetPool SuperviseModel UnsuperviseModel BaseGraphAutoEncoder BaseGNNNet JKGNNNet GraphModel GraphGNNNet SharedGNNNet SharedGroupGNNNet SingleGNNNet GroupGNNNet get_conv_class WrappedWholeDataFlow get_flow_class WrappedGCNDataFlow UnsuperviseSampleSolution SuperviseSampleSolution SuperviseSolution UnsuperviseSolution PosNegLogits CosineLogits DenseLogits sigmoid_loss xent_loss SampleNegWithTypes SamplePosWithTypes GetLabelFromFea get BasePoolAggregator GCNAggregator MeanAggregator MeanPoolAggregator BaseAggregator MaxPoolAggregator embedding_add embedding_update ShallowEncoder SageEncoder SparseSageEncoder SageEncoderNew LGCEncoder LayerEncoder GenieEncoder GCNEncoder ShuffleSageEncoder ScalableGCNEncoder ScalableSageEncoder set_defaults SyncExitHook LSTMLayer get_layer_uid Embedding SparseEmbedding Dense AttLayer Layer get hitk_score hit1_score auc_score mr_score acc_score mrr_score hit10_score hit3_score f1_score get get _sparse_eye GCNAggregator MeanAggregator SingleAttentionAggregator _sparse_ones_like AttentionAggregator to_dense_adj ToDenseAdjTest to_dense_batch ToDenseBatchTest bdist_wheel makedirs pack hash64 len append range len append range len append encode str pack len str isinstance decode print pack exit write_string read_string pack len DEFINE_enum DEFINE_list DEFINE_integer DEFINE_float DEFINE_string feature_dim layers batch_size label_dim AdaptiveGCN dataset fanouts map get_dataset total_size label_idx load_graph train num_epochs int evaluate infer feature_idx FLAGS NodeEstimator RunConfig AGNN metric APPNP ARMA DEFINE_boolean all_node_type max_node_id hidden_dim DeepWalk all_edge_type list DGI DEFINE_bool num_negs DistMult EdgeEstimator DNA FastGCN GaeEstimator GraphAutoEncoder node_encoder radius VariationalGraphAutoEncoder concat num_heads GAT improved sparse_fea_idx GraphEstimator num_classes GatedGraph sparse_fea_max_id SupervisedGCN GeniePath GIN GraphGCN SupervisedGraphSage train_edge_type LGCN Line embedding_dim UnsupervisedRGCN max_edge_id edge_id_dim edge_id_idx reshape string_to_number Set2SetModel SGCN get_solution_model GNN GetLabelFromFea DenseLogits GNN SampleNegWithTypes SamplePosWithTypes TAGCN TransD format print TransE TransH TransR int IndexFlatL2 METRIC_L2 add sqrt index_type IndexIVFFlat train search query_file parse_query build_index array uuid4 str reduce_max set_shape get_default_graph sparse_reorder ones stack int64 cast SparseTensor ones spmm_add exp clip_by_value reduce_sum zeros join gen_edge gen_node_map gen_node readlines close open append split int strip readlines close append open int strip readlines close append max open int strip readlines close append open str format print append range len load format node_link_graph isinstance print fit remove_node nodes edges transform StandardScaler array exists open print lower encode join isinstance split list _split_input_data map zip append range len list _split_input_data map zip list _split_input_data map zip dtype cast gather scatter_add equal ones scatter_add gather exp scatter_max get_edge_type_id get_edge_type_id get_edge_type_id _sample_fanout_with_feature extend get_edge_type_id reshape _sample_neighbor_layerwise_with_adj get_edge_type_id get_edge_type_id get_edge_type_id _sample_fanout extend reshape sample_neighbor zip append sample_neighbor_layerwise reshape size zip append sample_neighbor_layerwise sparse_reorder get_full_neighbor reshape stack int64 cast unique append values SparseTensor reshape sample_node write get_node_type_id get_edge_type_id get_node_type convert_to_tensor OP reduce_mean sigmoid_cross_entropy_with_logits reduce_mean sigmoid_cross_entropy_with_logits concat list dynamic_partition isinstance to_int32 PartitionedVariable zip len items set_default floor accuracy sigmoid auc floor concat argmax top_k concat argmax top_k as_list ones reshape concat reduce_max scatter_nd shape gather ones reshape concat reduce_max reduce_sum scatter_ scatter_nd cast gather range
# [概述](https://github.com/alibaba/euler/wiki/Euler-2.0-%E6%A6%82%E8%BF%B0) # Euler-2.0 新增功能 #### [GQL图查询语言](https://github.com/alibaba/euler/wiki/Euler-2.0-GQL%E6%9F%A5%E8%AF%A2%E6%8E%A5%E5%8F%A3) #### [点和边的属性索引](https://github.com/alibaba/euler/wiki/Euler-2.0-%E7%82%B9%E5%92%8C%E8%BE%B9%E7%9A%84%E5%B1%9E%E6%80%A7%E7%B4%A2%E5%BC%95) #### [Message passing接口](https://github.com/alibaba/euler/wiki/Euler-2.0-Message-Passing%E6%8E%A5%E5%8F%A3) #### [Model Examples](https://github.com/alibaba/euler/wiki/Euler-2.0-Model-Examples) # 基础教程 #### [编译安装](https://github.com/alibaba/euler/wiki/Euler-2.0-%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85) #### [数据准备](https://github.com/alibaba/euler/wiki/Euler-2.0-%E6%95%B0%E6%8D%AE%E5%87%86%E5%A4%87) #### [快速开始](https://github.com/alibaba/euler/wiki/Euler-2.0-%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B)
1,336
alimurtadho/flask_api
['automatic machine learning model selection']
['Performance Accuration Method of Machine Learning for Diabetes Prediction']
dataprovider.py app.py optimizer.py notebooks/visuals.py tests.py PredictDiabetes DiabetesForm PredictHeartDisease HeartDiseaseForm GetLinearSVCClassifierForHeart GetLogisticRegressionClassifierForHeart GetPickleFile GetRandomForestClassifierForHeart GetKNeighborsClassifierForHeart GetGradientBoastingClassifierForHeart GetLinearSVCClassifierForDiabetes GetRFClassifierForDiabetes GetJobLibFile GetKNeighborsClassifierForDiabetes GetGBClassifierForDiabetes GetStandardScalarForDiabetes GetEnsembleClassifierForDiabetes GetLogisticRegressionClassifierForDiabetes GetAllClassifiersForDiabetes GetEnsembleClassifierForHeart GetAllClassifiersForHeart GetStandardScalarForHeart LoadDataset impute_zero_field GenerateNeurons ProcessData main TestNeuronGeneration filter_data disease_stats IntegerField SelectField DecimalField validate form HeartDiseaseForm transform GetAllClassifiersForHeart GetStandardScalarForHeart IntegerField DecimalField validate DiabetesForm form GetStandardScalarForDiabetes transform GetAllClassifiersForDiabetes join isfile join isfile read_csv info impute_zero_field info transform dropna values fit sum info len append range seed items basicConfig dump LoadDataset list Workbook best_estimator_ dict create_sheet ProcessData info append cross_val_score fit float reset_index split arange concat xticks DataFrame max show ylabel bar title legend format reset_index xlim enumerate filter_data print xlabel min hist figure len
alimurtadho/flask_api
1,337
alirezamshi/AME-CMR
['word embeddings', 'multilingual word embeddings', 'cross modal retrieval']
['Aligning Multilingual Word Embeddings for Cross-Modal Retrieval Task']
train.py data.py evaluation.py adjust_lexicons.py vocab.py model.py adjust_lexicon main idx combine get_loaders get_precomp_loader get_transform FlickrDataset get_loader_single get_test_loader collate_fn PrecompDataset get_paths enumerate print write close open split print len write close range open en_de_dir de_en_dir print en_ja_dir add_argument adjust_lexicon ja_en_dir ArgumentParser combine append parse_args range len join list sort stack long zip max enumerate FlickrDataset DataLoader DataLoader PrecompDataset Compose Normalize join use_restval endswith get_precomp_loader get_transform data_path get_loader_single data_name get_paths join use_restval endswith get_precomp_loader get_transform data_path get_loader_single data_name get_paths
# Multilingual Multimodal Embeddings with Adapting Aligned Languages : Pytorch implementation of the paper: *[Aligning Multilingual Word Embeddings for Cross-Modal Retrieval Task](https://www.aclweb.org/anthology/D19-6605/)*, Alireza Mohammadshahi, Remi Lebret, Karl Aberer, 2019 (EMNLP-FEVER 2019) ## Dependencies : You should install the following packages for train/testing the model: - Python 2.7 - [Pytorch](https://pytorch.org/) > 0.2 - [Numpy](https://numpy.org/) - [Tensorboard](https://www.tensorflow.org/guide/summaries_and_tensorboard) - [Pycocotools](https://github.com/cocodataset/cocoapi/tree/master/PythonAPI/pycocotools) - [Torchvision](https://pytorch.org/)
1,338
alisaab/l0bnb
['sparse learning']
['Sparse Regression at Scale: Branch-and-Bound rooted in First-Order Optimization']
profiler.py l0bnb/regpath.py l0bnb/relaxation/core.py l0bnb/utilities.py l0bnb/relaxation/__init__.py l0bnb/tree.py l0bnb/relaxation/_cost.py test/test_objective.py l0bnb/node/__init__.py l0bnb/relaxation/_utils.py l0bnb/relaxation/_coordinate_descent.py l0bnb/gensynthetic.py l0bnb/relaxation/gurobi.py test/test_preprocessing.py l0bnb/__init__.py l0bnb/node/core.py l0bnb/viz.py l0bnb/node/_utils.py l0bnb/relaxation/mosek.py setup.py profile readme gen_synthetic gen_synthetic_2 process_data fit_path BNBTree branch is_integral new_z max_fraction_branching graph_plot show_plots Node upper_bound_solve _initialize _above_threshold_indices _above_threshold_indices_gs is_integral solve _above_threshold _above_threshold_indices_root_first_call_gs _find_active_set l0gurobi cd_loop cd get_primal_cost get_dual_cost get_ratio_threshold get_active_components TestFitPath TestPreprocessing read remove close Stats run print_stats __name__ open seed normal ones dot sqrt zeros std seed normal ones dot sqrt zeros std masked argmax abs max lsq_linear solve identity BNBTree append concatenate square sqrt l0gurobi print min dot process_data beta zeros array x len norm ones square mean zeros abs argmax astype zub zlb zlb z Node new_z zub max_fraction_branching xlabel ylabel scatter func figure show norm lsq_linear concatenate identity cost sqrt x len abs argmax astype int list get_ratio_threshold deepcopy List cd_loop matmul argpartition get_active_components len norm list ones matmul set zip _find_active_set zeros abs zeros norm abs _above_threshold_indices_root_first_call_gs _above_threshold_indices _above_threshold_indices_gs minimum _initialize time get_ratio_threshold namedtuple cd List print Solution is_integral maximum _above_threshold set get_dual_cost get_primal_cost abs get_active_components update addTerms optimize addVar LinExpr addConstr setObjective MINIMIZE Model setParam zeros QuadExpr range x len set_add add dot dot_product sign abs list sorted get_ratio_threshold List cd_loop append get_primal_cost abs get_active_components abs get_ratio_threshold maximum minimum get_ratio_threshold maximum sign zeros abs len
# L0BnB: Sparse Regression at Scale [![Build Status](https://travis-ci.com/alisaab/l0bnb.svg?branch=master)](https://travis-ci.com/alisaab/l0bnb) [![Downloads](https://pepy.tech/badge/l0bnb)](https://pepy.tech/project/l0bnb) ### Hussein Hazimeh, Rahul Mazumder, and Ali Saab ### Massachusetts Institute of Technology ## Introduction L0BnB is a scalable global optimization framework for solving linear regression problems penalized with a combination of the L0 and L2 norms. More concretely, given a data matrix X (with n samples and p features) and a response vector y, L0BnB solves the following problem to optimality: <img src="https://raw.githubusercontent.com/alisaab/l0bnb/master/formulation.png" width = 300> where the L0 (pseudo)-norm counts the number of nonzeros in the coefficients vector B. Here the L0 (pseudo)-norm performs variable selection, while the L2 norm adds shrinkage which can be particularly useful in low-signal settings. L0BnB implements a custom branch-and-bound (BnB) framework that leverages a highly specialized first-order method to solve the node subproblems. It achieves over 3600x speed-ups compared to the state-of-the-art mixed integer programming (MIP) solvers, and can scale to problems where the number of features p ~ 10^7. For more details, check out our paper *Sparse Regression at Scale: Branch-and-Bound rooted in First Order Optimization* ([arXiv link](https://arxiv.org/abs/2004.06152)). ## Installation The toolkit is implemented in Python 3. To install it, run the following command: ```bash
1,339
alishdipani/Neural-Style-Transfer-Audio
['style transfer']
['A Neural Algorithm of Artistic Style']
NeuralStyleTransfer.py graphs.py read_audio_spectum read_audio_spectum run_style_transfer StyleLoss get_input_param_optimizer get_style_model_and_losses GramMatrix CNNModel load angle stft log1p abs deepcopy gram Sequential clone StyleLoss add_module cuda is_available GramMatrix append cnn1 Parameter Adam data print clamp_ get_input_param_optimizer get_style_model_and_losses step
# Neural-Style-Transfer-Audio [[Blog]](https://alishdipani.github.io/projects/2018/08/Neural-Style-Transfer-Audio/) This is PyTorch Implementation Of Neural Style Transfer Algorithm which is modified for Audios. # Aim - We aim to analyze and mix two audios in order to synthesize new music, we do this by applying Neural Style Transfer on two Audios to transfer style of a style audio on a content audio. ![alt text](Figure_1.png) # Dependencies - 1. python 2.7 2. PyTorch
1,340
alldbi/Factorized-Spatial-Embeddings
['unsupervised facial landmark detection']
['Unsupervised learning of object landmarks by factorized spatial embeddings']
utils/warp.py main.py utils/ThinPlateSplineB.py utils/ThinPlateSpline2.py landmark_colors load_examples save_images align_loss CNN_tower weight_decay preprocess conv align_loss2 deprocess main get_arguments ThinPlateSpline2 ThinPlateSpline3 ThinPlateSpline2 feature_warping image_warping2 feature_warping2 image_warping add_argument ArgumentParser append get_cmap array range append trainable_variables l2_loss join decode basename splitext output_dir append enumerate makedirs join sorted int all batch_size glob input_dir ceil randint decode_jpeg batch len reshape transpose float32 reduce_sum pow reduce_mean cast tile expand_dims range feature_warping2 reshape transpose float32 reduce_sum pow reduce_mean cast tile expand_dims range reduce_max AREA set_random_seed weight_decay assign image Saver K gather deformation count resize_images images_deformed cast Supervisor expand_dims range get_arguments align_loss2 convert_to_tensor landmark_colors get_or_create_global_step group softmax tile random_seed equal load_examples print reshape float32 diversity_loss greater convert_image_dtype images reduce_mean int32 deprocess scalar _transform _solve_system print get_shape _transform get_shape constant print reshape concat shape random_uniform TPS array constant reshape concat float32 shape random_uniform TPS zeros expand_dims array random_normal get_shape constant print reshape concat shape tile TPS array constant reshape crop_to_bounding_box shape pad tile TPS array
# Factorized-Spatial-Embeddings Tensorflow implementation of [Unsupervised learning of object landmarks by factorized spatial embeddings](http://www.robots.ox.ac.uk/~vedaldi//assets/pubs/thewlis17unsupervised.pdf) by Thewlis el al. for unsupervised landmark detection. ### Sample results Test results on LFW with 8 landmarks (K=8, M=4), trained on CelebA dataset for 2 epochs. ![](https://github.com/alldbi/Factorized-Spatial-Embeddings/blob/master/test_samples/test-K8M4.png) Test results on LFW with 16 landmarks (K=16, M=4), trained on CelebA dataset for 2 epochs. ![](https://github.com/alldbi/Factorized-Spatial-Embeddings/blob/master/test_samples/K16M4.png) ## Setup ### Prerequisites - Tensorflow 1.4
1,341
allenai/comb_dist_direct_relex
['relation extraction']
['Combining Distant and Direct Supervision for Neural Relation Extraction']
relex/comb_dist_direct_relex.py relex/relation_extraction_predictor.py scripts/plot_pr_curves.py relex/relation_instances_reader.py tests/test_multilabel_average_precision_metric.py relex/__init__.py relex/multilabel_average_precision_metric.py CombDistDirectRelex MultilabelAveragePrecision RelationExtractionPredictor RelationInstancesReader TestUtil
# Combining Distant and Direct Supervision for Neural Relation Extraction This is code for our NAACL 2019 paper on combining distant and direct supervision to improve relation extraction. The code is implemented using PyTorch and AllenNLP. ### Running The Code After cloning this repository, follow the steps below for training and prediction. 1) Install requirements (mainly AllenNLP) ``` pip install -r requirements.txt ``` 2) Use the following scrip to start training. Make sure to check and edit the parameters in the training script. The default parameters will train the model for **one epoch** on a **subset of the dataset**. ```
1,342
allenai/dqa-net
['visual question answering']
['A Diagram Is Worth A Dozen Images']
models/m05.py vis/list_results.py create_fold.py read_data/r05.py tmp/sim_test.py vis/list_relations.py configs/json2tsv.py configs/tsv2json.py configs/c04.py my/tensorflow.py vis/list_dqa_questions.py utils.py my/rnn_cell.py models/bm05.py prepro/p05.py vis/list_vqa_questions.py my/nn.py tmp/simple.py main/x05.py configs/get_config.py vis/list_facts.py create_randomly_categorized_fold create_linear_fold get_pbar json_pretty_dump Config get_config get_config_from_file main json2tsv get_args main tsv2json get_args tsv2dict main mkdirs load_meta_data BaseTower BaseRunner PESentenceEncoder Sim Tower Memory Runner Sentence LSTMSentenceEncoder MeanEncoder linear softmax_with_mask man_sim softmax_with_base linear BasicLSTMCell average_gradients _variable_with_weight_decay _variable_on_cpu _get prepro_questions _vget get_args prepro_annos _tokenize indexing rel2text _vadd prepro_images _vlup anno2rels copy_folds create_meta_data qa2hypo create_image_ids_and_paths _get_id_map build_vocab read_data DataSet load_all guess find_node evaluate _tokenize _get_val create_graph select _get_args main _normalize temp get_args sent_to_bow sim_test cdiff sent_to_text diff get_args list_dqa_questions list_facts _decode_sent get_args _decode_sent get_args interpret_relations _decode_relation _decode_sent list_results get_args main join list sorted int format dump print data_dir add_argument shuffle set ArgumentParser ratio open parse_args fold_path len cat_path ArgumentParser fold_path open list defaultdict sorted add parse_args union dump shuffle splitext ratio keys load items int join print add_argument test_cats len ProgressBar deepcopy list items load open splitext tsv2dict add_argument ArgumentParser load items list OrderedDict __name__ open tsv_path json_path json2tsv get_args open json_pretty_dump tsv2dict tsv2json join zfill rmtree model_name mkdir train exists load join open data_dir join config read_data __dict__ Graph get_config data_dir get_config_from_file draft mkdirs pprint load_meta_data Runner __flags train Session reshape softmax __name__ slice reshape concat squeeze softmax sub tile expand_dims len abs sub reduce_sum len reshape mul add_to_collection _variable_on_cpu l2_loss truncated_normal_initializer concat reduce_mean zip append expand_dims insert findall tuple lower lower _get str _tokenize items list Relation add set append len items list finish max open list data_dir target_dir anno2rels sum update dump set start splitext _get_id_map enumerate load join print len load join sorted items update dump print data_dir target_dir len start splitext finish append max enumerate open glove_path finish open list defaultdict target_dir _vadd update dump close start zip enumerate load join items print File create_dataset len load join dump print target_dir open join dump target_dir mkdir open join sorted dump print data_dir target_dir open vgg_proto_path join print vgg_model_path target_dir system join data_dir target_dir copy range load join format arange batch_size print data_dir DataSet File len zip append fold_path enumerate open add_argument ArgumentParser stem lower load join sorted list items update start finish append enumerate open _normalize add_edge list Graph _get_val values _tokenize find_node shortest_path min has_path append max enumerate len update items print create_graph start finish zip enumerate guess load append open load_all evaluate select _get_args fold_path load second_dir join defaultdict update first_dir list items dump min start finish sent_to_text open zeros list keys map plot Environment port get_template finish host template_name exists open sorted data_dir dirname append update chdir realpath start mkdir splitext enumerate load join items print system zfill rmtree serve_forever TCPServer parse_args Environment port get_template finish host template_name exists open sorted list dirname append update chdir prepro_dir realpath start mkdir zip keys enumerate load join print system zfill rmtree serve_forever TCPServer deepcopy _decode_sent Environment get_template finish template_name open html_path sorted list render dirname append update prepro_dir start realpath zip keys enumerate load join system config_name Environment data_type port get_template finish host template_name exists open sorted list model_num dirname append update epoch chdir realpath start mkdir zip keys enumerate load join items print system zfill rmtree serve_forever TCPServer load html_path list questions_name root_dir system start render annotations_name get_template stop open template_name range images_dir
# DQA-Net This is the original source code for DQA-Net described in ["A Diagram is Worth a Dozen Images"] (http://arxiv.org/abs/1603.07396) ## Quick Start ### 1. Install Requirements - Python (verified on 3.5.1) - Python packages: numpy, progressbar2, nltk, tensorflow, h5py, [qa2hypo](https://github.com/anglil/qa2hypo) - Torch (comes with Lua) - Lua packages: cunn, cudnn, cutorch, loadcaffe, hdf5 Note that the most recent official release of tensorflow (0.7.1) probably won't be compatible with this. You will need to build from a recent commit (verified on [e39d8fe](https://github.com/tensorflow/tensorflow/tree/e39d8feebb9666a331345cd8d960f5ade4652bba)).
1,343
allenai/pybart
['relation extraction']
['pyBART: Evidence-based Syntactic Transformations for IE']
pybart/__init__.py pybart/constraints.py pybart/graph_token.py tests/test_conversions.py pybart/conllu_wrapper.py setup.py pybart/matcher.py tests/test_matcher.py pybart/converter.py pybart/api.py pybart/spacy_wrapper.py _convert_bart_odin_sent convert_spacy_doc convert_bart_conllu create_pybart_spacy_pipe get_conversion_names Converter convert_bart_odin convert_bart_tacred _fix_sentence_keep_order _fix_sentence_push_to_end append_odin parse_conllu serialize_conllu conllu_to_odin parse_odin fix_graph parsed_tacred_json fix_sentence fix_offsets FieldNames LabelPresence Token ExactDistance TokenPair UptoDistance Edge HasLabelFromList Full HasNoLabel Field Distance TokenTuple TokenTriplet init_conversions reattach_children get_assignment get_eud_info Conversion get_conversion_names ConvTypes create_mwe assign_ccs_to_conjs Convert reattach_parents remove_funcs Label Token add_basic_edges TokenId get_content_by_field TokenMatcher NamedConstraint preprocess_constraint get_labels MatchingResult get_children_count get_text GlobalMatcher get_matched_labels Matcher Match get_pybart enhance_spike_doc enhance_to_spacy_doc parse_spacy_sent TestConversions try_helper cleanup TestConstraints TestMatcher init_full_constraints test_preprocess_constraint TestMatch stub_get_text stub_get_labels Convert parse_conllu con parse_odin Convert con _convert_bart_odin_sent list items Convert parsed_tacred_json con Convert con enhance_to_spacy_doc int Token add_basic_edges TokenId startswith append split append zip list Token add_basic_edges TokenId zip append set_conllu_field enumerate list sorted TokenId major append set_conllu_field get_conllu_field list TokenId append set_conllu_field get_conllu_field enumerate append get_new_relations startswith enumerate append get_conllu_field len join append_odin any append fix_graph fix_sentence fix_offsets enumerate pop int Token add_basic_edges dict zip append enumerate remove_all_edges add_edge enumerate Label remove_all_edges join major append sorted get_children_with_rels startswith Full pop list keys add_edge get_conllu_field enumerate Label update satisfied set update get list defaultdict tokens replace isinstance extend id set concats incoming_edges edges zip append label parent_graphs_per_sent i edges zip append sents enumerate sorted parent_graphs_per_sent i startswith edges append enumerate Token lemma_ tag_ add_basic_edges text pos_ min TokenId lower i append enumerate token_str zip Graph __stdout__ dict get_new_relations open devnull to_str append sents get_conllu_field enumerate dict addfinalizer get_text get_labels Full try_code Full preprocess_constraint
![CI](https://github.com/allenai/pybart/actions/workflows/ci.yml/badge.svg) <div align="center"> <br> <img src="logo.png" width="400"/> <p> A Python converter from Universal-Dependencies trees to <b>BART</b> representation.<br> Try out our UD-BART comparison <a href="https://pybart.apps.allenai.org/">Demo</a> </p> <hr/> </div>
1,344
allenai/swig
['image retrieval']
['Grounded Situation Recognition']
JSL/inference.py global_utils/anchors.py JSL/gsr/dataloader.py global_utils/losses.py JSL/verb/resnet50.py global_utils/format_utils.py JSL/gsr/model.py JSL/verb/main.py JSL/gsr/train.py global_utils/imsitu_eval.py JSL/verb/verbModel.py JSL/verb/imsituDatasetGood.py global_utils/resnet.py global_utils/utils.py generate_anchors Anchors shift compute_shape anchors_for_shape formatted_date cmd_to_dict dict_to_title assign_learning_rate cosine_lr _warmup_lr cmd_to_title BboxEval FocalLoss calc_iou conv1x1 ResNet Bottleneck conv3x3 BasicBlock BBoxTransform Bottleneck conv3x3 ClipBoxes BasicBlock formatted_date get_mapping cmd_to_dict evaluate dict_to_title eval save_checkpoint main cmd_to_title Normalizer CSVDataset UnNormalizer collater Resizer AspectRatioBasedSampler Augmenter resnet50 ResNet_RetinaNet_RNN ClassificationModel LabelSmoothing RegressionModel PyramidFeatures init_data init_log_dir evaluate get_ground_truth main train imSituDatasetGood formatted_date get_mapping cmd_to_dict dict_to_title eval save_checkpoint main train cmd_to_title conv1x1 ResNet Bottleneck conv3x3 BasicBlock ImsituVerb LabelSmoothing T sqrt repeat zeros array len array generate_anchors shift compute_shape append zeros enumerate meshgrid reshape transpose arange print str param_groups join remove dict_to_title print cmd_to_dict now split unsqueeze clamp min max verb_path DataLoader ArgumentParser cuda load_state_dict AspectRatioBasedSampler parse_args imSituDatasetGood CSVDataset get_mapping resnet50 store_features eval ImsituVerb load jsl_path evaluate image_file print add_argument makedirs str max format batch_size print File close enumerate eval create_dataset cpu float cuda range append len print print save ones zeros permute tensor max range enumerate len print ResNet_RetinaNet_RNN bias load_url load_state_dict weight Linear resume_epoch format init_data train Adam parameters save init_log_dir epochs range clip_grad_norm_ zero_grad cuda format param_groups retinanet mean lr float enumerate backward print add_scalar parameters freeze_bn iteration bool step len BboxEval verb value_all_bbox update value value_all get_ground_truth add_scalar value_bbox print AspectRatioBasedSampler CSVDataset DataLoader print SummaryWriter makedirs cmd_to_title append add range set save_checkpoint device str title sum SummaryWriter param_groups lr mkdir str model
## Overview This repository contains the Situation With Groundings (SWiG) dataset as well as code to train and run inference on the Joint Situation Localizer (JSL). This is a model which solves the Grounded Situation Recognition (GSR) task. The SWiG dataset, JSL model, and the GSR task are all detailed in https://arxiv.org/abs/2003.12058. This document details how to 1. Download the SWiG dataset 2. Run inference on JSL 3. Train JSL
1,345
almostExactMatch/collapsingFLAME
['causal inference']
['Interpretable Almost Matching Exactly for Causal Inference']
experiments/BTC_Experiment/FLAME-gen.py experiments/missingdata/compare_true.py experiments/missingdata/generate_data.py experiments/collapsingFLAMEbit.py experiments/genericFLAMEbit.py genericFLAMEbit.py experiments/missingdata/compare.py experiments/missingdata/merge.py experiments/BTC_Experiment/FLAME-col.py experiments/missingdata/original_data_no_miss.py experiments/BTC_Experiment/compare.py experiments/missingdata/genFLAMEbit.py experiments/missingdata/original_data.py experiments/missingdata/compare_full.py collapsingFLAMEbit.py experiments/missingdata/colFLAMEbit.py recover_covs_mp construct_sec_order num2vec_mp DroppedSets_mp get_CATE_bit_mp cleanup_result_mp match_mp balancing_factor_mp prediction_error_mp match_quality_mp PredictionE_mp data_generation_dense_2 run_mpbit match_quality prediction_error num2vec run_bit balancing_factor construct_sec_order recover_covs data_generation_gradual_decrease_imbalance data_generation match cleanup_result get_CATE_bit data_generation_dense_2 recover_covs_mp construct_sec_order num2vec_mp DroppedSets_mp get_CATE_bit_mp cleanup_result_mp match_mp balancing_factor_mp prediction_error_mp match_quality_mp PredictionE_mp data_generation_dense_2 run_mpbit match_quality prediction_error num2vec run_bit balancing_factor construct_sec_order recover_covs data_generation_gradual_decrease_imbalance data_generation match cleanup_result get_CATE_bit data_generation_dense_2 recover_covs_mp num2vec_mp DroppedSets_mp get_CATE_bit_mp cleanup_result_mp match_mp process_data balancing_factor_mp prediction_error_mp match_quality_mp PredictionE_mp run_mpbit score_tentative_drop_c update_matched get_CATE_db process_data run_db DroppedSets_mp get_CATE_bit_mp match_mp run balancing_factor_mp prediction_error_mp match_quality_mp PredictionE_mp run_mpbit construct_sec_order data_generation_dense_2 construct_sec_order match_quality prediction_error run_bit balancing_factor match get_CATE_bit run construct_sec_order construct_sec_order set_missing correlation_matrix generate_miss data_generation_dense_2 data_generation_dense_2 set_missing construct_sec_order append range len normal construct_sec_order DataFrame concat hstack choice dot binomial sum array dot array unique values mean time Ridge cross_val_score float time sum len aggregate list astype get_level_values append recover_covs_mp range len append range len time sorted remove print generate_active_sets get_CATE_bit_mp set add match_mp balancing_factor_mp prediction_error_mp match_quality_mp empty max append len normal T concat hstack dot binomial linspace append DataFrame array normal concat dot binomial DataFrame array range append dot array unique values float time sum len mean time Ridge cross_val_score aggregate list astype get_level_values append range recover_covs len append range len match_quality prediction_error time sorted balancing_factor print set match append get_CATE_bit empty max range len groupby get_group tolist mean append read_csv PredictionE_mp range inf DroppedSets_mp fetchall join time format Ridge copy set mean execute array cross_val_score execute join format commit fetchall join list format execute DataFrame array merge arange reset_index print concat astype to_csv index shape rename corr drop score_tentative_drop_c commit list format time update_matched print get_CATE_db set execute range append int iterrows copy set append range drop print isnan list dump run_mpbit range open dump reset_index index open read_csv values drop iterrows copy set append range drop groupby get_group print tolist mean isnan append run_bit int copy set add nan randint range list concatenate print reshape append range dump list multivariate_normal transpose rand to_csv drop dot set_missing rename append DataFrame array range data_generation_dense_2 open corr set_xticklabels set_yticklabels grid add_subplot colorbar imshow title savefig figure get_cmap
# Collapsing-Fast-Large-Almost-Matching-Exactly: A Matching Method for Causal Inference [[Paper]](https://arxiv.org/abs/1806.06802). Awa Dieng, Yameng Liu, Sudeepa Roy, Cynthia Rudin, Alexander Volsfovsky <br> Duke University ## Abstract We aim to create the highest possible quality of treatment-control matches for categorical data in the potential outcomes framework. Matching methods are heavily used in the social sciences due to their interpretability, but most matching methods in the past do not pass basic sanity checks in that they fail when irrelevant variables are introduced. Also, past methods tend to be either computationally slow or produce poor matches. The method proposed in this work aims to match units on a weighted Hamming distance, taking into account the relative importance of the covariates; the algorithm aims to match units on as many relevant variables as possible. To do this, the algorithm creates a hierarchy of covariate combinations on which to match (similar to downward closure), in the process solving an optimization problem for each unit in order to construct the optimal matches. The algorithm uses a single dynamic program to solve all of optimization problems simultaneously. Notable advantages of our method over existing matching procedures are its high-quality matches, versatility in handling different data distributions that may have irrelevant variables, and ability to handle missing data by matching on as many available covariates as possible. ## Run * **Step1**: clone this repository git clone https://github.com/almostExactMatch/collapsingFLAME.git * **Step2**: Make sure all required packages are up-to-date (see requirements.txt);
1,346
almostexactmatch/daemr
['causal inference']
['Interpretable Almost Matching Exactly for Causal Inference']
experiments/BTC_Experiment/FLAME-gen.py experiments/missingdata/compare_true.py experiments/missingdata/generate_data.py experiments/collapsingFLAMEbit.py experiments/genericFLAMEbit.py genericFLAMEbit.py experiments/missingdata/compare.py experiments/missingdata/merge.py experiments/BTC_Experiment/FLAME-col.py experiments/missingdata/original_data_no_miss.py experiments/BTC_Experiment/compare.py experiments/missingdata/genFLAMEbit.py experiments/missingdata/original_data.py experiments/missingdata/compare_full.py collapsingFLAMEbit.py experiments/missingdata/colFLAMEbit.py recover_covs_mp construct_sec_order num2vec_mp DroppedSets_mp get_CATE_bit_mp cleanup_result_mp match_mp balancing_factor_mp prediction_error_mp match_quality_mp PredictionE_mp data_generation_dense_2 run_mpbit match_quality prediction_error num2vec run_bit balancing_factor construct_sec_order recover_covs data_generation_gradual_decrease_imbalance data_generation match cleanup_result get_CATE_bit data_generation_dense_2 recover_covs_mp construct_sec_order num2vec_mp DroppedSets_mp get_CATE_bit_mp cleanup_result_mp match_mp balancing_factor_mp prediction_error_mp match_quality_mp PredictionE_mp data_generation_dense_2 run_mpbit match_quality prediction_error num2vec run_bit balancing_factor construct_sec_order recover_covs data_generation_gradual_decrease_imbalance data_generation match cleanup_result get_CATE_bit data_generation_dense_2 recover_covs_mp num2vec_mp DroppedSets_mp get_CATE_bit_mp cleanup_result_mp match_mp process_data balancing_factor_mp prediction_error_mp match_quality_mp PredictionE_mp run_mpbit score_tentative_drop_c update_matched get_CATE_db process_data run_db DroppedSets_mp get_CATE_bit_mp match_mp run balancing_factor_mp prediction_error_mp match_quality_mp PredictionE_mp run_mpbit construct_sec_order data_generation_dense_2 construct_sec_order match_quality prediction_error run_bit balancing_factor match get_CATE_bit run construct_sec_order construct_sec_order set_missing correlation_matrix generate_miss data_generation_dense_2 data_generation_dense_2 set_missing construct_sec_order append range len normal construct_sec_order DataFrame concat hstack choice dot binomial sum array dot array unique values mean time Ridge cross_val_score float time sum len aggregate list astype get_level_values append recover_covs_mp range len append range len time sorted remove print generate_active_sets get_CATE_bit_mp set add match_mp balancing_factor_mp prediction_error_mp match_quality_mp empty max append len normal T concat hstack dot binomial linspace append DataFrame array normal concat dot binomial DataFrame array range append dot array unique values float time sum len mean time Ridge cross_val_score aggregate list astype get_level_values append range recover_covs len append range len match_quality prediction_error time sorted balancing_factor print set match append get_CATE_bit empty max range len groupby get_group tolist mean append read_csv PredictionE_mp range inf DroppedSets_mp fetchall join time format Ridge copy set mean execute array cross_val_score execute join format commit fetchall join list format execute DataFrame array merge arange reset_index print concat astype to_csv index shape rename corr drop score_tentative_drop_c commit list format time update_matched print get_CATE_db set execute range append int iterrows copy set append range drop print isnan list dump run_mpbit range open dump reset_index index open read_csv values drop iterrows copy set append range drop groupby get_group print tolist mean isnan append run_bit int copy set add nan randint range list concatenate print reshape append range dump list multivariate_normal transpose rand to_csv drop dot set_missing rename append DataFrame array range data_generation_dense_2 open corr set_xticklabels set_yticklabels grid add_subplot colorbar imshow title savefig figure get_cmap
# Almost-Exact Matching with Replacement for Causal Inference [[Paper]](https://arxiv.org/abs/1806.06802). Awa Dieng, Yameng Liu, Sudeepa Roy, Cynthia Rudin, Alexander Volsfovsky <br> Duke University ## Abstract We aim to create the highest possible quality of treatment-control matches for categorical data in the potential outcomes framework. Matching methods are heavily used in the social sciences due to their interpretability, but most matching methods do not pass basic sanity checks: they fail when irrelevant variables are introduced, and tend to be either computationally slow or produce low-quality matches. The method proposed in this work aims to match units on a weighted Hamming distance, taking into account the relative importance of the covariates; the algorithm aims to match units on as many relevant variables as possible. To do this, the algorithm creates a hierarchy of covariate combinations on which to match (similar to downward closure), in the process solving an optimization problem for each unit in order to construct the optimal matches. The algorithm uses a single dynamic program to solve all of the optimization problems simultaneously. Notable advantages of our method over existing matching procedures are its high-quality matches, versatility in handling different data distributions that may have irrelevant variables, and ability to handle missing data by matching on as many available covariates as possible. ## Run * **Step1**: clone this repository git clone https://github.com/almostExactMatch/daemr.git * **Step2**: Make sure all required packages are up-to-date (see requirements.txt);
1,347
alpharol/Taco_Collection
['speech synthesis']
['Natural TTS Synthesis by Conditioning WaveNet on Mel Spectrogram Predictions']
LJSpeech-pretrain/tacotron/utils/text.py p225-finetuning/wavenet_vocoder/models/gaussian.py biaobei-pretrain/datasets/__init__.py p227_10/tacotron/synthesize.py p227_20/tacotron/models/Architecture_wrappers.py p227-finetuning/tacotron/__init__.py p227-finetuning/tacotron/utils/cmudict.py p227-finetuning/tacotron/synthesizer.py biaobei-pretrain/tacotron/utils/symbols.py p227_10/datasets/__init__.py LJSpeech-pretrain/datasets/preprocessor.py biaobei-pretrain/tacotron/utils/numbers.py p225-finetuning/tacotron/utils/text.py p225-finetuning/wavenet_vocoder/synthesizer.py p227_10/datasets/audio.py LJSpeech-pretrain/wavenet_vocoder/feeder.py p227-finetuning/wavenet_vocoder/__init__.py biaobei-pretrain/tacotron/train.py p227_50/test_wavenet_feeder.py p227_50/tacotron/synthesize.py biaobei-pretrain/datasets/audio.py p227_50/tacotron/utils/symbols.py p227_50/tacotron/models/attention.py p225-finetuning/wavenet_vocoder/__init__.py p227-finetuning/wavenet_vocoder/models/gaussian.py LJSpeech-pretrain/tacotron/models/__init__.py LJSpeech-pretrain/wavenet_vocoder/synthesizer.py p225-finetuning/tacotron/utils/symbols.py p227_10/tacotron/train.py p227-finetuning/tacotron/models/custom_decoder.py p227-finetuning/tacotron/utils/plot.py p225-finetuning/datasets/wavenet_preprocessor.py biaobei-pretrain/wavenet_vocoder/train.py p225-finetuning/tacotron/models/tacotron.py p227_10/datasets/wavenet_preprocessor.py p227_20/tacotron/utils/cleaners.py biaobei-pretrain/wavenet_vocoder/synthesize.py LJSpeech-pretrain/tacotron/models/custom_decoder.py biaobei-pretrain/tacotron/models/modules.py p225-finetuning/wavenet_vocoder/feeder.py p227_10/train.py p225-finetuning/preprocess.py p227_10/infolog.py p225-finetuning/wavenet_vocoder/models/__init__.py p227_20/wavenet_vocoder/models/mixture.py LJSpeech-pretrain/tacotron/train.py p227_10/test_wavenet_feeder.py p225-finetuning/wavenet_vocoder/util.py p227_10/tacotron/__init__.py p225-finetuning/tacotron/__init__.py p227_20/wavenet_vocoder/synthesize.py p227_20/tacotron/__init__.py p227_50/tacotron/utils/numbers.py p227_50/tacotron/utils/__init__.py p227_10/preprocess.py p225-finetuning/tacotron/models/custom_decoder.py p227-finetuning/tacotron/models/tacotron.py p227_20/wavenet_vocoder/synthesizer.py p227_20/wavenet_vocoder/models/__init__.py biaobei-pretrain/wavenet_vocoder/models/gaussian.py biaobei-pretrain/tacotron/feeder.py biaobei-pretrain/tacotron/models/helpers.py biaobei-pretrain/tacotron/utils/__init__.py p227-finetuning/infolog.py p227_50/datasets/__init__.py p227_50/tacotron/models/tacotron.py p227_50/datasets/audio.py p227-finetuning/wavenet_vocoder/train.py p227-finetuning/wavenet_vocoder/models/__init__.py p227_10/wavenet_preprocess.py p225-finetuning/train.py LJSpeech-pretrain/wavenet_vocoder/util.py p225-finetuning/wavenet_vocoder/synthesize.py p227-finetuning/datasets/preprocessor.py p227_10/tacotron/utils/cleaners.py p227-finetuning/wavenet_vocoder/feeder.py p227-finetuning/tacotron/utils/__init__.py p227_20/datasets/__init__.py LJSpeech-pretrain/tacotron/models/attention.py p225-finetuning/synthesize.py p227_50/wavenet_vocoder/feeder.py p225-finetuning/wavenet_vocoder/models/modules.py p227_50/wavenet_vocoder/models/wavenet.py p227_20/tacotron/synthesizer.py p227_10/tacotron/utils/text.py p227_10/wavenet_vocoder/models/gaussian.py p227_50/datasets/preprocessor.py biaobei-pretrain/datasets/wavenet_preprocessor.py biaobei-pretrain/preprocess.py biaobei-pretrain/wavenet_vocoder/models/__init__.py p225-finetuning/tacotron/models/modules.py p225-finetuning/wavenet_vocoder/models/wavenet.py p227_50/wavenet_preprocess.py p225-finetuning/tacotron/train.py p227-finetuning/tacotron/synthesize.py p227_10/wavenet_vocoder/__init__.py p225-finetuning/datasets/audio.py p227-finetuning/datasets/wavenet_preprocessor.py p227_20/tacotron/utils/cmudict.py p225-finetuning/wavenet_vocoder/models/mixture.py p225-finetuning/tacotron/feeder.py p227-finetuning/tacotron/models/modules.py p227_20/train.py p227_10/tacotron/utils/__init__.py p227-finetuning/preprocess.py p227_10/tacotron/models/attention.py p227_50/tacotron/__init__.py p227_50/tacotron/utils/text.py p227_20/infolog.py p227-finetuning/train.py p227_20/wavenet_preprocess.py p227_20/tacotron/utils/get_sym.py p227_10/tacotron/synthesizer.py p227_10/wavenet_vocoder/models/wavenet.py p227_50/synthesize.py p227-finetuning/tacotron/feeder.py p227_20/tacotron/models/custom_decoder.py p227-finetuning/tacotron/utils/get_sym.py p227_20/tacotron/models/modules.py p227_50/wavenet_vocoder/synthesizer.py p225-finetuning/wavenet_preprocess.py p227-finetuning/wavenet_vocoder/models/modules.py LJSpeech-pretrain/infolog.py p227_10/tacotron/models/__init__.py biaobei-pretrain/wavenet_vocoder/models/wavenet.py p227_10/wavenet_vocoder/models/modules.py p227_20/preprocess.py p227_50/wavenet_vocoder/synthesize.py p227_10/tacotron/utils/symbols.py p227_10/tacotron/utils/get_sym.py p227_20/tacotron/synthesize.py LJSpeech-pretrain/tacotron/utils/cleaners.py LJSpeech-pretrain/wavenet_vocoder/models/gaussian.py LJSpeech-pretrain/wavenet_vocoder/models/modules.py p227_20/datasets/preprocessor.py p227_20/tacotron/utils/numbers.py p227_10/tacotron/utils/numbers.py p227_20/tacotron/train.py p227_20/tacotron/feeder.py p227-finetuning/tacotron/models/helpers.py p227_50/wavenet_vocoder/util.py biaobei-pretrain/infolog.py p227_20/hparams.py p227-finetuning/tacotron/utils/cleaners.py LJSpeech-pretrain/tacotron/utils/numbers.py biaobei-pretrain/tacotron/utils/plot.py p227_10/tacotron/models/helpers.py p227_20/wavenet_vocoder/models/wavenet.py p225-finetuning/wavenet_vocoder/train.py p227_20/wavenet_vocoder/models/gaussian.py p227_50/tacotron/models/Architecture_wrappers.py p225-finetuning/test_wavenet_feeder.py p227_20/test_wavenet_feeder.py p227-finetuning/wavenet_vocoder/util.py LJSpeech-pretrain/tacotron/utils/cmudict.py p227_20/tacotron/models/attention.py p227_50/train.py biaobei-pretrain/tacotron/models/custom_decoder.py LJSpeech-pretrain/tacotron/utils/plot.py LJSpeech-pretrain/wavenet_vocoder/models/__init__.py p227_20/wavenet_vocoder/feeder.py p227_50/tacotron/train.py biaobei-pretrain/wavenet_vocoder/models/modules.py p227-finetuning/wavenet_vocoder/synthesizer.py LJSpeech-pretrain/tacotron/feeder.py biaobei-pretrain/tacotron/utils/text.py p227_50/tacotron/utils/get_sym.py LJSpeech-pretrain/synthesize.py p227-finetuning/wavenet_vocoder/models/wavenet.py biaobei-pretrain/tacotron/utils/cleaners.py p225-finetuning/datasets/__init__.py LJSpeech-pretrain/datasets/wavenet_preprocessor.py p227_50/tacotron/models/custom_decoder.py p227-finetuning/tacotron/utils/symbols.py LJSpeech-pretrain/tacotron/synthesize.py biaobei-pretrain/wavenet_vocoder/models/mixture.py p225-finetuning/tacotron/utils/__init__.py p227_50/wavenet_vocoder/models/modules.py p227_50/tacotron/synthesizer.py p227-finetuning/tacotron/utils/numbers.py p225-finetuning/tacotron/models/attention.py p227_50/wavenet_vocoder/__init__.py biaobei-pretrain/wavenet_preprocess.py biaobei-pretrain/wavenet_vocoder/synthesizer.py p227_50/hparams.py biaobei-pretrain/wavenet_vocoder/__init__.py LJSpeech-pretrain/tacotron/__init__.py LJSpeech-pretrain/tacotron/utils/symbols.py LJSpeech-pretrain/tacotron/utils/get_sym.py p225-finetuning/tacotron/utils/plot.py p227-finetuning/tacotron/models/__init__.py p227_50/tacotron/models/modules.py p225-finetuning/tacotron/models/helpers.py p227_10/tacotron/utils/cmudict.py p227_10/wavenet_vocoder/train.py p227_10/hparams.py p227_20/datasets/wavenet_preprocessor.py p225-finetuning/tacotron/utils/cleaners.py p227_10/wavenet_vocoder/models/__init__.py p225-finetuning/tacotron/utils/cmudict.py p227_10/wavenet_vocoder/synthesizer.py LJSpeech-pretrain/hparams.py p227_20/tacotron/models/helpers.py p227_50/infolog.py biaobei-pretrain/tacotron/models/Architecture_wrappers.py p227_50/tacotron/models/helpers.py LJSpeech-pretrain/tacotron/synthesizer.py p225-finetuning/tacotron/models/__init__.py p227-finetuning/wavenet_vocoder/synthesize.py p227_10/tacotron/utils/plot.py p225-finetuning/tacotron/utils/get_sym.py LJSpeech-pretrain/tacotron/models/Architecture_wrappers.py p227_10/wavenet_vocoder/models/mixture.py p227_50/tacotron/utils/cleaners.py p227_10/tacotron/models/custom_decoder.py p227_50/wavenet_vocoder/models/mixture.py p227_50/wavenet_vocoder/models/__init__.py p227_20/datasets/audio.py LJSpeech-pretrain/test_wavenet_feeder.py biaobei-pretrain/wavenet_vocoder/feeder.py p227-finetuning/datasets/__init__.py p227_10/datasets/preprocessor.py p227_20/wavenet_vocoder/train.py LJSpeech-pretrain/tacotron/models/tacotron.py LJSpeech-pretrain/wavenet_vocoder/models/mixture.py p227_50/preprocess.py LJSpeech-pretrain/wavenet_preprocess.py p227_10/wavenet_vocoder/util.py p227_20/tacotron/utils/symbols.py p227_50/datasets/wavenet_preprocessor.py LJSpeech-pretrain/datasets/__init__.py biaobei-pretrain/train.py LJSpeech-pretrain/wavenet_vocoder/train.py p227_20/wavenet_vocoder/__init__.py p227-finetuning/synthesize.py p227_10/wavenet_vocoder/feeder.py biaobei-pretrain/tacotron/models/attention.py biaobei-pretrain/datasets/preprocessor.py p227-finetuning/hparams.py p227-finetuning/test_wavenet_feeder.py p227_10/synthesize.py p227_50/tacotron/feeder.py LJSpeech-pretrain/wavenet_vocoder/__init__.py biaobei-pretrain/test_wavenet_feeder.py p225-finetuning/tacotron/models/Architecture_wrappers.py p227-finetuning/tacotron/models/attention.py p227_50/tacotron/utils/cmudict.py biaobei-pretrain/synthesize.py biaobei-pretrain/tacotron/models/__init__.py p227_10/tacotron/models/tacotron.py p227-finetuning/tacotron/train.py p227_20/tacotron/utils/plot.py p227_50/wavenet_vocoder/train.py biaobei-pretrain/tacotron/synthesizer.py p227_10/tacotron/models/modules.py LJSpeech-pretrain/tacotron/utils/__init__.py p225-finetuning/datasets/preprocessor.py p227_20/synthesize.py p227_50/tacotron/models/__init__.py p227_20/tacotron/utils/text.py p227-finetuning/wavenet_preprocess.py biaobei-pretrain/tacotron/synthesize.py LJSpeech-pretrain/wavenet_vocoder/models/wavenet.py p227_10/tacotron/feeder.py p227-finetuning/tacotron/utils/text.py biaobei-pretrain/tacotron/utils/cmudict.py biaobei-pretrain/tacotron/__init__.py biaobei-pretrain/hparams.py LJSpeech-pretrain/datasets/audio.py p227_10/wavenet_vocoder/synthesize.py p225-finetuning/infolog.py p227_50/wavenet_vocoder/models/gaussian.py biaobei-pretrain/tacotron/models/tacotron.py p225-finetuning/hparams.py p227-finetuning/tacotron/models/Architecture_wrappers.py biaobei-pretrain/wavenet_vocoder/util.py LJSpeech-pretrain/train.py LJSpeech-pretrain/tacotron/models/helpers.py p227_20/tacotron/utils/__init__.py p227_20/wavenet_vocoder/models/modules.py p227_20/wavenet_vocoder/util.py p227_50/tacotron/utils/plot.py LJSpeech-pretrain/tacotron/models/modules.py p225-finetuning/tacotron/utils/numbers.py p227_20/tacotron/models/__init__.py p227-finetuning/datasets/audio.py p227_20/tacotron/models/tacotron.py p225-finetuning/tacotron/synthesizer.py LJSpeech-pretrain/preprocess.py LJSpeech-pretrain/wavenet_vocoder/synthesize.py p227-finetuning/wavenet_vocoder/models/mixture.py p227_10/tacotron/models/Architecture_wrappers.py p225-finetuning/tacotron/synthesize.py hparams_debug_string _close_logfile log init _send_slack preprocess norm_data write_metadata main run_preprocess main get_sentences prepare_run synthesize check_time_alignment _limit_time _adjust_time_resolution get_groups _assert_ready_for_upsample main _ensure_divisible run read_seq save_seq main train prepare_run main preprocess write_metadata run_preprocess _mel_to_linear load_wav _build_mel_basis _linear_to_mel librosa_pad_lr save_wavenet_wav start_and_end_indices get_hop_size _griffin_lim_tensorflow num_frames _mel_to_linear_tensorflow melspectrogram _amp_to_db _istft preemphasis save_wav _db_to_amp_tensorflow _denormalize inv_linear_spectrogram _db_to_amp inv_mel_spectrogram inv_linear_spectrogram_tensorflow _normalize _griffin_lim _denormalize_tensorflow _stft inv_preemphasis _lws_processor pad_lr linearspectrogram trim_silence _process_utterance build_from_path _process_utterance build_from_path Feeder run_eval generate_fast run_live run_synthesis tacotron_synthesize Synthesizer add_embedding_stats time_string add_train_stats model_test_mode model_train_mode train add_eval_stats tacotron_train TacotronGSTCell TacotronDecoderCellState TacotronDecoderCell TacotronEncoderCell LocationSensitiveAttention _compute_attention _location_sensitive_score _smoothing_normalization CustomDecoderOutput CustomDecoder TacoTrainingHelper _teacher_forcing_ratio_decay _go_frames TacoTestHelper CBHG _round_up_tf EncoderRNN STL MaskedLinearLoss MaskedSigmoidCrossEntropy sequence_mask conv2d conv1d ReferenceEncoder StopProjection Postnet Prenet FrameProjection ZoneoutLSTMCell HighwayNet MultiHeadAttention MaskedMSE DecoderRNN EncoderConvolutions shape_list Tacotron split_func create_model lowercase english_cleaners expand_abbreviations collapse_whitespace basic_cleaners convert_to_ascii transliteration_cleaners expand_numbers _parse_cmudict _get_pronunciation CMUDict normalize_numbers _expand_dollars _expand_ordinal _expand_decimal_point _expand_number _remove_commas plot_alignment plot_spectrogram split_title_line text_to_sequence _clean_text _symbols_to_sequence _should_keep_symbol sequence_to_text _arpabet_to_sequence ValueWindow _pad_inputs Feeder _round_up _pad_targets _round_down _ensure_divisible run_synthesis wavenet_synthesize _pad_inputs Synthesizer add_test_stats create_shadow_saver save_log eval_step wavenet_train add_train_stats save_checkpoint model_test_mode model_train_mode train load_averaged_model mulaw inv_mulaw_quantize _log1p sequence_mask is_mulaw_quantize is_scalar_input is_raw inv_mulaw _sign _abs _asint is_mulaw _assert_valid_input_type mulaw_quantize _asfloat waveplot sample_from_gaussian gaussian_maximum_likelihood_estimation_loss log_sum_exp log_prob_from_logits discretized_mix_logistic_loss sample_from_discretized_mix_logistic WeightNorm CausalConv1D ReluActivation _conv1x1_forward GaussianMaximumLikelihoodEstimation ResidualConv1DGLU Embedding LeakyReluActivation ConvTranspose1D DiscretizedMixtureLogisticLoss Conv1D1x1 MaskedCrossEntropyLoss ConvTranspose2D _expand_global_features WaveNet receptive_field_size maybe_Normalize_weights create_model hparams_debug_string _close_logfile log init _send_slack preprocess norm_data write_metadata main run_preprocess main get_sentences prepare_run synthesize check_time_alignment _limit_time _adjust_time_resolution get_groups _assert_ready_for_upsample main _ensure_divisible run read_seq save_seq main train prepare_run main preprocess write_metadata run_preprocess _mel_to_linear load_wav _build_mel_basis _linear_to_mel librosa_pad_lr save_wavenet_wav start_and_end_indices get_hop_size _griffin_lim_tensorflow num_frames _mel_to_linear_tensorflow melspectrogram _amp_to_db _istft preemphasis save_wav _db_to_amp_tensorflow _denormalize inv_linear_spectrogram _db_to_amp inv_mel_spectrogram inv_linear_spectrogram_tensorflow _normalize _griffin_lim _denormalize_tensorflow _stft inv_preemphasis _lws_processor pad_lr linearspectrogram trim_silence _process_utterance build_from_path _process_utterance build_from_path Feeder run_eval generate_fast run_live run_synthesis tacotron_synthesize Synthesizer add_embedding_stats time_string add_train_stats model_test_mode model_train_mode train add_eval_stats tacotron_train TacotronGSTCell TacotronDecoderCellState TacotronDecoderCell TacotronEncoderCell LocationSensitiveAttention _compute_attention _location_sensitive_score _smoothing_normalization CustomDecoderOutput CustomDecoder TacoTrainingHelper _teacher_forcing_ratio_decay _go_frames TacoTestHelper CBHG _round_up_tf EncoderRNN STL MaskedLinearLoss MaskedSigmoidCrossEntropy sequence_mask conv2d conv1d ReferenceEncoder StopProjection Postnet Prenet FrameProjection ZoneoutLSTMCell HighwayNet MultiHeadAttention MaskedMSE DecoderRNN EncoderConvolutions shape_list Tacotron split_func create_model lowercase english_cleaners expand_abbreviations collapse_whitespace basic_cleaners convert_to_ascii transliteration_cleaners expand_numbers _parse_cmudict _get_pronunciation CMUDict normalize_numbers _expand_dollars _expand_ordinal _expand_decimal_point _expand_number _remove_commas plot_alignment plot_spectrogram split_title_line text_to_sequence _clean_text _symbols_to_sequence _should_keep_symbol sequence_to_text _arpabet_to_sequence ValueWindow _pad_inputs Feeder _round_up _pad_targets _round_down _ensure_divisible run_synthesis wavenet_synthesize _pad_inputs Synthesizer add_test_stats create_shadow_saver save_log eval_step wavenet_train add_train_stats save_checkpoint model_test_mode model_train_mode train load_averaged_model mulaw inv_mulaw_quantize _log1p sequence_mask is_mulaw_quantize is_scalar_input is_raw inv_mulaw _sign _abs _asint is_mulaw _assert_valid_input_type mulaw_quantize _asfloat waveplot sample_from_gaussian gaussian_maximum_likelihood_estimation_loss log_sum_exp log_prob_from_logits discretized_mix_logistic_loss sample_from_discretized_mix_logistic WeightNorm CausalConv1D ReluActivation _conv1x1_forward GaussianMaximumLikelihoodEstimation ResidualConv1DGLU Embedding LeakyReluActivation ConvTranspose1D DiscretizedMixtureLogisticLoss Conv1D1x1 MaskedCrossEntropyLoss ConvTranspose2D _expand_global_features WaveNet receptive_field_size maybe_Normalize_weights create_model hparams_debug_string _close_logfile log init _send_slack preprocess norm_data write_metadata main run_preprocess main get_sentences prepare_run synthesize check_time_alignment _limit_time _adjust_time_resolution get_groups _assert_ready_for_upsample main _ensure_divisible run read_seq save_seq main train prepare_run main preprocess write_metadata run_preprocess _mel_to_linear load_wav _build_mel_basis _linear_to_mel librosa_pad_lr save_wavenet_wav start_and_end_indices get_hop_size _griffin_lim_tensorflow num_frames _mel_to_linear_tensorflow melspectrogram _amp_to_db _istft preemphasis save_wav _db_to_amp_tensorflow _denormalize inv_linear_spectrogram _db_to_amp inv_mel_spectrogram inv_linear_spectrogram_tensorflow _normalize _griffin_lim _denormalize_tensorflow _stft inv_preemphasis _lws_processor pad_lr linearspectrogram trim_silence _process_utterance build_from_path _process_utterance build_from_path Feeder run_eval generate_fast run_live run_synthesis tacotron_synthesize Synthesizer add_embedding_stats time_string add_train_stats model_test_mode model_train_mode train add_eval_stats tacotron_train TacotronGSTCell TacotronDecoderCellState TacotronDecoderCell TacotronEncoderCell LocationSensitiveAttention _compute_attention _location_sensitive_score _smoothing_normalization CustomDecoderOutput CustomDecoder TacoTrainingHelper _teacher_forcing_ratio_decay _go_frames TacoTestHelper CBHG _round_up_tf EncoderRNN STL MaskedLinearLoss MaskedSigmoidCrossEntropy sequence_mask conv2d conv1d ReferenceEncoder StopProjection Postnet Prenet FrameProjection ZoneoutLSTMCell HighwayNet MultiHeadAttention MaskedMSE DecoderRNN EncoderConvolutions shape_list Tacotron split_func create_model lowercase english_cleaners expand_abbreviations collapse_whitespace basic_cleaners convert_to_ascii transliteration_cleaners expand_numbers _parse_cmudict _get_pronunciation CMUDict normalize_numbers _expand_dollars _expand_ordinal _expand_decimal_point _expand_number _remove_commas plot_alignment plot_spectrogram split_title_line text_to_sequence _clean_text _symbols_to_sequence _should_keep_symbol sequence_to_text _arpabet_to_sequence ValueWindow _pad_inputs Feeder _round_up _pad_targets _round_down _ensure_divisible run_synthesis wavenet_synthesize _pad_inputs Synthesizer add_test_stats create_shadow_saver save_log eval_step wavenet_train add_train_stats save_checkpoint model_test_mode model_train_mode train load_averaged_model mulaw inv_mulaw_quantize _log1p sequence_mask is_mulaw_quantize is_scalar_input is_raw inv_mulaw _sign _abs _asint is_mulaw _assert_valid_input_type mulaw_quantize _asfloat waveplot sample_from_gaussian gaussian_maximum_likelihood_estimation_loss log_sum_exp log_prob_from_logits discretized_mix_logistic_loss sample_from_discretized_mix_logistic WeightNorm CausalConv1D ReluActivation _conv1x1_forward GaussianMaximumLikelihoodEstimation ResidualConv1DGLU Embedding LeakyReluActivation ConvTranspose1D DiscretizedMixtureLogisticLoss Conv1D1x1 MaskedCrossEntropyLoss ConvTranspose2D _expand_global_features WaveNet receptive_field_size maybe_Normalize_weights create_model hparams_debug_string _close_logfile log init _send_slack preprocess norm_data write_metadata main run_preprocess main get_sentences prepare_run synthesize check_time_alignment _limit_time _adjust_time_resolution get_groups _assert_ready_for_upsample main _ensure_divisible run read_seq save_seq main train prepare_run main preprocess write_metadata run_preprocess _mel_to_linear load_wav _build_mel_basis _linear_to_mel librosa_pad_lr save_wavenet_wav start_and_end_indices get_hop_size _griffin_lim_tensorflow num_frames _mel_to_linear_tensorflow melspectrogram _amp_to_db _istft preemphasis save_wav _db_to_amp_tensorflow _denormalize inv_linear_spectrogram _db_to_amp inv_mel_spectrogram inv_linear_spectrogram_tensorflow _normalize _griffin_lim _denormalize_tensorflow _stft inv_preemphasis _lws_processor pad_lr linearspectrogram trim_silence _process_utterance build_from_path _process_utterance build_from_path Feeder run_eval generate_fast run_live run_synthesis tacotron_synthesize Synthesizer add_embedding_stats time_string add_train_stats model_test_mode model_train_mode train add_eval_stats tacotron_train TacotronGSTCell TacotronDecoderCellState TacotronDecoderCell TacotronEncoderCell LocationSensitiveAttention _compute_attention _location_sensitive_score _smoothing_normalization CustomDecoderOutput CustomDecoder TacoTrainingHelper _teacher_forcing_ratio_decay _go_frames TacoTestHelper CBHG _round_up_tf EncoderRNN STL MaskedLinearLoss MaskedSigmoidCrossEntropy sequence_mask conv2d conv1d ReferenceEncoder StopProjection Postnet Prenet FrameProjection ZoneoutLSTMCell HighwayNet MultiHeadAttention MaskedMSE DecoderRNN EncoderConvolutions shape_list Tacotron split_func create_model lowercase english_cleaners expand_abbreviations collapse_whitespace basic_cleaners convert_to_ascii transliteration_cleaners expand_numbers _parse_cmudict _get_pronunciation CMUDict normalize_numbers _expand_dollars _expand_ordinal _expand_decimal_point _expand_number _remove_commas plot_alignment plot_spectrogram split_title_line text_to_sequence _clean_text _symbols_to_sequence _should_keep_symbol sequence_to_text _arpabet_to_sequence ValueWindow _pad_inputs Feeder _round_up _pad_targets _round_down _ensure_divisible run_synthesis wavenet_synthesize _pad_inputs Synthesizer add_test_stats create_shadow_saver save_log eval_step wavenet_train add_train_stats save_checkpoint model_test_mode model_train_mode train load_averaged_model mulaw inv_mulaw_quantize _log1p sequence_mask is_mulaw_quantize is_scalar_input is_raw inv_mulaw _sign _abs _asint is_mulaw _assert_valid_input_type mulaw_quantize _asfloat waveplot sample_from_gaussian gaussian_maximum_likelihood_estimation_loss log_sum_exp log_prob_from_logits discretized_mix_logistic_loss sample_from_discretized_mix_logistic WeightNorm CausalConv1D ReluActivation _conv1x1_forward GaussianMaximumLikelihoodEstimation ResidualConv1DGLU Embedding LeakyReluActivation ConvTranspose1D DiscretizedMixtureLogisticLoss Conv1D1x1 MaskedCrossEntropyLoss ConvTranspose2D _expand_global_features WaveNet receptive_field_size maybe_Normalize_weights create_model hparams_debug_string _close_logfile log init _send_slack preprocess norm_data write_metadata main run_preprocess main get_sentences prepare_run synthesize check_time_alignment _limit_time _adjust_time_resolution get_groups _assert_ready_for_upsample main _ensure_divisible run read_seq save_seq main train prepare_run main preprocess write_metadata run_preprocess _mel_to_linear load_wav _build_mel_basis _linear_to_mel librosa_pad_lr save_wavenet_wav start_and_end_indices get_hop_size _griffin_lim_tensorflow num_frames _mel_to_linear_tensorflow melspectrogram _amp_to_db _istft preemphasis save_wav _db_to_amp_tensorflow _denormalize inv_linear_spectrogram _db_to_amp inv_mel_spectrogram inv_linear_spectrogram_tensorflow _normalize _griffin_lim _denormalize_tensorflow _stft inv_preemphasis _lws_processor pad_lr linearspectrogram trim_silence _process_utterance build_from_path _process_utterance build_from_path Feeder run_eval generate_fast run_live run_synthesis tacotron_synthesize Synthesizer add_embedding_stats time_string add_train_stats model_test_mode model_train_mode train add_eval_stats tacotron_train TacotronGSTCell TacotronDecoderCellState TacotronDecoderCell TacotronEncoderCell LocationSensitiveAttention _compute_attention _location_sensitive_score _smoothing_normalization CustomDecoderOutput CustomDecoder TacoTrainingHelper _teacher_forcing_ratio_decay _go_frames TacoTestHelper CBHG _round_up_tf EncoderRNN STL MaskedLinearLoss MaskedSigmoidCrossEntropy sequence_mask conv2d conv1d ReferenceEncoder StopProjection Postnet Prenet FrameProjection ZoneoutLSTMCell HighwayNet MultiHeadAttention MaskedMSE DecoderRNN EncoderConvolutions shape_list Tacotron split_func create_model lowercase english_cleaners expand_abbreviations collapse_whitespace basic_cleaners convert_to_ascii transliteration_cleaners expand_numbers _parse_cmudict _get_pronunciation CMUDict normalize_numbers _expand_dollars _expand_ordinal _expand_decimal_point _expand_number _remove_commas plot_alignment plot_spectrogram split_title_line text_to_sequence _clean_text _symbols_to_sequence _should_keep_symbol sequence_to_text _arpabet_to_sequence ValueWindow _pad_inputs Feeder _round_up _pad_targets _round_down _ensure_divisible run_synthesis wavenet_synthesize _pad_inputs Synthesizer add_test_stats create_shadow_saver save_log eval_step wavenet_train add_train_stats save_checkpoint model_test_mode model_train_mode train load_averaged_model mulaw inv_mulaw_quantize _log1p sequence_mask is_mulaw_quantize is_scalar_input is_raw inv_mulaw _sign _abs _asint is_mulaw _assert_valid_input_type mulaw_quantize _asfloat waveplot sample_from_gaussian gaussian_maximum_likelihood_estimation_loss log_sum_exp log_prob_from_logits discretized_mix_logistic_loss sample_from_discretized_mix_logistic WeightNorm CausalConv1D ReluActivation _conv1x1_forward GaussianMaximumLikelihoodEstimation ResidualConv1DGLU Embedding LeakyReluActivation ConvTranspose1D DiscretizedMixtureLogisticLoss Conv1D1x1 MaskedCrossEntropyLoss ConvTranspose2D _expand_global_features WaveNet receptive_field_size maybe_Normalize_weights create_model hparams_debug_string _close_logfile log init _send_slack preprocess norm_data write_metadata main run_preprocess main get_sentences prepare_run synthesize check_time_alignment _limit_time _adjust_time_resolution get_groups _assert_ready_for_upsample main _ensure_divisible run read_seq save_seq main train prepare_run main preprocess write_metadata run_preprocess _mel_to_linear load_wav _build_mel_basis _linear_to_mel librosa_pad_lr save_wavenet_wav start_and_end_indices get_hop_size _griffin_lim_tensorflow num_frames _mel_to_linear_tensorflow melspectrogram _amp_to_db _istft preemphasis save_wav _db_to_amp_tensorflow _denormalize inv_linear_spectrogram _db_to_amp inv_mel_spectrogram inv_linear_spectrogram_tensorflow _normalize _griffin_lim _denormalize_tensorflow _stft inv_preemphasis _lws_processor pad_lr linearspectrogram trim_silence _process_utterance build_from_path _process_utterance build_from_path Feeder run_eval generate_fast run_live run_synthesis tacotron_synthesize Synthesizer add_embedding_stats time_string add_train_stats model_test_mode model_train_mode train add_eval_stats tacotron_train TacotronGSTCell TacotronDecoderCellState TacotronDecoderCell TacotronEncoderCell LocationSensitiveAttention _compute_attention _location_sensitive_score _smoothing_normalization CustomDecoderOutput CustomDecoder TacoTrainingHelper _teacher_forcing_ratio_decay _go_frames TacoTestHelper CBHG _round_up_tf EncoderRNN STL MaskedLinearLoss MaskedSigmoidCrossEntropy sequence_mask conv2d conv1d ReferenceEncoder StopProjection Postnet Prenet FrameProjection ZoneoutLSTMCell HighwayNet MultiHeadAttention MaskedMSE DecoderRNN EncoderConvolutions shape_list Tacotron split_func create_model lowercase english_cleaners expand_abbreviations collapse_whitespace basic_cleaners convert_to_ascii transliteration_cleaners expand_numbers _parse_cmudict _get_pronunciation CMUDict normalize_numbers _expand_dollars _expand_ordinal _expand_decimal_point _expand_number _remove_commas plot_alignment plot_spectrogram split_title_line text_to_sequence _clean_text _symbols_to_sequence _should_keep_symbol sequence_to_text _arpabet_to_sequence ValueWindow _pad_inputs Feeder _round_up _pad_targets _round_down _ensure_divisible run_synthesis wavenet_synthesize _pad_inputs Synthesizer add_test_stats create_shadow_saver save_log eval_step wavenet_train add_train_stats save_checkpoint model_test_mode model_train_mode train load_averaged_model mulaw inv_mulaw_quantize _log1p sequence_mask is_mulaw_quantize is_scalar_input is_raw inv_mulaw _sign _abs _asint is_mulaw _assert_valid_input_type mulaw_quantize _asfloat waveplot sample_from_gaussian gaussian_maximum_likelihood_estimation_loss log_sum_exp log_prob_from_logits discretized_mix_logistic_loss sample_from_discretized_mix_logistic WeightNorm CausalConv1D ReluActivation _conv1x1_forward GaussianMaximumLikelihoodEstimation ResidualConv1DGLU Embedding LeakyReluActivation ConvTranspose1D DiscretizedMixtureLogisticLoss Conv1D1x1 MaskedCrossEntropyLoss ConvTranspose2D _expand_global_features WaveNet receptive_field_size maybe_Normalize_weights create_model hparams_debug_string _close_logfile log init _send_slack preprocess norm_data write_metadata main run_preprocess main get_sentences prepare_run synthesize check_time_alignment _limit_time _adjust_time_resolution get_groups _assert_ready_for_upsample main _ensure_divisible run read_seq save_seq main train prepare_run main preprocess write_metadata run_preprocess _mel_to_linear load_wav _build_mel_basis _linear_to_mel librosa_pad_lr save_wavenet_wav start_and_end_indices get_hop_size _griffin_lim_tensorflow num_frames _mel_to_linear_tensorflow melspectrogram _amp_to_db _istft preemphasis save_wav _db_to_amp_tensorflow _denormalize inv_linear_spectrogram _db_to_amp inv_mel_spectrogram inv_linear_spectrogram_tensorflow _normalize _griffin_lim _denormalize_tensorflow _stft inv_preemphasis _lws_processor pad_lr linearspectrogram trim_silence _process_utterance build_from_path _process_utterance build_from_path Feeder run_eval generate_fast run_live run_synthesis tacotron_synthesize Synthesizer add_embedding_stats time_string add_train_stats model_test_mode model_train_mode train add_eval_stats tacotron_train TacotronGSTCell TacotronDecoderCellState TacotronDecoderCell TacotronEncoderCell LocationSensitiveAttention _compute_attention _location_sensitive_score _smoothing_normalization CustomDecoderOutput CustomDecoder TacoTrainingHelper _teacher_forcing_ratio_decay _go_frames TacoTestHelper CBHG _round_up_tf EncoderRNN STL MaskedLinearLoss MaskedSigmoidCrossEntropy sequence_mask conv2d conv1d ReferenceEncoder StopProjection Postnet Prenet FrameProjection ZoneoutLSTMCell HighwayNet MultiHeadAttention MaskedMSE DecoderRNN EncoderConvolutions shape_list Tacotron split_func create_model lowercase english_cleaners expand_abbreviations collapse_whitespace basic_cleaners convert_to_ascii transliteration_cleaners expand_numbers _parse_cmudict _get_pronunciation CMUDict normalize_numbers _expand_dollars _expand_ordinal _expand_decimal_point _expand_number _remove_commas plot_alignment plot_spectrogram split_title_line text_to_sequence _clean_text _symbols_to_sequence _should_keep_symbol sequence_to_text _arpabet_to_sequence ValueWindow _pad_inputs Feeder _round_up _pad_targets _round_down _ensure_divisible run_synthesis wavenet_synthesize _pad_inputs Synthesizer add_test_stats create_shadow_saver save_log eval_step wavenet_train add_train_stats save_checkpoint model_test_mode model_train_mode train load_averaged_model mulaw inv_mulaw_quantize _log1p sequence_mask is_mulaw_quantize is_scalar_input is_raw inv_mulaw _sign _abs _asint is_mulaw _assert_valid_input_type mulaw_quantize _asfloat waveplot sample_from_gaussian gaussian_maximum_likelihood_estimation_loss log_sum_exp log_prob_from_logits discretized_mix_logistic_loss sample_from_discretized_mix_logistic WeightNorm CausalConv1D ReluActivation _conv1x1_forward GaussianMaximumLikelihoodEstimation ResidualConv1DGLU Embedding LeakyReluActivation ConvTranspose1D DiscretizedMixtureLogisticLoss Conv1D1x1 MaskedCrossEntropyLoss ConvTranspose2D _expand_global_features WaveNet receptive_field_size maybe_Normalize_weights create_model list values _close_logfile format write open print start write close encode Request urlopen add_header join n_jobs build_from_path write_metadata makedirs format print sample_rate sum max len language join reader print base_dir startswith voice preprocess output norm_data hparams parse print add_argument ArgumentParser parse_args run_preprocess join hparams parse checkpoint sentences format wavenet_synthesize sleep reset_default_graph tacotron_synthesize log synthesize wavenet_synthesize warn get_sentences tacotron_synthesize prepare_run load train_with_GTA join base_dir get_hop_size randint append trim_silence _ensure_divisible _assert_ready_for_upsample len _adjust_time_resolution _limit_time check_time_alignment tqdm run isfile tf_log_level str format base_dir init slack_url makedirs read_seq join save_seq wavenet_train tacotron_train sleep output_dir reset_default_graph tacotron_synthesize log wavenet_input wavenet_train train tacotron_train join base_dir input_dir int16 write astype write_wav size range int sample_rate frame_shift_ms hop_size preemphasis _stft signal_normalization preemphasize _amp_to_db ref_level_db abs magnitude_power preemphasis _stft _linear_to_mel signal_normalization preemphasize _amp_to_db ref_level_db abs T _denormalize run_lws _lws_processor astype float32 signal_normalization _db_to_amp ref_level_db power use_lws _mel_to_linear T _denormalize run_lws _lws_processor astype float32 signal_normalization _db_to_amp ref_level_db power use_lws complex exp griffin_lim_iters angle _stft rand astype pi _istft range use_lws num_frames len _build_mel_basis pinv _build_mel_basis pinv _build_mel_basis exp log min_level_db symmetric_mels allow_clipping_in_normalization symmetric_mels allow_clipping_in_normalization _db_to_amp_tensorflow _denormalize_tensorflow signal_normalization pow ref_level_db magnitude_power symmetric_mels allow_clipping_in_normalization glob join ProcessPoolExecutor load_wav rescale librosa_pad_lr save silence_threshold max start_and_end_indices use_lws mulaw is_mulaw_quantize get_hop_size pad int16 n_fft format replace quantize_channels astype is_mulaw join T float32 pad_lr mulaw_quantize trim_silence input_type rescaling_max len submit partial replace append listdir rescale_max synthesize load hparams_debug_string Synthesizer generate_fast eval input log load join format hparams_debug_string Synthesizer log makedirs load join format hparams_debug_string Synthesizer input_dir log makedirs format run_live model_checkpoint_path output_dir log visualize_embeddings ProjectorConfig zip add append add_summary Summary Value model set_random_seed tacotron_random_seed ValueWindow Saver model_train_mode predict_linear format hparams_debug_string replace base_dir model_test_mode ConfigProto Variable tacotron_input Coordinator tacotron_train_steps makedirs squeeze concat attention_mechanism matmul attention_layer expand_dims values dtype get_variable convert_to_tensor cosine_decay tacotron_teacher_forcing_start_decay less cond mod shape cond zeros equal convert_to_tensor reduce_max _round_up_tf ones sequence_mask outputs_per_step sequence_mask outputs_per_step int sequence_mask ones sample_rate reduce_sum abs outputs_per_step num_freq convert_to_tensor as_list shape append range len append range sub collapse_whitespace lowercase convert_to_ascii collapse_whitespace convert_to_ascii expand_abbreviations collapse_whitespace expand_numbers append _get_pronunciation sub split split group split int group sub split xlabel add_subplot ylabel colorbar tight_layout close imshow title savefig figure split_title_line set_title text add_subplot tight_layout colorbar close imshow savefig figure rot90 split_title_line append match group len cleaner getattr sorted mels_dir format model_checkpoint_path run_synthesis output_dir log Summary add_summary variables list dict zip restore add_test_stats join time format sample_rate wavfile_write waveplot _hparams run log len join write_wav format waveplot log run save create_shadow_saver wavenet_random_seed wavenet_train_steps _assert_valid_input_type _assert_valid_input_type _assert_valid_input_type mulaw _asfloat ndarray isscalar isinstance ndarray isscalar isinstance ndarray isscalar isinstance ndarray isscalar isinstance ndarray isscalar isinstance subplot set_title sample_rate close tight_layout savefig figure Normal exp maximum log_prob sample Normal exp maximum get_shape reduce_max len get_shape reduce_max len exp softplus ones log_softmax transpose maximum where sigmoid log exp one_hot transpose maximum reduce_sum shape random_uniform argmax log one_hot sequence_mask ones float32 discretized_mix_logistic_loss sequence_mask ones float32 sequence_mask gaussian_maximum_likelihood_estimation_loss reshape tile shape input_type is_mulaw_quantize
# Taco_Collection <br/> **Tacotron-2论文**:https://arxiv.org/pdf/1712.05884.pdf **官方代码**:https://github.com/Rayhane-mamah/Tacotron-2 **pytorch民间代码**:https://github.com/NVIDIA/tacotron2 **多说话人代码**:https://github.com/GSByeon/multi-speaker-tacotron-tensorflow <br/> ### 数据集 [LJSpeech](https://keithito.com/LJ-Speech-Dataset/) [VCTK](https://datashare.is.ed.ac.uk/handle/10283/2651)
1,348
alshedivat/keras-gp
['gaussian processes', 'autonomous driving']
['Thoughts on Massively Scalable Gaussian Processes', 'Learning Scalable Deep Kernels with Recurrent Structure']
tests/test_models.py kgp/backend/engines.py tests/utils/test_assemble.py kgp/models.py tests/backend/test_gpml.py kgp/utils/experiment.py tests/datasets/test_data_utils.py examples/msgp_mlp_kin40k.py examples/lstm_actuator.py kgp/datasets/quandl_ustycr.py kgp/datasets/kin40k.py kgp/losses.py examples/msgp_sm_kernel_mlp_kin40k.py kgp/utils/assemble.py kgp/datasets/data_utils.py kgp/datasets/sysid.py examples/msgp_lstm_actuator.py kgp/datasets/gef2012_wind.py kgp/datasets/gef2012_power.py examples/gp_lstm_actuator.py kgp/layers.py tests/test_callbacks.py examples/mlp_kin40k.py kgp/backend/gpml.py kgp/tweaks.py kgp/callbacks.py kgp/datasets/car.py kgp/backend/__init__.py setup.py kgp/__init__.py kgp/metrics.py examples/msgp_lstm_actuator_manual_grid.py read main main main assemble_mlp standardize_data main main main assemble_mlp standardize_data main assemble_mlp standardize_data initCovSM UpdateGP elapsed_timer Timer GP gen_gp_loss root_mean_squared_error mean_squared_error root_mean_squared_error Model _on_batch_end _fit_loop predict Engine MATLABEngine OctaveEngine GPML ecef2geodetic ecef2enu load_data construct_lanes standardize_data data_to_seq load_data load_data load_data load_data load_data maybe_download assemble assemble_gpnarx assemble_rnn load_NN_configs assemble_gprnn assemble_narx load_GP_configs train test_update_gp test_timer build_model test_compile build_model test_predict test_evaluate test_finetune test_fit test_get_dlik_dx test_update_grid configure test_train test_grad_checks test_update_data test_predict test_evaluate test_data_to_seq test_assemble_gprnn test_assemble_gplstm test_assemble_gru test_assemble_gpnarx test_assemble_lstm test_assemble_gpgru test_assemble_narx test_assemble_rnn int list assemble finetune print reshape load_NN_configs predict RMSE data_to_seq load_data load_GP_configs train compile len mean std Input load_weights assemble_mlp standardize_data GP isfile randn ones rand maximum abs log default_timer _make_batches on_epoch_end arange set_model _slice_arrays on_train_begin f _check_num_samples on_batch_end range stop_training CallbackList _batch_shuffle on_batch_begin shuffle zip _test_loop enumerate set_params isinstance print callback_model History on_train_end on_epoch_begin len _feed_input_shapes _standardize_input_data stateful _feed_input_names _make_predict_function predict_function get items list join int format basename ecef2enu values print slice endswith File close logical_and nan construct_lanes append fillna flush len hstack vstack cos ecef2geodetic sin tan arctan2 cos copy sin hypot items list asarray vstack append zeros range len write mean arange reshape hstack vstack sum load get read_pickle as_matrix to_pickle makedirs join remove urlretrieve print rename makedirs getcwd warn loadmat maybe_download update join format print copy update join format print copy deserialize Input prod Layer NARX assemble_narx inputs deserialize Input prod Layer RNN assemble_rnn inputs makedirs write warn load_weights isfile flush fit Model Input normal on_epoch_begin on_epoch_end RandomState set_model arange build_model on_batch_begin UpdateGP compile on_epoch_end on_batch_begin Timer on_batch_end on_epoch_begin compile build_model normal RandomState build_model compile fit normal finetune RandomState build_model compile normal RandomState evaluate build_model compile normal RandomState build_model compile predict GP_BACKEND normal configure RandomState update_data eval GP_BACKEND normal configure RandomState update_grid update_data eval GP_BACKEND configure update_grid update_data GP_BACKEND configure update_grid update_data GP_BACKEND normal configure RandomState update_grid update_data train GP_BACKEND normal get_dlik_dx configure RandomState update_grid update_data GP_BACKEND join addpath eval dirname abspath GP_BACKEND reshape data_to_seq assemble range compile assemble compile assemble range compile assemble compile assemble range compile assemble compile assemble range compile assemble compile
Gaussian Processes for Keras ---------------------------- [![Build Status](https://travis-ci.org/alshedivat/keras-gp.svg)](https://travis-ci.org/alshedivat/keras-gp) [![Coverage Status](https://coveralls.io/repos/github/alshedivat/keras-gp/badge.svg)](https://coveralls.io/github/alshedivat/keras-gp) [![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/alshedivat/keras-gp/blob/master/LICENSE) KGP extends [Keras](https://github.com/fchollet/keras/) with Gaussian Process (GP) layers. It allows one to build flexible GP models with kernels structured with [deep](http://jmlr.org/proceedings/papers/v51/wilson16.pdf) and [recurrent](https://arxiv.org/abs/1610.08936) networks built with Keras. The structured part of the model (the neural net) runs on [Theano](http://deeplearning.net/software/theano/) or [Tensorflow](https://www.tensorflow.org/). The GP layers use a custom backend based on [GPML 4.0](http://www.gaussianprocess.org/gpml/code/matlab/doc/) library, and builds on [KISS-GP](http://www.jmlr.org/proceedings/papers/v37/wilson15.pdf) and [extensions](https://arxiv.org/abs/1511.01870). The models can be trained in stages or jointly, using full-batch or semi-stochastic optimization approaches (see [our paper](https://arxiv.org/abs/1610.08936)).
1,349
alshedivat/kgp
['gaussian processes', 'autonomous driving']
['Thoughts on Massively Scalable Gaussian Processes', 'Learning Scalable Deep Kernels with Recurrent Structure']
tests/test_models.py kgp/backend/engines.py tests/utils/test_assemble.py kgp/models.py tests/backend/test_gpml.py kgp/utils/experiment.py tests/datasets/test_data_utils.py examples/msgp_mlp_kin40k.py examples/lstm_actuator.py kgp/datasets/quandl_ustycr.py kgp/datasets/kin40k.py kgp/losses.py examples/msgp_sm_kernel_mlp_kin40k.py kgp/utils/assemble.py kgp/datasets/data_utils.py kgp/datasets/sysid.py examples/msgp_lstm_actuator.py kgp/datasets/gef2012_wind.py kgp/datasets/gef2012_power.py examples/gp_lstm_actuator.py kgp/layers.py tests/test_callbacks.py examples/mlp_kin40k.py kgp/backend/gpml.py kgp/tweaks.py kgp/callbacks.py kgp/datasets/car.py kgp/backend/__init__.py setup.py kgp/__init__.py kgp/metrics.py examples/msgp_lstm_actuator_manual_grid.py read main main main assemble_mlp standardize_data main main main assemble_mlp standardize_data main assemble_mlp standardize_data initCovSM UpdateGP elapsed_timer Timer GP gen_gp_loss root_mean_squared_error mean_squared_error root_mean_squared_error Model _on_batch_end _fit_loop predict Engine MATLABEngine OctaveEngine GPML ecef2geodetic ecef2enu load_data construct_lanes standardize_data data_to_seq load_data load_data load_data load_data load_data maybe_download assemble assemble_gpnarx assemble_rnn load_NN_configs assemble_gprnn assemble_narx load_GP_configs train test_update_gp test_timer build_model test_compile build_model test_predict test_evaluate test_finetune test_fit test_get_dlik_dx test_update_grid configure test_train test_grad_checks test_update_data test_predict test_evaluate test_data_to_seq test_assemble_gprnn test_assemble_gplstm test_assemble_gru test_assemble_gpnarx test_assemble_lstm test_assemble_gpgru test_assemble_narx test_assemble_rnn int list assemble finetune print reshape load_NN_configs predict RMSE data_to_seq load_data load_GP_configs train compile len mean std Input load_weights assemble_mlp standardize_data GP isfile randn ones rand maximum abs log default_timer _make_batches on_epoch_end arange set_model _slice_arrays on_train_begin f _check_num_samples on_batch_end range stop_training CallbackList _batch_shuffle on_batch_begin shuffle zip _test_loop enumerate set_params isinstance print callback_model History on_train_end on_epoch_begin len _feed_input_shapes _standardize_input_data stateful _feed_input_names _make_predict_function predict_function get items list join int format basename ecef2enu values print slice endswith File close logical_and nan construct_lanes append fillna flush len hstack vstack cos ecef2geodetic sin tan arctan2 cos copy sin hypot items list asarray vstack append zeros range len write mean arange reshape hstack vstack sum load get read_pickle as_matrix to_pickle makedirs join remove urlretrieve print rename makedirs getcwd warn loadmat maybe_download update join format print copy update join format print copy deserialize Input prod Layer NARX assemble_narx inputs deserialize Input prod Layer RNN assemble_rnn inputs makedirs write warn load_weights isfile flush fit Model Input normal on_epoch_begin on_epoch_end RandomState set_model arange build_model on_batch_begin UpdateGP compile on_epoch_end on_batch_begin Timer on_batch_end on_epoch_begin compile build_model normal RandomState build_model compile fit normal finetune RandomState build_model compile normal RandomState evaluate build_model compile normal RandomState build_model compile predict GP_BACKEND normal configure RandomState update_data eval GP_BACKEND normal configure RandomState update_grid update_data eval GP_BACKEND configure update_grid update_data GP_BACKEND configure update_grid update_data GP_BACKEND normal configure RandomState update_grid update_data train GP_BACKEND normal get_dlik_dx configure RandomState update_grid update_data GP_BACKEND join addpath eval dirname abspath GP_BACKEND reshape data_to_seq assemble range compile assemble compile assemble range compile assemble compile assemble range compile assemble compile assemble range compile assemble compile
Gaussian Processes for Keras ---------------------------- [![Build Status](https://travis-ci.org/alshedivat/keras-gp.svg)](https://travis-ci.org/alshedivat/keras-gp) [![Coverage Status](https://coveralls.io/repos/github/alshedivat/keras-gp/badge.svg)](https://coveralls.io/github/alshedivat/keras-gp) [![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/alshedivat/keras-gp/blob/master/LICENSE) KGP extends [Keras](https://github.com/fchollet/keras/) with Gaussian Process (GP) layers. It allows one to build flexible GP models with kernels structured with [deep](http://jmlr.org/proceedings/papers/v51/wilson16.pdf) and [recurrent](https://arxiv.org/abs/1610.08936) networks built with Keras. The structured part of the model (the neural net) runs on [Theano](http://deeplearning.net/software/theano/) or [Tensorflow](https://www.tensorflow.org/). The GP layers use a custom backend based on [GPML 4.0](http://www.gaussianprocess.org/gpml/code/matlab/doc/) library, and builds on [KISS-GP](http://www.jmlr.org/proceedings/papers/v37/wilson15.pdf) and [extensions](https://arxiv.org/abs/1511.01870). The models can be trained in stages or jointly, using full-batch or semi-stochastic optimization approaches (see [our paper](https://arxiv.org/abs/1610.08936)).
1,350
alvarorobledo/fyp-foolbox
['adversarial attack']
['Foolbox: A Python toolbox to benchmark the robustness of machine learning models']
foolbox/tests/test_models.py foolbox/tests/test_models_tensorflow_eager.py foolbox/attacks/blended_noise.py foolbox/tests/conftest.py foolbox/models/mxnet.py foolbox/zoo/__init__.py foolbox/zoo/zoo.py foolbox/models/keras.py foolbox/tests/test_attacks_iterative_projected_gradient.py foolbox/tests/test_criteria.py foolbox/attacks/newtonfool.py foolbox/tests/test_attacks_localsearch.py foolbox/__init__.py foolbox/tests/test_attacks_iterative_gradient_sign.py foolbox/models/tensorflow.py foolbox/tests/test_adversarial.py foolbox/attacks/binarization.py foolbox/adversarial.py foolbox/models/theano.py setup.py foolbox/zoo/common.py foolbox/tests/test_models_mxnet_gluon.py foolbox/attacks/spatial.py foolbox/attacks/precomputed.py foolbox/models/lasagne.py foolbox/tests/test_git_cloner.py foolbox/tests/test_model_wrappers.py foolbox/models/mxnet_gluon.py docs/conf.py foolbox/tests/test_models_lasagne.py foolbox/models/caffe.py foolbox/tests/test_attacks_adef_attack.py foolbox/tests/test_attacks_newtonfool.py foolbox/criteria.py foolbox/tests/test_attacks_gradient_sign.py foolbox/gradient_estimators.py foolbox/models/pytorch.py foolbox/attacks/pointwise.py foolbox/tests/test_models_pytorch.py foolbox/tests/test_attacks_iterative_gradient.py foolbox/tests/test_attacks_binarization.py foolbox/attacks/additive_noise.py foolbox/tests/test_model_zoo.py foolbox/tests/test_models_keras.py foolbox/attacks/contrast.py foolbox/attacks/iterative_projected_gradient.py foolbox/tests/test_models_theano.py foolbox/tests/test_attacks_pointwise.py foolbox/tests/test_attacks_deepfool.py foolbox/tests/test_models_caffe.py foolbox/tests/test_attacks_slsqp.py foolbox/attacks/slsqp.py foolbox/distances.py foolbox/tests/test_attacks_boundary.py foolbox/zoo/git_cloner.py foolbox/tests/test_attacks_precomputed.py foolbox/tests/test_attacks.py foolbox/tests/test_attacks_spatial.py foolbox/models/wrappers.py foolbox/attacks/lbfgs.py foolbox/tests/test_models_mxnet.py foolbox/utils.py foolbox/tests/test_models_tensorflow.py foolbox/tests/test_attacks_singlepixel.py foolbox/tests/test_attacks_noise.py foolbox/attacks/iterative_gradient.py foolbox/models/__init__.py foolbox/attacks/saliency.py foolbox/rngs.py foolbox/tests/test_utils.py foolbox/models/tensorflow_eager.py foolbox/tests/test_attacks_approx_lbfgs.py foolbox/tests/test_attacks_lbfgs.py foolbox/attacks/saltandpepper.py foolbox/attacks/adef_attack.py foolbox/tests/test_model_preprocessing.py foolbox/tests/test_attacks_saliency.py foolbox/tests/test_attacks_carlini_wagner.py foolbox/attacks/boundary_attack.py foolbox/tests/test_rngs.py foolbox/attacks/localsearch.py foolbox/attacks/carlini_wagner.py foolbox/zoo/model_loader.py foolbox/tests/test_attacks_gradient.py foolbox/models/base.py foolbox/attacks/blur.py foolbox/attacks/gradient.py foolbox/zoo/weights_fetcher.py foolbox/tests/test_attacks_contrast.py foolbox/attacks/base.py foolbox/tests/test_attacks_blur.py foolbox/tests/test_distances.py foolbox/tests/test_fetch_weights.py foolbox/attacks/__init__.py foolbox/attacks/deepfool.py linkcode_resolve StopAttack Adversarial CombinedCriteria TargetClassProbability TargetClass Misclassification Criterion ConfidentMisclassification TopKMisclassification OriginalClassProbability Linfinity MeanSquaredDistance MeanAbsoluteDistance L0 Distance CoordinateWiseGradientEstimator EvolutionaryStrategiesGradientEstimator set_seeds imagenet_example binarize softmax samples crossentropy onehot_like batch_crossentropy AdditiveNoiseAttack AdditiveGaussianNoiseAttack AdditiveUniformNoiseAttack _transpose_image _create_vec_field _difference_map _compose ADefAttack _re_transpose_image Attack call_decorator BinarizationRefinementAttack BlendedUniformNoiseAttack GaussianBlurAttack BoundaryAttack DummyExecutor AdamOptimizer CarliniWagnerL2Attack ContrastReductionAttack DeepFoolLinfinityAttack DeepFoolAttack DeepFoolL2Attack GradientAttack SingleStepGradientBaseAttack GradientSignAttack IterativeGradientBaseAttack IterativeGradientSignAttack IterativeGradientAttack L2GradientMixin LinfinityClippingMixin L1BasicIterativeAttack RandomStartProjectedGradientDescentAttack L2BasicIterativeAttack ProjectedGradientDescentAttack L1GradientMixin L1DistanceCheckMixin LinfinityBasicIterativeAttack IterativeProjectedGradientBaseAttack L2DistanceCheckMixin LinfinityGradientMixin MomentumIterativeAttack L1ClippingMixin L2ClippingMixin LinfinityDistanceCheckMixin LBFGSAttack ApproximateLBFGSAttack LocalSearchAttack SinglePixelAttack NewtonFoolAttack PointwiseAttack PrecomputedImagesAttack SaliencyMapAttack SaltAndPepperNoiseAttack SLSQPAttack SpatialAttack _create_preprocessing_fn DifferentiableModel Model CaffeModel KerasModel MXNetModel MXNetGluonModel PyTorchModel TensorFlowModel TensorFlowEagerModel ModelWithEstimatedGradients ModelWithoutGradients ModelWrapper CompositeModel DifferentiableModelWrapper test_attack test_attack_gl test_wrong_git_uri _expected_path test_git_clone bn_model_caffe bn_targeted_adversarial bn_label binarized2_bn_adversarial model bn_trivial image bn_criterion bn_adversarial_pytorch bn_targeted_criterion binarized2_bn_model bn_label_pytorch binarized_bn_adversarial gl_bn_model bn_adversarial bn_model_pytorch bn_adversarial_linf gl_bn_adversarial bn_targeted_adversarial_pytorch bn_model bn_impossible_criterion bn_trivial_criterion label eg_bn_model_factory bn_image criterion bn_image_pytorch binarized2_bn_label bn_impossible eg_bn_adversarial binarized_bn_label bn_adversarial_mae binarized_bn_model test_inplace test_adversarial test_base_attack test_base_init test_aliases test_early_stopping test_attack test_targeted_attack test_attack_impossible test_attack_pytorch test_attack_gl test_targeted_attack_pytorch test_attack test_name test_attack_gl test_attack test_attack_fail test_attack_sp test_attack_noinit test_attack2 test_attack_wrong_arg test_attack test_attack_trivial test_attack_gl test_attack test_attack_parameters2 test_attack_convergence test_attack_impossible test_attack_continue test_attack_non_verbose test_attack_gl test_attack_parameters test_attack_parameters3 test_attack_gl test_targeted_attack test_untargeted_attack test_attack_impossible test_attack test_attack_gl test_attack test_targeted_attack test_deepfool_auto_linf test_deepfool_auto_p0 test_attack_impossible test_deepfool_auto_mae test_attack_gl test_subsample test_attack test_attack_eg test_attack_eps test_attack_gl test_attack test_attack_eps test_attack_gl test_attack test_attack_gl test_targeted_attack test_attack_l1 test_attack_impossible test_attack_no_binary_search_and_no_return_early test_attack_gl test_attack_l2 test_attack_linf test_attack test_targeted_attack test_attack_with_init_attack test_attack_pytorch test_attack_gl test_targeted_attack_pytorch test_attack test_targeted_attack test_attack_gl test_attack test_targeted_attack test_attack_gl test_attack test_attack_impossible test_attack_gl test_attack test_attack_impossible test_attack_gl test_attack_continue test_attack_startingpoint test_attack test_unknown_image test_attack test_targeted_attack test_targeted_attack_slow test_targeted_attack_max test_attack_random_targets test_attack test_attack_gl test_attack test_attack_impossible test_attack_gl test_attack test_attack_notrans_norot test_attack_pytorch test_attack_gl test_attack_rnd test_attack_norot test_attack_notrans test_combined_criteria test_abstract_criterion test_misclassfication test_top_k_misclassfication test_original_class_probability test_target_class_probability test_confident_misclassification test_misclassification_names test_base_criterion test_target_class test_mse test_linf test_mae test_l0 test_mean_squared_distance test_str_repr test_base_distance test_mean_absolute_distance test_abstract_distance test_linfinity test_fetch_weights_returns_404 test_fetch_weights_unzipped test_no_uri_given _expected_path _random_body test_fetch_weights_zipped test_differentiable_base_model test_abstract_differentiable_model test_base_model test_abstract_model test_caffe_model test_caffe_backward test_caffe_model_gradient test_caffe_model_preprocessing_shape_change test_keras_backward test_keras_model test_keras_model_preprocess test_keras_model_probs test_keras_model_gradients test_lasagne_model test_lasagne_backward test_lasagne_gradient test_model test_model_gradient test_model_backward test_model test_model_gradient MeanBrightnessNet test_pytorch_backward test_pytorch_model_preprocessing_shape_change test_pytorch_model_gradient test_pytorch_model_preprocessing test_pytorch_model test_pytorch_device test_tensorflow_model test_tensorflow_model_non_diff test_tensorflow_preprocessing test_tf_keras_exception test_tf_keras_constructor test_tensorflow_gradient test_tensorflow_backward test_tensorflow_model_cm test_eager_auto_classes_fail test_eager_model_preprocessing test_eager_model_gradient test_eager_model test_eager_backward test_eager_auto_classes test_theano_backward test_theano_model test_theano_gradient test_preprocessing test_composite_model test_context_manager test_wrapping test_diff_wrapper test_estimate_gradient_wrapper test_non_default_module_throws_error test_loading_model unload_foolbox_model_module test_rng test_samples_cifar10 test_imagenet_example test_samples_fashionMNIST test_samples_imagenet test_onehot_like test_samples_mnist test_binarize test_samples_cifar100 test_crossentropy test_samples_imagenet_channels_first test_softmax test_imagenet_example_channels_first sha256_hash path_exists home_directory_path GitCloneError _clone_repo clone DefaultLoader ModelLoader _extract _filename_from_uri _download fetch_weights get_model find_source seed exp max sum exp max log sum exp max log copy join asarray transpose dirname resize open join int asarray transpose stack dirname resize append listdir array range open zeros_like _transpose_image zeros_like _transpose_image arange interpolation empty_like shape RectBivariateSpline meshgrid range clip _transpose_image shape empty sum gaussian_filter asarray all Attack attack Attack attack _expected_path clone update join encode expanduser hexdigest sha256 join asarray dirname open Mock image array mean_brightness_net float32 placeholder Net PyTorchModel Reduction data join format str SoftmaxWithLoss CaffeModel NetSpec write output Net reduce_1 getattr label Input TEST to_proto contextmanager param seed astype float32 seed astype float32 mean bn_image argmax mean argmax bn_image_pytorch bn_label bn_image contextmanager bn_label bn_criterion bn_image contextmanager bn_label bn_criterion bn_image contextmanager bn_label bn_criterion bn_targeted_criterion bn_image contextmanager bn_label bn_image contextmanager bn_label bn_criterion bn_image bn_label bn_criterion contextmanager eg_bn_model_factory bn_impossible_criterion bn_image contextmanager bn_label bn_trivial_criterion bn_image contextmanager bn_label Adversarial bn_image_pytorch bn_label_pytorch bn_criterion bn_model_pytorch bn_targeted_criterion Adversarial bn_image_pytorch bn_label_pytorch bn_model_pytorch mean_brightness_net float32 placeholder binarized_bn_label bn_image contextmanager bn_criterion mean bn_image argmax binarize mean_brightness_net float32 placeholder bn_image contextmanager binarized2_bn_label bn_criterion mean bn_image argmax binarize seed ones_like Adversarial value set_distance_dtype reset_distance_dtype predictions_and_gradient backward float64 Mock astype float32 gradient uniform batch_predictions predictions attack TestAttack FGSM Adversarial attack FGSM Adversarial value _total_prediction_calls attack Attack attack Attack attack Attack attack Attack attack Attack value original_image BinarizationRefinementAttack GradientAttack image assert_allclose BinarizationRefinementAttack GradientAttack attack BinarizationRefinementAttack attack _model original_class value original_image BinarizationRefinementAttack GradientAttack image attack assert_allclose value original_image BinarizationRefinementAttack GradientAttack image attack assert_allclose BinarizationRefinementAttack GradientAttack attack Attack attack BoundaryAttack BoundaryAttack attack value BlendedUniformNoiseAttack BoundaryAttack attack2 attack1 seed dtype original_image BoundaryAttack astype attack BoundaryAttack attack seed dtype original_image BoundaryAttack astype attack BoundaryAttack BoundaryAttack attack1 BoundaryAttack DeepFoolAttack attack2 Attack attack Attack attack attack DeepFoolAttack DeepFoolAttack DeepFoolAttack Attack attack Attack attack LinfinityBasicIterativeAttack attack Attack attack Attack attack Attack attack Attack attack set_seeds set_seeds set_seeds seed dtype original_image astype Attack attack seed dtype original_image astype Attack attack predictions zeros_like Attack original_image zeros_like Attack attack Attack attack Attack attack Attack attack Attack attack Attack attack Attack attack TestCriterion len is_adversarial Misclassification range array log OriginalClassProbability Misclassification array Misclassification TopKMisclassification array TopKMisclassification TargetClass array range len array OriginalClassProbability TargetClassProbability array range len array range ConfidentMisclassification TestDistance MeanSquaredDistance array MeanAbsoluteDistance array Linfinity array array L0 ones zeros Distance path_exists fetch_weights add _random_body rmtree _expected_path GET path_exists fetch_weights add _random_body rmtree _expected_path GET path_exists add rmtree _expected_path GET urandom BytesIO seek sha256_hash home_directory_path TestModel ones TestModel astype float32 gradient assert_almost_equal predictions Reduction data SoftmaxWithLoss Input seed str reduce_1 TEST to_proto format predictions_and_gradient astype Net _loss_fn label join CaffeModel norm NetSpec write output float32 assert_array_almost_equal backward reshape astype float32 repeat assert_almost_equal Reduction data SoftmaxWithLoss gradient Input predictions seed str transpose reduce_1 TEST to_proto format astype Net batch_predictions label join CaffeModel NetSpec write output float32 assert_array_almost_equal Sequential astype float32 gradient assert_almost_equal predictions seed astype float32 batch_predictions assert_array_almost_equal max seed astype float32 copy batch_predictions assert_array_almost_equal max seed norm predictions_and_gradient astype float32 assert_array_almost_equal array backward reshape Sequential astype float32 repeat assert_almost_equal mean_brightness_net astype float32 gradient LasagneModel assert_almost_equal tensor4 InputLayer predictions seed norm mean_brightness_net predictions_and_gradient astype float32 LasagneModel assert_array_almost_equal tensor4 InputLayer mean_brightness_net backward reshape astype float32 LasagneModel repeat assert_almost_equal tensor4 InputLayer mean_brightness_net Variable astype float32 gradient MXNetModel assert_almost_equal predictions norm mean_brightness_net predictions_and_gradient Variable astype float32 MXNetModel _loss_fn assert_array_almost_equal mean_brightness_net backward Variable reshape astype float32 MXNetModel repeat assert_almost_equal MeanBrightnessNet MXNetGluonModel MeanBrightnessNet MXNetGluonModel astype float32 gradient Net PyTorchModel assert_almost_equal predictions seed astype float32 copy Net batch_predictions PyTorchModel assert_array_almost_equal max seed norm predictions_and_gradient astype float32 Net PyTorchModel _loss_fn assert_array_almost_equal backward reshape astype float32 Net PyTorchModel repeat assert_almost_equal seed transpose astype float32 gradient Net batch_predictions PyTorchModel assert_array_almost_equal predictions _model PyTorchModel Graph Graph Graph Graph Graph Graph from_keras create_model astype float32 global_variables_initializer run from_keras TensorFlowEagerModel astype gradient float32 assert_almost_equal predictions seed TensorFlowEagerModel astype float32 copy batch_predictions assert_array_almost_equal max seed norm predictions_and_gradient TensorFlowEagerModel astype float32 _loss_fn assert_array_almost_equal TensorFlowEagerModel backward reshape astype float32 repeat assert_almost_equal create_model TensorFlowEagerModel mean_brightness_net TheanoModel astype float32 gradient tensor4 assert_almost_equal predictions seed norm mean_brightness_net predictions_and_gradient TheanoModel astype float32 assert_array_almost_equal tensor4 mean_brightness_net backward reshape TheanoModel astype float32 repeat tensor4 assert_almost_equal _create_preprocessing_fn preprocessing copy backward DifferentiableModelWrapper predictions CompositeModel astype float32 predictions_and_gradient predictions set_seeds gradient argmax randn softmax zeros get_model predictions seed randint array softmax softmax crossentropy array range len imagenet_example range imagenet_example samples samples samples samples samples samples array binarize onehot_like array update encode sha256 expanduser _clone_repo home_directory_path sha256_hash info path_exists clone_from info join _download _extract home_directory_path sha256_hash _filename_from_uri info path_exists get makedirs info join extractall makedirs close info ZipFile open get load clone
alvarorobledo/fyp-foolbox
1,351
alzayats/CountSeg-1
['image level supervised instance segmentation', 'instance segmentation', 'semantic segmentation', 'object counting']
['Object Counting and Instance Segmentation with Image-level Supervision']
PRM-pytorch/install/models/__init__.py PRM-pytorch/install/modules/__init__.py Nest-pytorch/install/trainer.py Nest-pytorch/install/hooks.py Nest-pytorch/install/losses.py PRM-pytorch/install/models/fc_resnet.py Nest-pytorch/install/models.py Nest-pytorch/install/meters.py PRM-pytorch/install/prm.py Nest-pytorch/install/datasets.py PRM-pytorch/install/functions/peak_backprop.py Nest-pytorch/install/optimizers.py PRM-pytorch/install/functions/__init__.py PRM-pytorch/install/functions/peak_stimulation.py PRM-pytorch/install/modules/peak_response_mapping.py Nest-pytorch/install/utils.py fetch_data pascal_voc_classification VOC_Classification coco_Classification image_transform coco_classification pascal_voc_object_categories vis_trend interval update_lr print_state checkpoint SmoothL1_loss class_reg_loss96_7_6 cross_entropy_loss class_reg_loss96_7_2 mse_loss2 mse_loss_cos multilabel_soft_margin_loss2 multilabel_soft_margin_loss mse_loss class_reg_loss98_6 topk_meter AverageMeter loss_meter lenet5 torchvision_model adadelta_optimizer sgd_optimizer TqdmHandler adjust_learning_rate save_json network_trainer rle_decode rle_encode finetune peak_response_mapping prm_visualize fc_resnet50 pr_conv2d PreHook PostHook PeakStimulation_ori PeakStimulation_ori_gt peak_stimulation_ori peak_stimulation_ori_gt FC_ResNet Jointable Addedmodule PeakResponseMapping pop tuple isinstance append enumerate str pascal_voc_object_categories save_current_train_ctx is_best eva_metrics epoch_idx abspath save_dir makedirs items list Visdom line isinstance win_exists save join info hook param_groups format enumerate info int loss5 squeeze clone MarginRankingLoss MSELoss multilabel_soft_margin_loss sum cuda loss2 int sum detach_ view loss4 loss5 squeeze loss3 clone MarginRankingLoss MSELoss multilabel_soft_margin_loss float BCEWithLogitsLoss cuda loss2 int sum detach_ view loss4 loss5 squeeze loss3 clone MarginRankingLoss MSELoss multilabel_soft_margin_loss float BCEWithLogitsLoss cuda loss2 squeeze clone MSELoss squeeze clone MSELoss squeeze clone MSELoss squeeze clone SmoothL1Loss squeeze type clone LongTensor clone squeeze clone update size AverageMeter reset item update AverageMeter output accuracy target reset item hasattr param_groups enumerate getLogger run_hooks DataParallel adjust_learning_rate device DEBUG setLevel addHandler len progress_bar process2 epoch_idx save_json dirname load_state_dict append to process Context range state_dict update setFormatter param_groups info manual_seed float optimizer FileHandler load print TqdmHandler Formatter numpy makedirs named_parameters dict iter append fnmatch flatten concatenate b64decode zip uint32 frombuffer zeros resnet50 FC_ResNet PeakResponseMapping rgb2hsv hsv_to_rgb getTextSize min FONT_HERSHEY_SIMPLEX power color_palette zeros center_of_mass max enumerate len padding stride apply dilation conv2d groups detach
# Object Counting and Instance Segmentation with Image-level Supervision, in CVPR 2019 [Paper](https://arxiv.org/abs/1903.02494) [Supp]() [Presentation]() [Poster]() ![block images](https://github.com/GuoleiSun/CountSeg/blob/master/demo/images/block.png) ## Requirements: 1. System: ubuntu 16.04. 2. NVIDIA GPU + CUDA CuDNN 3. Python>=3.6 4. Pytorch version 0.4 5. Jupyter Notebook and ipywidgets 6. Other common packages: numpy, scipy, and so on. Please refer to environment.yml.
1,352
amandaberg/GANanomalyDetection
['anomaly detection']
['Unsupervised Learning of Anomaly Detection from Contaminated Image Data using Simultaneous Encoder Training']
train.py legacy.py dataset_tool.py networks.py util_scripts.py dataset.py tfutil.py misc.py config.py loss.py EasyDict TFRecordDataset parse_tfrecord_tf load_dataset parse_tfrecord_np SyntheticDataset extract create_mnist_anomaly_detection create_svhn ThreadPool create_celebahq TFRecordExporter create_from_images_cellvideos_ratio display create_mnistrgb create_cifar10 create_cifar100 compare WorkerThread create_from_images_cellvideos execute_cmdline create_celeba create_mnist ExceptionInfo create_lsun create_lsun_anomaly_detection create_from_hdf5 create_from_images error export_mnist_anomaly_detection_training_samples create_cifar10_anomaly_detection export_mnist_anomaly_detection_validation_samples ignore_unknown_theano_network LegacyUnpickler patch_theano_gan fp32 D_wgangp_acgan E_wgangp_acgan G_wgan_acgan TeeOutputStream save_image_grid locate_network_pkl format_time save_image init_output_logging random_latents_one_hot setup_text_label OutputLogger load_network_pkl create_result_subdir load_pkl apply_mirror_augment locate_result_subdir set_output_log_file load_dataset_for_previous_run convert_to_pil_image create_image_grid list_network_pkls save_pkl get_id_string_for_network_pkl random_latents adjust_dynamic_range draw_text_label upscale2d leaky_relu get_weight lerp_clip cset apply_bias downscale2d D_paper G_paper conv2d pixel_norm_cluster minibatch_stddev_layer pixel_norm lerp conv2d_downscale2d G_anomaly dense D_anomaly E_clusterGAN upscale2d_conv2d absolute_name_scope TrainingSchedule train_progressive_gan setup_snapshot_image_grid process_reals evaluate_metrics generate_interpolation_video generate_test_image_with_corresponding_z generate_training_video anomaly_detection_encoder generate_fake_images parse_single_example uint8 decode_raw Example ParseFromString value dict join print print exit TFRecordDataset namedWindow init_tf print imshow get_minibatch_np init_uninited_vars TFRecordDataset fromarray join init_tf print transpose save get_minibatch_np init_uninited_vars makedirs TFRecordDataset init_tf print get_minibatch_np init_uninited_vars print reshape pad zeros int join str imwrite print reshape shuffle pad mkdir zeros float enumerate len str join imwrite print reshape pad enumerate int str join imwrite print reshape shuffle pad float enumerate len print reshape pad concatenate print reshape append range int join str imwrite concatenate print reshape shuffle COLOR_RGB2BGR enumerate mkdir append float moveaxis range cvtColor len print reshape array zeros concatenate print append zeros range print join join sorted print error glob update join print error md5 tobytes array open join sorted asarray print error glob open join sorted asarray print error glob open join sorted asarray concatenate print glob error open print add_argument add_command func ArgumentParser parse_args add_subparsers get int pop dict sqrt log2 iter startswith range print tuple get_output_for fp32 get_random_labels_tf random_normal fp32 autosummary get_output_for random_normal reduce_mean abs get_output_for random_normal float32 int list tuple sqrt ceil zeros max range transpose astype adjust_dynamic_range uint8 save convert_to_pil_image save OutputLogger TeeOutputStream set_log_file set_output_log_file int join basename glob print max makedirs int rint join sorted str isdir result_dir glob join sorted glob append locate_result_subdir int list_network_pkls split astype float32 get pop update replace dict sub load_dataset locate_result_subdir array astype float32 setup_text_label array popitem maximum pad make_frame gaussian_filter sqrt constant prod float32 reshape dtype cast get_weight dtype cast get_weight dtype cast get_variable dtype get_weight pad add_n cast dtype get_weight pad add_n cast upscale2d int print block concat identity log2 set_shape cast torgb grow range nf get_variable int fromrgb print block identity grow log2 set_shape cast downscale2d range get_variable int fromrgb print block identity grow log2 set_shape cast downscale2d range get_variable upscale2d int print block identity log2 set_shape cast torgb grow range nf get_variable int fromrgb print block grow log2 set_shape cast downscale2d range get_variable clip shape get_minibatch_np zeros range random_latents_one_hot reset_optimizer_state num_gpus save_image_grid run create_result_subdir get_default_graph load_dataset minibatch setup_weight_histograms desc range TrainingSchedule configure close FileWriter lod save_summaries join time int Optimizer apply_updates print result_dir add_graph print_layers setup_snapshot_image_grid autosummary save_pkl join load_network_pkl result_dir print close float32 save_image_grid get_id_string_for_network_pkl locate_network_pkl create_result_subdir random_latents prod zeros desc range run int join load_network_pkl RandomState input_shape result_dir print rint astype float32 close get_id_string_for_network_pkl locate_network_pkl create_result_subdir write_videofile desc gaussian_filter len locate_network_pkl save run str load_network_pkl transpose create_result_subdir desc imsave RandomState zoom astype enumerate join result_dir print float32 repeat zeros join basename result_dir close create_result_subdir write_videofile desc locate_result_subdir get_metric_names format_time get_metric_formatting clip begin import_obj basename apply_mirror_augment get_minibatch_np append range locate_result_subdir set_output_log_file load_dataset_for_previous_run get reversed class_def tile zip zeros init_uninited_vars enumerate join time int print end min list_network_pkls feed randint str print list_network_pkls reset_default_graph range locate_result_subdir len
# Unsupervised Learning of Anomaly Detection from Contaminated Image Data using Simultaneous Encoder Training This repo contains the source code presented in the ArXiV paper with the same name: A. Berg, J. Ahlberg, and M. Felsberg, Unsupervised Learning of Anomaly Detection from Contaminated Image Data using Simultaneous Encoder Training, https://arxiv.org/abs/1905.11034, (2019) ## About the Code The source code is an altered version of the Tensorflow version of the "Progressive Growing of GANs" code [1]. More information on system requirements, how to import and use pre-trained networks, how to prepare your own datasets etc. can be found here: https://github.com/tkarras/progressive_growing_of_gans ## How to run the code 1) Open config.py 2) Alter the file depending on what you want to do (see below)
1,353
amansinha/neural-bridge
['autonomous driving']
['Scalable End-to-End Autonomous Vehicle Testing via Rare-event Simulation']
envs/car_racing/AttentionAgent/car_racing_variants/car_racing.py envs/car_racing/AttentionAgent/tasks/abc_task.py envs/car_racing/WorldModel/dream_model.py envs/car_racing/AttentionAgent/car_racing_variants/__init__.py envs/car_racing/WorldModel/extract.py envs/car_racing/gpr/kernels.py envs/car_racing/WorldModel/car_racing.py envs/car_racing/AttentionAgent/ZMQUtils.py envs/car_racing/WorldModel/worker.py envs/car_racing/WorldModel/dream_env.py envs/car_racing/WorldModel/train.py envs/car_racing/AttentionAgent/solutions/abc_solution.py envs/car_racing/AttentionAgent/test_solution.py envs/car_racing/AttentionAgent/codegen.py envs/car_racing/WorldModel/runNaive.py envs/car_racing/AttentionAgent/algorithms/cma.py envs/car_racing/AttentionAgent/misc/communication.py envs/car_racing/AttentionAgent/protobuf/roll_out_service_pb2_grpc.py envs/car_racing/AttentionAgent/algorithms/abc_algorithm.py envs/car_racing/AttentionAgent/solutions/torch_solutions.py envs/car_racing/WorldModel/es.py envs/car_racing/WorldModel/series.py envs/car_racing/WorldModel/rnn/rnn.py envs/car_racing/WorldModel/render_model.py envs/car_racing/AttentionAgent/runNaive.py envs/car_racing/AttentionAgent/worker.py envs/car_racing/AttentionAgent/protobuf/roll_out_service_pb2.py envs/rocket/SpacecraftEnv.py envs/car_racing/gpr/gpr.py envs/car_racing/AttentionAgent/car_dynamics.py envs/car_racing/AttentionAgent/tasks/gym_task.py envs/mountaincar/TFMountainCar.py envs/car_racing/WorldModel/render_env.py envs/car_racing/AttentionAgent/car_racing_variants/car_dynamics.py envs/car_racing/AttentionAgent/car_racing.py envs/car_racing/WorldModel/rnn_train.py envs/car_racing/AttentionAgent/misc/utility.py envs/car_racing/AttentionAgent/run_worker.py envs/car_racing/WorldModel/ZMQUtils.py envs/car_racing/WorldModel/env.py envs/car_racing/AttentionAgent/run_master.py envs/car_racing/WorldModel/vae_train.py envs/car_racing/WorldModel/vae/vae.py envs/car_racing/WorldModel/model.py Car key_release FrictionDetector CarRacing key_press _compute_objectives compute_objectives compute_objective main main main main Args_makeStandardParser Args_convertStandard heartbeat cd send_array sink_thread Args_getSockets openSearchSocket recv_array BaseESWorker BaseESMaster EvolutionAlgorithm CMAMaster CMAWorker CMA Car key_release FrictionDetector CarRacing key_press CommunicationHelper log_scores create_task save_scores get_gcs_bucket save_config upload_file_to_gcs create_logger save_logs_to_gcs get_es_worker get_es_master create_shared_noise create_solution SharedNoiseTable RollOutServiceServicer add_RollOutServiceServicer_to_server RollOutServiceStub ParameterSyncServiceServicer ParameterSyncServiceStub add_ParameterSyncServiceServicer_to_server BaseSolution VisionTaskSolution FCStack SelfAttention LSTMStack MLPSolution BaseTorchSolution BaseTask GymTask CarRacingTask TakeCoverTask GaussianProcessRegressor _param_for_white_kernel_in_Sum Kernel RBF Exponentiation RationalQuadratic Product WhiteKernel ExpSineSquared ConstantKernel Matern DotProduct HammingKernel Sum key_release FrictionDetector CarRacing key_press CarRacingDream make_env get_pi_idx passthru make_model relu simulate sigmoid Model softmax sample main clip _process_frame key_release make_env key_press CarRacingWrapper Optimizer compute_weight_decay CMAES Adam compute_ranks SGD SimpleGA compute_centered_ranks BasicSGD OpenES PEPG passthru make_model relu simulate sigmoid Model softmax sample main clip CarRacingWrapper _process_frame make_env passthru make_model relu simulate sigmoid Model softmax sample main clip random_batch default_hps _compute_objectives compute_objectives compute_objective encode_batch load_raw_data_list decode_batch evaluate_batch worker send_packets_to_slaves encode_solution_packets master decode_solution_packet OldSeeder initialize_settings encode_result_packet slave receive_packets_from_slaves sprint mpi_fork Seeder main decode_result_packet count_length_of_filelist create_dataset passthru make_model relu simulate sigmoid Model softmax sample clip Args_makeStandardParser Args_convertStandard heartbeat cd send_array sink_thread Args_getSockets openSearchSocket recv_array rnn_output sample_sequence MDNRNN rnn_output_size default_hps rnn_next_state rnn_init_state get_pi_idx reset_graph ConvVAE compute_obj_grad TFMountainCarEnv compute_obj_grad SpacecraftEnv cdf ascontiguousarray send_array concatenate recv compute_objective recv_array send encode range len config create_logger port run_on_gke RollOutServiceStub result server get_es_master ThreadPoolExecutor sleep append format save_config parse_config_file add_insecure_port start info add_ParameterSyncServiceServicer_to_server start_param_sync_service insecure_channel train add_RollOutServiceServicer_to_server worker_id get_es_worker ParameterSyncServiceStub master_address n_episodes exists seed std model_filename range create_task mean create_solution set_video_dir load join log_dir set_log_dir rmtree roll_out send_array worker_sink_port send source_worker_direct_port asarray recv source_worker_port reshape openSearchSocket recv_array dict send_json SNDMORE memoryview recv frombuffer recv_json recv send PULL str socket bind connect REP PUSH Context PULL str socket int recv send_array bind print range destroy REP recv_array send empty Context add_argument ArgumentParser send str socket Process connect startport sleep append range Context bind start REQ PUSH recv print system num_workers len float64 astype hasattr hasattr isinstance BaseSolution join copy makedirs join basicConfig format setFormatter getLogger addHandler Formatter FileHandler makedirs join set_xlabel to_csv set lineplot savefig clf DataFrame Time read_csv format std size min mean info max format Client info blob format upload_from_filename info join upload_file_to_gcs method_handlers_generic_handler add_generic_rpc_handlers method_handlers_generic_handler add_generic_rpc_handlers items list isinstance print size range seed randint CarRacingDream Model exp max seed print render reset append get_action step range int make_model load_model print init_random_model_params simulate make_env float astype uint8 resize CarRacingWrapper empty arange len astype float32 array str randint encode_obs array savez_compressed str randint decode_obs set_model_params get_random_model_params shape exp randn load join print append range len exp randn reshape encode_mu_logvar astype float decode uint8 astype reshape str make_model PEPG CMAES print SimpleGA OpenES param_count print flush int astype int32 split append round array range len append split array reshape tolist astype append float range len simulate set_model_params mean min int str worker decode_solution_packet make_env Recv Send encode_result_packet append empty Send range Get_size int str sum ones range Recv zeros empty decode_result_packet arange encode_solution_packets send_packets_to_slaves copy receive_packets_from_slaves popsize append range ask sprint set_model_params round max tolist result popsize append evaluate_batch send_packets_to_slaves encode_solution_packets tell mean receive_packets_from_slaves Seeder flush int time min make_env next_batch std set_mu eval_steps master num_worker sigma_init sigma_decay num_worker_trial seed_start Get_size sprint slave initialize_settings num_episode optimizer update argv print copy Get_size check_call Get_rank print range len print zeros range len exp initial_state concatenate randn rand input_seq_width output_seq_width copy get_pi_idx sqrt zeros range run concatenate reset_default_graph close convert_to_tensor set_seed gradient TFMountainCarEnv SpacecraftEnv
# Neural bridge sampling for evaluating safety-critical autonomous systems <b>Coming soon!</b> This is the reference implementation for our paper [arxiv](https://arxiv.org/abs/1811.00145)
1,354
amardt/DeepGenMSM
['time series']
['Deep Generative Markov State Models']
Prinz/deep_ml_0.py Prinz/deep_ed_0.py EarlyStopping Net_G Net_P potential_function Net_P log_sum_exp EarlyStopping potential_function Net_G exp squeeze sum max
# DeepGenMSM Here, we collect the code necessary to reproduce the results of our Project "Deep generative Markov State models for dynamical systems". The folder Prinz contains the code for the 1D four well Prinz potential using PyTorch. The folder AlaDi contains the code for the Alanine Dipeptide molecule and the generation of new structures using Tensorflow.
1,355
amber0309/ANM-MM
['causal inference']
['Causal Inference and Mechanism Clustering of A Mixture of Additive Noise Models']
ANMMM.py GP_z.py test.py GPPOM_HSIC.py kernels.py MLP.py gen_syn.py HSIC.py draw_clu ANMMM_clu ANMMM_cd gen_D gen_each row_permute_independently gen_randD GPPOMC_lnhsic GPLVM_zin_lnhsic GPLVM_z_lnhsic GP_z rbf_dot hsic_gam RBF_full RBF combined polynomial linear MLP reshape axis title scatter figure unique pack GPPOMC_lnhsic learn ll print reshape hsic_gam Z show pack GPPOMC_lnhsic learn ll print reshape KMeans draw_clu Z unique fit_predict len exponential exp randn print rand cos hstack lognormal laplace cbrt sin list permutations shape array range asarray concatenate tolist repmat row_permute_independently append gen_each range append gen_each vstack T exp reshape dot shape tile T ones reshape identity dot sqrt trace rbf_dot tile median sum diag tril
# ANM Mixture Model (ANM-MM) Python implementation of the following paper [Causal Inference and Mechanism Clustering of A Mixture of Additive Noise Models.](http://papers.nips.cc/paper/7767-causal-inference-and-mechanism-clustering-of-a-mixture-of-additive-noise-models) Hu, Shoubo, Zhitang Chen, Vahid Partovi Nia, Laiwan Chan, and Yanhui Geng. *Advances in Neural Information Processing Systems.* (**NeurIPS**) 2018. ## Prerequisites - numpy - scipy - sklearn We test the code using **Anaconda 4.3.30 64-bit for python 2.7** on Windows 10. Any later version should still work perfectly.
1,356
amikey/pytorch-kaldi
['speech recognition', 'noisy speech recognition', 'distant speech recognition']
['The PyTorch-Kaldi Speech Recognition Toolkit']
kaldi_decoding_scripts/utils/nnet/gen_hamm_mat.py kaldi_decoding_scripts/utils/reverse_arpa.py kaldi_decoding_scripts/utils/nnet/gen_splice.py kaldi_decoding_scripts/utils/nnet/gen_dct_mat.py kaldi_decoding_scripts/utils/filt.py kaldi_decoding_scripts/utils/nnet/make_nnet_proto.py kaldi_decoding_scripts/utils/nnet/make_cnn_proto.py tune_hyperparameters.py kaldi_decoding_scripts/utils/nnet/make_lstm_proto.py run_exp.py kaldi_decoding_scripts/utils/nnet/make_blstm_proto.py plot_acc_and_loss.py save_raw_fea.py data_io.py utils.py neural_networks.py core.py kaldi_decoding_scripts/utils/nnet/make_cnn2d_proto.py extract_data_from_shared_list convert_numpy_to_torch run_nn run_nn_refac01 read_next_chunk_into_shared_list_with_subprocess load_counts UnknownMatrixHeader _read_vec_flt_binary open_or_fd _read_mat_ascii read_vec_int_ark context_window_old read_vec_flt_scp UnknownVectorHeader read_cntime_ark load_chunk read_vec_flt_ark write_mat read_cntime UnsupportedDataType write_vec_int BadInputFormat read_post_ark SubprocessFailed write_vec_flt read_vec_int read_mat load_dataset BadSampleSize read_vec_flt read_post_rxspec read_post_scp read_ali_ark read_lab_fea_refac01 _read_vec_flt_riff _read_mat_binary read_key read_cnet_ark _read_compressed_mat read_segments_as_bool_vec read_lab_fea context_window popen read_mat_scp read_post read_mat_ark CNN RNN liGRU SincNet LayerNorm LSTM_cudnn GRU_cudnn channel_averaging SincConv_fast GRU minimalGRU act_fun MLP PASE flip SincConv SRU LSTM RNN_cudnn logMelFb _max_nr_of_parallel_forwarding_processes _is_first_validation _run_forwarding_in_subprocesses nth_replace_string run_command compute_cw_max create_curves run_shell read_args_command_line check_cfg parse_model_field create_lists get_chunks_after_which_to_validate optimizer_init create_block_diagram run_shell_display dump_epoch_results is_sequential export_loss_acc_to_txt split_chunks write_cfg_chunk expand_section_proto get_val_cfg_file_path expand_str_ep create_block_connection get_val_lst_file_path compute_avg_performance check_consistency_with_proto parse_fea_field change_lr_cfg check_field expand_section get_all_archs get_val_info_file_path forward_model terminal_node_detection model_init create_configs parse_lab_field dict_fea_lab_arch is_sequential_dict do_validation_after_chunk _get_val_file_name_base shift check_cfg_fields cfg_item2sec list_fea_lab_arch forward_model_refac01 compute_n_chunks progress fix_filt_step Glorot start Thread join float cuda view _optimization_step load_counts strtobool convert_numpy_to_torch write_mat _prepare_input log _write_info_file list _get_dim_from_data_set len map _read_chunk_specific_config sum range detach extract_data_from_shared_list close _get_batch_size_from_config _get_batch_config read_next_chunk_into_shared_list_with_subprocess forward_model join time _save_model is_sequential_dict _initialize_random_seed shift _update_progress_bar _open_forward_output_files_and_get_file_handles _load_model_and_optimizer numpy split load_counts strtobool open_or_fd zero_grad DataParallel numpy save write_mat round cuda max log seed str list optimizer_init len exit map load_state_dict sum range detach state_dict Thread replace ConfigParser close start manual_seed item float keys model_init forward_model load int read join time backward is_sequential_dict contiguous shift write randint step progress split _read_features_and_labels_with_kaldi _match_feature_and_label_sequence_lengths _chunk_features_and_labels _concatenate_features_and_labels _input_is_wav_file flatten empty range concatenate empty range roll min mean context_window load_dataset std column_stack _reorder_data_set _append_to_shared_list _read_features_and_labels _read_from_config _read_chunk_specific_config update int read list dict_fea_lab_arch ConfigParser is_sequential_dict write exit shuffle load_chunk compute_cw_max keys append column_stack rsplit int seek search popen split open start Popen open decode strip read_vec_int open_or_fd read_key decode remove read open_or_fd close frombuffer array split pack char write open_or_fd encode range len read_vec_flt open_or_fd split read_vec_flt open_or_fd read_key decode remove open_or_fd close array split read frombuffer unpack decode read frombuffer pack char write open_or_fd encode tobytes read_mat open_or_fd split read_mat open_or_fd read_key decode _read_mat_ascii _read_mat_binary open_or_fd decode read reshape startswith frombuffer decode vstack append array split dtype read reshape zeros frombuffer array pack char write open_or_fd encode tobytes print exit startswith open_or_fd read_post split open_or_fd read_post read_key decode read tolist open_or_fd close append frombuffer range read_cntime open_or_fd read_key decode read tolist open_or_fd close frombuffer loadtxt repeat astype size view contiguous strtobool get_chunks_after_which_to_validate _get_nr_of_valid_per_epoch_from_config decode readline print append Popen decode write Popen flush communicate wait Popen int str findall group write exit nth_replace_string split append range compile len read ConfigParser mean append float sum int list write exit map float split append sections read list add_section ConfigParser remove_section set sections append keys range values len ConfigParser read list set list write exit any sections keys read ConfigParser exit check_cfg_fields expand_section open rstrip strtobool values open run_shell str list sorted parse_model_field len exit create_block_diagram append sum range replace check_consistency_with_proto parse_fea_field sections join items parse_lab_field int read write split findall makedirs write sections exit append range len list _partition_chunks append get_chunks_after_which_to_validate _get_nr_of_valid_per_epoch_from_config format _get_val_lst_file_name _get_val_info_file_name _get_val_cfg_file_name strtobool max open str check_cfg list exit log10 ceil append range write_cfg_chunk expand_str_ep get_val_cfg_file_path format get_val_lst_file_path replace close get_all_archs float get_val_info_file_path keys int items do_validation_after_chunk write split compute_n_chunks len __add__ max open seed str sorted list map log10 reverse writelines ceil append split_chunks range format get_val_lst_file_path parse_fea_field close shuffle _get_validation_data_for_chunks _shuffle_forward_data int do_validation_after_chunk cfg_item2sec split len add_section str list sorted remove_section append range replace check_consistency_with_proto ConfigParser glob remove_option sections keys int read join items cfg_item2sec findall len sorted write exit sub append split write exit sub append split glob int sorted format read list replace ConfigParser len write exit findall float range append open list str list index append range len run_shell str read list remove replace create_block_connection ConfigParser findall append list replace strtobool len map cfg_item2sec findall range append split list replace strtobool len map cfg_item2sec findall range append split strtobool list keys strtobool int list max append keys NLLLoss list out_dim strtobool nn_class set eval import_module getattr train cuda list strtobool map SGD Adam RMSprop parameters float keys split list _get_network_output _get_labels_from_input mean _add_input_features_to_outs_dict shape _compute_layer_values float cat len list view float mean shape long bool keys cat len str list int print write close keys log10 ceil max open int write float round flush str asarray ndarray readlines makedirs savetxt split append float range len arange axis str use exit ylabel title savefig legend append export_loss_acc_to_txt range plot readlines clear print loadtxt xlabel write amax len find str read list ConfigParser set keys int write extend exit append float split range with_glorot
# The PyTorch-Kaldi Speech Recognition Toolkit <img src="pytorch-kaldi_logo.png" width="220" img align="left"> PyTorch-Kaldi is an open-source repository for developing state-of-the-art DNN/HMM speech recognition systems. The DNN part is managed by PyTorch, while feature extraction, label computation, and decoding are performed with the Kaldi toolkit. This repository contains the last version of the PyTorch-Kaldi toolkit (PyTorch-Kaldi-v1.0). To take a look into the previous version (PyTorch-Kaldi-v0.1), [click here](https://bitbucket.org/mravanelli/pytorch-kaldi-v0.0/src/master/). If you use this code or part of it, please cite the following paper: *M. Ravanelli, T. Parcollet, Y. Bengio, "The PyTorch-Kaldi Speech Recognition Toolkit", [arXiv](https://arxiv.org/abs/1811.07453)* ``` @inproceedings{pytorch-kaldi, title = {The PyTorch-Kaldi Speech Recognition Toolkit}, author = {M. Ravanelli and T. Parcollet and Y. Bengio},
1,357
amiranas/minerl_imitation_learning
['imitation learning', 'data augmentation']
['Scaling Imitation Learning in Minecraft']
agent.py get_dataset.py minecraft.py dataset.py data_manager.py main.py model.py Agent Data Dataset ActionManager StateManager put_data_into_dataset str2bool rl get_args Env test_policy DummyMinecraft AtariCNN ImpalaResNetCNN Network FixupResNetCNN vector make deepcopy clear append Transition print process_sample state reward current_size load_data action deque range get_trajectory_names enumerate add_argument ArgumentParser c_action_magnitude put_data_into_dataset dataset_max_reward batch_size dueling dataset_use_max_duration_steps dataset_path ActionManager save device open seed str list dataset_only_successful Agent augment_flip Env hidden_size shape test_policy eval_policy_episodes eval_policy trainsteps learning_rate logdir range action SummaryWriter save_dataset_path dump learn nonterminal act DummyMinecraft close test reward manual_seed pin_memory float adam_eps eval_policy_path net load items time make int p_join p_exists add_treechop_data print Transition quit_after_saving_dataset enable_cudnn minecraft_human_data_dir eval_policy_model_id index reset randint train dataset_continuous_action_stacking Dataset StateManager add_scalar seed deepcopy format print last_obs step close mean reset policy append add_scalars flush add_scalar
# Scaling Imitation Learning in Minecraft **[Accompanying technical report link](https://arxiv.org/abs/2007.02701)** Code for imitation learning of the [MineRL](https://minerl.io/) `MineRLObtainDiamond-v0` task. This implementation is an improved version of our submission to the [Minecraft competition on sampleefficient reinforcement learning at NeurIPS 2019](https://www.aicrowd.com/challenges/neurips-2019-minerl-competition). The initial version was able to reach the second place in the competition without using the Minecraft environment during training. A video of one cherry picked episode is available [here](https://youtu.be/ocCJXzNmzHk). The implementation is partly based on [Kaixhin's Pytorch implementation of Rainbow](https://github.com/Kaixhin/Rainbow), and the `deep_resnet` architecture is based on the network architecture used in [unixpickle's Obstacle Tower Challenge solution](https://github.com/unixpickle/obs-tower2). ## Dependencies: **Tested with:** * minerl==0.2.9 * torch==1.2.0
1,358
amirbar/rnn.wgan
['text generation']
['Language Generation with Recurrent Generative Adversarial Networks without Pre-training']
curriculum_training.py model_and_data_serialization.py generate.py single_length_train.py config.py objective.py summaries.py language_helpers.py evaluate.py model.py create_logs_dir RestoreConfig evaluate load_gt cut_end_words preprocess_sample get_gt_grams_cached load_sample replace_trash generate_samples inf_train_gen decode_indices_to_string generate_argmax_samples_and_gt_samples tokenize_string load_dataset NgramLanguageModel get_discriminator get_generator create_initial_states Discriminator_GRU get_noise params_with_name get_train_op Generator_GRU_CL_VL_TH make_noise get_inference_op rnn_step_prediction get_internal_checkpoint_dir load_picklized save_picklized load_dataset load_dataset_from_pkl optimistic_restore loss_d_g get_optimization_ops get_substrings_from_gt define_objective run log_run_settings percentage_startswith get_grams_cached percentage_real log_samples get_grams define_summaries makedirs print percentage_real get_grams load_sample append preprocess_sample close print load_dataset append join tokenize_string tuple get_grams exists save_picklized PICKLE_PATH printable set format print tuple shuffle Counter zfill append most_common range len generate_samples range extend argmax squeeze decode_indices_to_string run append tuple range len range shuffle len append GEN_GRU_LAYERS range reshape concat matmul gather random_uniform append LIMIT_BATCH range rnn_step_prediction reshape softmax matmul one_hot concat matmul range append expand_dims argmax rnn_step_prediction load_picklized mkdir save_picklized load_dataset_from_pkl join get_restore_dir makedirs sorted NewCheckpointReader list restore global_variables print dict Saver zip get_variable_to_shape_map print params_with_name minimize reshape concat gather random_uniform append LIMIT_BATCH range get_discriminator get_generator DISCRIMINATOR_MODEL one_hot Generator get_substrings_from_gt loss_d_g Discriminator GENERATOR_MODEL len square reduce_sum sqrt reduce_mean random_uniform trainable_variables define_objective Variable placeholder Saver int32 load_dataset get_optimization_ops define_summaries merge_all FileWriter scalar sorted list close zip close get_grams exists save_picklized PICKLE_PATH get dict split range len startswith
# Language Generation with Recurrent Generative Adversarial Networks without Pre-training Code for training and evaluation of the model from ["Language Generation with Recurrent Generative Adversarial Networks without Pre-training"](https://arxiv.org/abs/1706.01399). A short summary of the paper is available [here](http://www.shortscience.org/paper?bibtexKey=journals/corr/PressBBBW17#ofirpress). ### Sample outputs (32 chars) ``` " There has been to be a place w On Friday , the stories in Kapac From should be taken to make it He is conference for the first t
1,359
amirgholami/trattack
['adversarial attack']
['Trust Region Based Adversarial Attack on Neural Networks']
train.py trattack_imagenet.py trattack/__init__.py trattack/attack_utils.py trattack_cifar.py utils.py models/resnet.py trattack/attack_methods.py AverageMeter accuracy validate_all main plotting getData ResNet Bottleneck conv3x3 resnet BasicBlock select_index tr_attack_adaptive_iter tr_attack_iter tr_attack tr_attack_adaptive test_acc distance data batch_size tr_attack_iter warn SGD pretrained DataParallel DistributedDataParallel DataLoader ImageFolder distance arch features cuda max seed parse_args tr_attack_adaptive_iter eps format LongTensor init_process_group Compose distributed lr Normalize manual_seed float plotting enumerate join time print parameters validate_all cpu Tensor gpu rot90 subplot sum plotting_path model abs Compose axis colorbar imshow eval title savefig cuda swapaxes figure numpy max eval AverageMeter MNIST Compose SVHN DataLoader ImageFolder Normalize CIFAR10 CIFAR100 data model zero_grad max cuda view append sum range inf size grad eval item norm backward sort min len data deepcopy max view model backward clamp size min zero_grad sign eval sum cuda len select_index deepcopy view model tr_attack eval cuda range data deepcopy max view model backward clamp size min zero_grad sign eval sum cuda len select_index deepcopy view model tr_attack_adaptive eval cuda range len eval norm abs max range len
## Trust Region Adversarial Attack TRAttack is a pytorch library for Trust Region Based Adversarial Attack on neural networks. The library currently supports utility functions to compute adversarial examples for different neural network models. ## Example Usage First execute the following commands: git clone [email protected]:amirgholami/TRAttack.git git submodule update --init After training a neural network, the following command generates adversarial examples and computes the relative adversarial perturbation norm: python trattack_cifar.py --resume cifar10_result/model_params.pkl --test-batch-size 1000 --worst-case 0 --iter 2000 --norm 8 --eps 0.001 --adap For ImageNet, one can also use a pretrained model from pytorch as follows:
1,360
amirhfarzaneh/DisturbLabel-PyTorch
['data augmentation']
['DisturbLabel: Regularizing CNN on the Loss Layer']
utils.py main.py model.py main train DisturbLabel test Net AverageMeter MNIST join SummaryWriter train add_argument SGD test MultiStepLR parameters DataLoader ArgumentParser device parse_args to epochs DisturbLabel range mode model zero_grad dataset argmax to update format size avg item enumerate criterion backward print add_scalar AverageMeter mode step len eval AverageMeter
# DisturbLabel-PyTorch PyTorch implementation of [DisturbLabel: Regularizing CNN on the Loss Layer](https://arxiv.org/abs/1605.00055) [CVPR 2016] ## DisturbLabel introduction: The authors propose adding label noise deliberately to improve the generalization of image classification algorithms. They claim it is the first attempt at regularizing the network at **loss layer**, unlike other methods: Based on Multinoulli distribution, the DisturbLabel algorithm changes a small portion of the mini-batch labels regardless of the ground-truth labels. The noise paramater `alpha` controls the amount of noise. ## Implementation details: - platform details: ``` python = 3.7 pytorch = 1.0.1
1,361
amirmazaheri1990/Visual-Text-Correction
['grammatical error correction']
['Visual Text Correction']
Fixed_Module.py Correction-FullModel.py SpatialAttention LRRLLSTMS vanillaLSTM ConvolutionalDep weightedAverage GLU expand_dims tile print batch_normalization split
amirmazaheri1990/Visual-Text-Correction
1,362
amirmk89/gepc
['anomaly detection']
['Graph Embedded Pose Clustering for Anomaly Detection']
models/graph/pygeoconv.py models/fe/patchmodel.py models/dc_gcae/dc_gcae_training.py utils/optim_utils/schedulers/cosine_annealing_with_warmup.py stc_train_eval.py data/gen_patch_db.py utils/optim_utils/schedulers/delayed_sched.py models/gcae/gcae.py models/graph/st_graph_conv_block.py models/fe/patch_resnet.py models/dc_gcae/clustering_layer.py models/graph/sagc.py models/gcae/gcae_training.py models/graph/graph.py models/fe/fe_model.py utils/clustering.py utils/optim_utils/optim_init.py utils/scoring_utils.py utils/train_utils.py utils/data_utils.py utils/pose_ad_argparse.py models/dc_gcae/dc_gcae.py utils/pose_seg_dataset.py utils/patch_utils.py main save_result_npz get_dataset_and_loader main gen_sing_dataset gen_clip_sing_data_np extract_patches_2lmdb ClusteringLayer DC_GCAE save_checkpoint load_ae_dcec get_ckpt_dir dc_gcae_train get_ckpt_fn calc_curr_p adjust_lr eval_clustering_stop_cret get_ckpt_path get_optimizer get_eval_epochs_iters init_fenet PatchModel resize_final_layer resnet20 ResNet LambdaLayer freeze_patch_fe pt_resnet _weights_init BasicBlock Mish get_act Encoder GCAE Trainer Graph get_hop_distance normalize_digraph PyGeoConv ConvTemporalGraphical SumReduce SAGC GraphConvBR Conv1x1 ConvBlock compute_features Kmeans run_kmeans get_aff_trans_mat apply_pose_transform normalize_pose PoseTransform loads_pyarrow split_pose_to_segments patches_from_db single_pose_dict2np img_from_db is_seg_continuous get_seg_patches get_single_img_patches seg_patches_to_tensor is_single_person_dict_continuous dumps_pyarrow gen_clip_seg_data_np init_stc_args args_rm_prefix create_exp_dirs init_stc_parser init_stc_sub_args keypoints17_to_coco18 PoseSegDataset gen_dataset seg_conf_th_filter score_align calc_p score_dataset dpmm_calc_scores avg_scores_by_trans p_compute_features get_dataset_scores init_clusters calc_reg_loss calc_initial_clusters csv_log_dump get_fn_suffix init_scheduler init_optimizer CosineAnnealingWarmUpRestarts DelayedCosineAnnealingLR DelayerScheduler dc_gcae_train model score_dataset Trainer init_stc_sub_args dpmm_fn device init_scheduler seed defaultdict DC_GCAE init_stc_parser MSELoss dpmm_calc_scores init_fenet init_optimizer ae_sched parse_args to get format init_clusters initial_seed ae_optimizer eval manual_seed get_dataset_and_loader print load_checkpoint load_ae_dcec avg_scores_by_trans num_transform csv_log_dump train int format patch_size PoseSegDataset patch_db DataLoader patch_features int join format savez ckpt_dir keypoints17_to_coco18 join sorted normalize_pose astype float32 gen_clip_sing_data_np append listdir enumerate begin join encode format commit sync isdir print close get_seg_patches put gen_sing_dataset enumerate open dumps_pyarrow append len sorted list single_pose_dict2np append keys join extract_patches_2lmdb join hasattr h_dim isinstance get_patchmodel_dict gcae getattr save load get load_patchmodel_dict DC_GCAE size init_fenet load_state_dict reco_loss_fn zero_grad DataLoader save_checkpoint device log get_optimizer list cls_loss_fn epochs calc_reg_loss lr_decay calc_curr_p append to range format dc_gcae copy alpha item gamma enumerate time backward print tqdm parameters adjust_lr eval_clustering_stop_cret get_ckpt_path step get_eval_epochs_iters lr opt Adam get_ckpt_fn get_ckpt_dir ckpt_dir join makedirs n_clusters format replace strftime param_groups step int modf batch_size update_interval dataset len concatenate tqdm enumerate print astype float32 copy getattr pt_resnet GCAE kaiming_normal_ weight resize_final_layer resnet20 load freeze_patch_fe load_state_dict startswith in_features Linear parameters zeros inf range dot zeros sum range time format concatenate print reshape size eval verbose append enumerate len Clustering int format vector_to_array obj print reshape GpuIndexFlatConfig search GpuIndexFlatL2 shape StandardGpuResources train radians cos matmul eye sin tensor expand_dims ones_like einsum concatenate get mean array abs max view reshape contiguous shape stack join isinstance reshape img_from_db astype stack int32 encode array open int sorted format list split_pose_to_segments concatenate single_pose_dict2np append keys update sorted isinstance reshape stack append keys sorted list min keys len list index intersection range len int sorted reshape astype is_seg_continuous shape append empty range join format concatenate transpose astype float32 stack get_single_img_patches append range loads_pyarrow BytesIO seek convert write loads_pyarrow parse_args init_stc_parser debug args_rm_prefix create_exp_dirs ae_optimizer exp_dir patch_features add_argument ArgumentParser items list Namespace startswith vars print join strftime makedirs get join sorted keypoints17_to_coco18 concatenate normalize_pose astype float32 dict seg_conf_th_filter append listdir gen_clip_seg_data_np array concatenate list sum load join ones_like dump BayesianGaussianMixture calc_p concatenate print ckpt_dir score_samples fit eval DataLoader device p_compute_features to print concatenate format enumerate get_dataset_scores score_align concatenate load join sorted format list amax print min set stack append zeros listdir array values len roc_auc_score gaussian_filter1d zeros_like items list concatenate reshape mean dict get calc_initial_clusters range n_clusters Subset DataLoader Kmeans compute_features cluster list sum norm len conv_oper int join format ckpt_dir len Adam print CosineAnnealingLR CyclicLR partial CosineAnnealingLR
# Graph Embedded Pose Clustering for Anomaly Detection This is the code for ["Graph Embedded Pose Clustering for Anomaly Detection".](https://arxiv.org/abs/1912.11850) ## Prerequisites - Pytoch 1.2.0 - Faiss - Numpy - SciPy - Sklearn - Tqdm - Lmdb
1,363
amnesiack/ICIP2018CDM
['demosaicking']
['Color Image Demosaicking Using a 3-Stage Convolutional Neural Network Structure']
TensorFlow_reimplmentation/model_database.py TensorFlow_reimplmentation/main_py3_tfrecord.py TensorFlow_reimplmentation/model_py3_tfrecord.py TensorFlow_reimplmentation/utils_py3_tfrecord.py main denoiser_test threestage denoiser load_images imcpsnr save_images impsnr glob test_set format test num_gpu use_gpu test_dir print GPUOptions makedirs append reshape open fromarray concatenate squeeze astype save mean squeeze ones squeeze mean log10 range
amnesiack/ICIP2018CDM
1,364
amoretti86/PSVO
['density estimation']
['Importance Weighted Autoencoders']
src/SMC/SVO.py src/transformation/lorenz.py not_used/SMC_dev/AESMCv2.py not_used/SMC_supreme/distribution/poisson.py not_used/SMC_supreme/transformation/lorenz.py src/SMC/IWAE.py not_used/SMC_supreme/transformation/linear.py src/rslts_saving/__init__.py not_used/SMC_LSTM/datetools.py src/distribution/mvn.py src/transformation/flow.py src/SMC/AESMC.py benchmarks/LDS.py src/model.py src/transformation/linear.py not_used/SMC_supreme/rslts_saving/rslts_saving.py not_used/SMC_supreme/runner_flag.py src/SMC/PSVOwR.py src/runner.py src/rslts_saving/datetools.py not_used/SMC_supreme/rslts_saving/__init__.py datetools.py src/distribution/poisson.py src/switching_sampler.py src/utils/__init__.py src/distribution/base.py not_used/SMC_supreme/utils/data_generator.py not_used/SMC_supreme/distribution/mvn.py src/SMC/PSVO.py auto_sh.py not_used/SMC_supreme/switching_sampler.py not_used/SMC_supreme/SMC.py src/trainer.py not_used/encoder.py not_used/SMC_supreme/transformation/base.py not_used/SMC_supreme/model.py src/transformation/fhn.py src/utils/data_generator.py not_used/SMC_supreme/distribution/base.py not_used/SMC_supreme/rslts_saving/lorenz_rslts_saving.py not_used/SMC_supreme/transformation/flow.py src/transformation/__init__.py src/distribution/__init__.py src/rslts_saving/lorenz_rslts_saving.py not_used/SMC_LSTM/VRNN.py not_used/SMC_LSTM/posterior_approx.py not_used/SMC_LSTM/SMC_sampler.py src/transformation/MLP.py not_used/SMC_LSTM/rslts_saving.py not_used/SMC_supreme/transformation/fhn.py src/transformation/base.py not_used/SMC_supreme/distribution/__init__.py not_used/SMC_supreme/utils/data_loader.py src/runner_flag.py src/rslts_saving/fhn_rslts_saving.py not_used/SMC_LSTM/TF_test_LSTM_only_learn_B.py not_used/SMC_supreme/attention.py not_used/SMC_supreme/transformation/__init__.py src/rslts_saving/rslts_saving.py not_used/SMC_supreme/distribution/dirac_delta.py not_used/SMC_supreme/utils/__init__.py not_used/SMC_LSTM/distributions.py not_used/SMC_supreme/trainer.py not_used/SMC_supreme/transformation/MLP.py not_used/SMC_supreme/rslts_saving/fhn_rslts_saving.py src/utils/data_loader.py not_used/flow.py not_used/SMC_supreme/rslts_saving/datetools.py not_used/SMC_LSTM/SMC.py not_used/SMC_dev/FFBSiv2.py src/distribution/dirac_delta.py not_used/SMC_supreme/runner.py addDateTime LDS checkLDS kstep checkMLDS encoder_cell NF AESMCv2 FFBSiv2 addDateTime mvn tf_poisson poisson tf_mvn TensorLaplaceApprox LaplaceApprox GaussianPostApprox TensorGaussianPostApprox plot_training_data plot_losses NumpyEncoder create_RLT_DIR plot_learning_results SMC makePLDS create_train_test_dataset VartiationalRNN PrePostProcessingWrapper LayerNormalization SelfAttention get_position_encoding FeedFowardNetwork AttentionStack Attention SSM main SMC generate_hidden_obs plot_fhn_results plot_lorenz_results create_dataset trainer StopTraining distribution dirac_delta mvn tf_mvn tf_poisson poisson addDateTime plot_fhn_results plot_lorenz_results plot_lorenz_results plot_y_hat save_experiment_param plot_R_square plot_training_data NumpyEncoder plot_log_ZSMC plot_MSEs plot_R_square_epoch create_RLT_DIR plot_fhn_results plot_learning_results transformation tf_fhn_transformation fhn_transformation NF tf_linear_transformation linear_transformation lorenz_transformation tf_lorenz_transformation MLP_transformation generate_hidden_obs generate_dataset load_data SSM main generate_hidden_obs plot_fhn_results plot_lorenz_results create_dataset trainer StopTraining distribution dirac_delta mvn tf_mvn tf_poisson poisson addDateTime plot_fhn_results plot_lorenz_results plot_lorenz_results plot_y_hat save_experiment_param plot_R_square plot_training_data NumpyEncoder plot_log_ZSMC plot_MSEs plot_R_square_epoch create_RLT_DIR plot_fhn_results plot_learning_results AESMC IWAE PSVO PSVOwR SVO transformation tf_fhn_transformation fhn_transformation NF tf_linear_transformation linear_transformation lorenz_transformation tf_lorenz_transformation MLP_transformation generate_hidden_obs generate_dataset load_data str now show KalmanFilter plot randn smooth title figure legend zeros em range show KalmanFilter plot randn smooth dot title figure legend zeros em range T observation_matrices print dot mean transition_matrices append zeros sum range items list makedirs addDateTime format plot xlabel len close title despine savefig figure range makedirs format plot xlabel makedirs close average title despine savefig figure range len show plot despine savefig figure legend len sample zeros range append makePLDS range to_float exp concat log expand_dims float range plot_log_ZSMC isPython2 datadict set_random_seed plot_training_data saving_feed_dict n_test plot_lorenz_results plot_MSEs create_RLT_DIR seed use_input MSE_steps save_experiment_param SSM plot_R_square generate_dataset Di plot_y_hat TFS saving_num trainer print_freq n_train datadir generateTrainingData plot_fhn_results SMC time init_data_saving evaluate print min use_2_q flow_transition q_uses_true_X load_data FLAGS train Dx sample zeros range generate_hidden_obs concatenate uniform zip append sum range format plot xlabel close ylabel title despine savefig figure range makedirs format plot set_xlabel close title set_ylabel savefig figure set_zlabel gca range makedirs mean mean replace print str sorted getattr min min mean legend show arange plot despine savefig figure legend len format plot xlabel len close despine savefig figure legend range makedirs format plot xlabel len close ylim despine savefig figure legend range makedirs format plot xlabel close ylim despine savefig figure legend makedirs list format plot xlabel min makedirs close shape title despine savefig figure range enumerate len mvn generate_hidden_obs lorenz_transformation uniform fhn_transformation linear_transformation dirac_delta eye array range zeros expand_dims PSVO AESMC PSVOwR SVO IWAE
# PSVO: Particle Smoothing Variational Objectives This code provides a reference implementation of the Smoothing Variational Objectives (SVO) algorithms described in the publications: * [Variational Objectives for Markovian Dynamics with Backwards Simulation](https://arxiv.org/abs/1909.09734). \ Moretti, A.\*, Wang, Z.\*, Wu, L.\*, Drori, I., Pe'er, I. \ European Conference on Artificial Intelligence, 2020. * [Particle Smoothing Variational Objectives](https://arxiv.org/abs/1909.09734). \ Moretti, A.\*, Wang, Z.\*, Wu, L.\*, Drori, I., Pe'er, I. \ arXiv preprint, arXiv:1909.097342019. * [Smoothing Nonlinear Variational Objectives with Sequential Monte Carlo](https://openreview.net/pdf?id=HJg24U8tuE). \ Moretti, A.\*, Wang, Z.\*, Wu, L., Pe'er, I. \
1,365
amplab/cyclades
['stochastic optimization']
['CYCLADES: Conflict-free Asynchronous Machine Learning']
data/synthetic_ls/generate_synthetic_matrix.py data/leastsquares_dense/generate_data.py data/nh2010/replicate_n_times.py data/word_embeddings/create_graph_from_corpus.py data/leastsquares/generate_data.py data/movielens/format_movielens_ratings.py data/nh2010/extract_sparse_matrix.py data/synthetic_ls/generate_block_diagonal_synthetic_matrix.py plot_coo_matrix visualize set_aspect list row plot values invert_yaxis set_yticks col add_subplot set_xlim set_visible coo_matrix set_xticks figure set_ylim show coo_matrix plot_coo_matrix
# Cyclades This repository contains code for Cyclades, a general framework for parallelizing stochastic optimization algorithms in a shared memory setting. See https://arxiv.org/abs/1605.09721 for more information. Here we implement SGD, SVRG and SAGA for sparse stochastic gradient descent methods applied to problems including matrix completion, graph eigenvalues, word embeddings and least squares. # Overview Cyclades is a general framework for parallelizing stochastic optimization algorithms in a shared memory setting. By partitioning
1,366
amrutn/Information-in-Language
['generalization bounds']
['Deep Learning and the Information Bottleneck Principle']
Perceptron Networks/net_framework.py Perceptron Networks/Color/Language_Data_Scraper.py Perceptron Networks/Color/Automation.py Neural_Network trickle TrainingHelper Train LanguageData list map append
# Information-in-Language This is a fun little experiment where we are trying to understand the information carried in language! We attempt to measure the information content of various aspects of language by modeling them with a neural net that is optimized for minimal complexity. For more information, see the document, 'Linguistic Leopards Final Report.pdf' where we explain our approach and results in depth. Our most recent work is in a Google Colab folder that uses some of the files in this repository. Our initial toy models came from mathematics. We chose these statements since they are precise and we can easily generate training and validation datasets for them. To get more meaningful results, we will model color naming conventions in different languages/cultures and determine their complexities. Using our technique, we will attempt to recreate the information theoretic aspects of the paper "Efficient compression in color naming and its evolution" by Zaslavsky, Kemp, Regier and Tishby (2018). We might also try to compare the similarities of different color naming conventions by training a minimal complexity network to recognize color naming conventions in multiple languages simultaneously. The difference between the summed network complexity required to model each language individually and the network complexity required to model both simultaneously can act as a measure of how similar two languages are. In addition, we might later model other, more complex, aspects of language such as kinship trees using recurrent neural networks so the network can handle variable length inputs. By looking at the trained weights of the networks, this project could help us understand the most efficient underlying structures for neural representations of language. It could also elucidate how growing up around different languages might change the way a person assigns meaning to phrases. This paper provides a theoretical basis for the complexity of neural networks - http://math.bu.edu/people/mkon/nn30.pdf This paper analyzes deep neural networks using the Information Bottleneck Principle which we can use to verify our methods - https://arxiv.org/pdf/1503.02406.pdf Here is a summary on the Information Bottleneck Principle (the wikipedia article is also informative) - https://www.cs.huji.ac.il/labs/learning/Papers/allerton.pdf Here is a link to the paper on color naming systems - https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6077716/
1,367
anassbellache/TomoGAN
['denoising']
['TomoGAN: Low-Dose Synchrotron X-Ray Tomography with Generative Adversarial Networks']
train.py options/train_options.py options/test_options.py utils/image_utils.py models/loss_functions.py models/gan_model.py options/base_options.py data_processor.py models/unet_parts.py utils/html.py models/base_model.py utils/vizualizer.py get_predictions_batch bkgdGen get1batch4test gen_train_batch_bg eval_metrics BaseModel TomoGAN Discriminator calculate_feature_output_size UNet GANLoss get_scheduler PixelLoss Up OutConv DoubleConv Down BaseOptions TestOptions TrainOptions HTML print_numpy diagnose_network mkdirs mkdir save2image scale2uint8 save_image tensor2im save_images Visualizer randint expand_dims array expand_dims array transpose range concatenate mean sqrt compare_ssim log10 LambdaLR CosineAnnealingLR ReduceLROnPlateau StepLR data isinstance transpose Tensor numpy print parameters fromarray shape BICUBIC save resize print float64 flatten astype mkdir makedirs zeros astype imwrite shape nan_to_num clip join list basename items get_image_dir add_images save2image add_header append numpy
# TomoGAN GAN for image denoisng in tomography applications The network is taken from the paper: TomoGAN: Low-Dose Synchrotron X-Ray Tomography with Generative Adversarial Networks Zhengchun Liu, Tekin Bicer, Rajkumar Kettimuthu, Doga Gursoy, Francesco De Carlo, Ian Foster https://arxiv.org/abs/1902.07582
1,368
anbunathan/WikiHow-Semantic
['text summarization']
['WikiHow: A Large Scale Text Summarization Dataset']
pre-process.py process.py tokenize write_to load join is_parsed append pipe values mkdir to_csv format Path
# WikiHow-Dataset WikiHow: A Large Scale Text Summarization Dataset WikiHow is a new large-scale dataset using the online WikiHow (http://www.wikihow.com/) knowledge base <sup>[*](#footnote1)</sup>. The dataset is introduced in https://arxiv.org/abs/1810.09305. Please refer to the paper for more information regarding the dataset and its properties. Each article consists of multiple paragraphs and each paragraph starts with a sentence summarizing it. By merging the paragraphs to form the article and the paragraph outlines to form the summary, the resulting version of the dataset contains more than 200,000 long-sequence pairs. There are two separate data files containing the articles and their summaries: The wikihowAll.csv file consisting of the concatenation of all paragraphs as the articles and the bold lines as the reference summaries.: |Part|Description| |-------|-------------| |Title|the title of the article as it appears on the WikiHow knowledge base| |Headline|the concatenation of all the bold lines (the summary sentences) of all the paragraphs to serve as the reference summary|
1,369
ancatache/LaRoSeDa
['sentiment analysis', 'word embeddings', 'text categorization']
['Clustering Word Embeddings with Self-Organizing Maps. Application on LaRoSeDa -- A Large Romanian Sentiment Data Set']
boswe/boswe_bert.py load_data_set.py utils/split_data.py boswe/boswe.py boswe/boswe_utils.py Review load_data_set load_reviews_from_path cluster_sofm concatenate_dicts word2vec_model_from_input write_histo shuffle_all_sentences cluster_kmeans shuffle_dict transform_data training preprocess_content_bert compute_vectors_bert load_reviews_for_bert write_labels preprocess_content extract_vectors_from_words compute_word_to_vec load_reviews create_histogram_one_voc read_and_split merge_and_shuffle load int Review close open list print load_reviews_from_path values len print fit_predict print SOFM train print train Word2Vec print divide sqrt append power get_vector sum array ones array range len str sub write index write index items enumerate seed list keys shuffle append seed shuffle load_reviews_from_path preprocess_content list translate lower append values split extract_vectors_from_words list keys word2vec_model_from_input cluster_sofm cluster_kmeans argmax range len convert_tokens_to_ids squeeze stack numpy permute append tensor sum tokenize enumerate len load_reviews_from_path concatenate_dicts preprocess_content_bert list strip translate compute_vectors_bert append keys values split items divide sqrt append power sum array enumerate print train_test_split shuffle
# LaRoSeDa - A Large Romanian Sentiment Data Set ## License Agreement **Copyright (C) 2021 - Anca Maria Tache, Mihaela Gaman, Radu Tudor Ionescu** This work is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-nc-sa/4.0/). You are free to **share** (copy and redistribute the material in any medium or format) and **adapt** (remix, transform, and build upon the material) under the following terms: - **Attribution** — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. - **NonCommercial** — You may not use the material for commercial purposes. - **ShareAlike** — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original. - **No additional restrictions** — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. ## Citation
1,370
andfoy/query-objseg
['instance segmentation', 'semantic segmentation']
['Dynamic Multimodal Instance Segmentation guided by natural language queries']
dmn_pytorch/models/dpn/__init__.py dmn_pytorch/visdom_display.py dmn_pytorch/train.py dmn_pytorch/utils/misc_utils.py dmn_pytorch/models/dpn/adaptive_avgmax_pool.py dmn_pytorch/models/tests/test_dmn.py dmn_pytorch/__init__.py dmn_pytorch/models/dpn/model_factory.py dmn_pytorch/utils/word_utils.py setup.py dmn_pytorch/utils/__init__.py dmn_pytorch/utils/losses.py dmn_pytorch/models/__init__.py dmn_pytorch/models/dmn.py dmn_pytorch/referit_loader.py dmn_pytorch/models/dpn/dpn_model.py dmn_pytorch/utils/transforms.py get_description get_version ReferDataset DatasetNotFoundError train compute_mask_IU evaluate visualization BaseDMN DMN UpsamplingModule AdaptiveAvgMaxPool2d adaptive_avgmax_pool2d pooling_factor dpn68b DPN DualPathBlock InputBlock dpn68 dpn98 CatBnAct BnActConv2d dpn131 dpn107 dpn92 get_transforms_eval create_model vgg16 LeNormalize dmn_fixture_lowres test_dmn_forward_lowres loader_fixture IoULoss reporthook VisdomWrapper ToNumpy ResizeAnnotation ResizePad CropResize ResizeImage Dictionary Corpus AverageMeter join strip literal_eval map startswith split save_folder zero_grad save dataset cuda squeeze len plot_line state_dict update format size avg net enumerate join time backward Variable print AverageMeter reset accum_iters step split sum data max cuda str squeeze tolist plot_line range format compute_mask_IU float net enumerate int time Variable print tqdm sigmoid zeros train numpy len num_images cuda target_transform list squeeze iter untokenize_word_vector append next range format size eval net join Variable print clone sigmoid images numpy print max_pool2d avg_pool2d cat load_url DPN load_state_dict load_url DPN load_state_dict load_url DPN load_state_dict load_url DPN load_state_dict load_url DPN load_state_dict load_url DPN load_state_dict Sequential Conv2d load_url load_state_dict vgg state_dict net_definition int floor Normalize LeNormalize join Compose ReferDataset BaseDMN unsqueeze cuda range int time min write flush
# dmn-pytorch [![License](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/992bf5adf488489d8ea55998895793c7)](https://www.codacy.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=andfoy/query-objseg&amp;utm_campaign=Badge_Grade) <!-- [![Build Status](http://157.253.243.11/job/query-objseg/job/master/badge/icon)](http://157.253.243.11/job/query-objseg/job/master/) --> PyTorch code for [Dynamic Multimodal Instance Segmentation guided by natural language queries](http://openaccess.thecvf.com/content_ECCV_2018/papers/Edgar_Margffoy-Tuay_Dynamic_Multimodal_Instance_ECCV_2018_paper.pdf), ECCV 2018. [Project Page](https://biomedicalcomputervision.uniandes.edu.co/index.php/research?id=19) | ![horses](./examples/horses.png) | |:--:| | *A dark horse between three lighter horses* |
1,371
andohuman/RebarCounting
['object counting']
['Where are the Blobs: Counting by Localization with Point Supervision']
LCFCNloss.py train.py models.py predict.py datagen_pytorch.py utils.py DataGenerator compute_image_loss lc_loss get_blob_dict compute_split_loss compute_fp_loss watersplit BaseModel Resnet _tqdm visualize_dots GraphVisualization t2n augmenter compute_image_loss model log_softmax size squeeze astype get_blob_dict float range t2n softmax train sum cuda watersplit view binary_cross_entropy size float cuda cat ones t2n squeeze watersplit astype arange astype copy black_tophat sum watershed squeeze delete where unique range enumerate visualize_dots get_arr_int SegmentationMapOnImage augment_image to_deterministic str join imwrite squeeze waitKey destroyWindow where imshow choices zip ascii_uppercase digits circle Tensor numpy isinstance
# RebarCounting A computer vision deep learning model to automatically count the number of rebars, based on https://arxiv.org/abs/1807.09856 ## Installation First clone the repository. Run ``` git clone https://github.com/andohuman/RebarCounting.git ``` Since the repository also contains some large files (weights) you might additionally want to run ``` git lfs install
1,372
andre-dietrich/SelectScript
['information retrieval']
['Reasoning in complex environments with the SelectScript declarative language']
SelectScript/SelectExprParser.py examples/if_print.py SelectScript/SelectScript.py examples/towers_of_hanoi.py SelectScript/__init__.py setup.py SelectScript/SelectExprLexer.py examples/4_color_problem.py SelectScript/Interpreter.py get move all_simple_paths Interpreter main SelectExprLexer main SelectExprParser SelectScript main compile append pop successors neighbors add set predecessors iter range version_str_to_tuple unpack execute LexerMain version_str_to_tuple property unpack frozenset ParserMain version_str_to_tuple unpack frozenset SelectScript prettyPrint print compile
# SelectScript | Author | André Dietrich | | ----------- | ---------------------------------------------------------------------------------------- | | Source | `git clone` https://gitlab.com/andre-dietrich/SelectScript.git | | Email | <mailto:[email protected]> | | Publication | 1. SelectScript: A query language for robotic world models and simulations | | | http://eos.cs.ovgu.de/wp-content/uploads/2015/06/SelectScript-A-Query-Language-for-Robotic-World-Models-and-Simulations.pdf | | | 2. Reasoning in complex environments with the SelectScript declarative language | | | http://arxiv.org/pdf/1508.04159v1.pdf | | Slides | 1. http://eos.cs.ovgu.de/wp-content/uploads/2015/06/ICRA2015-presentation-slides.pdf |
1,373
andre-dietrich/SelectScript_ODE
['information retrieval']
['Reasoning in complex environments with the SelectScript declarative language']
SelectScript_ODE/examples/4_collisions_AS_sound.py SelectScript_ODE/examples/1_simple_queries.py SelectScript_ODE/examples/3_callback_interaction.py setup.py SelectScript_ODE/__init__.py SelectScript_ODE/functions.py SelectScript_ODE/examples/0_chaos_example.py SelectScript_ODE/examples/2_callback_logging.py SelectScript_ODE/examples/5_new_views.py SelectScript_ODE/Interpreter.py read Sode_collision Sode_velocity Sode_posY Sode_hasBody Sode_position Sode_unique Sode_isTransform Sode_volume Sode_mass Sode_isCCylinder Sode_LinearVel Sode_posX Sode_rotation Sode_isEnabled Sode_isCapsule Sode_isTriMesh Sode_isHeightfield Sode_type Sode_isCylinder Sode_isGeom Sode_isBox Sode_isPlane Sode_isRay Sode_distance Sode_isSpace Sode_quaternion Sode_torque Sode_quantum Sode_isSphere Sode_posZ Sode_aabb Sode_gravityMode Sode_identifer Sode_force Sode_obj Interpreter wait my_ode_sim average logInfo color my_ode_sim callbackPush color my_ode_sim log my_ode_sim matrix isinstance isinstance isinstance isinstance isinstance enumerate isinstance isinstance isinstance isinstance isinstance isinstance isinstance Sode_position isinstance isinstance isinstance Sode_hasBody __str__ getMass find Sode_isCylinder getRadius Sode_isBox Sode_isSphere getParams getLengths print range sleep subplot plot xlabel grid draw ylabel subplots_adjust bar clf legend append remove range isinstance count addForce getBody subplot xlabel draw ylabel colorbar imshow title clf abs
# SelectScript_ODE | Author | André Dietrich | | ----------- | ---------------------------------------------------------------------------------------- | | Source | `git clone` https://gitlab.com/andre-dietrich/SelectScript_ODE.git | | Email | <mailto:[email protected]> | | Publication | 1. SelectScript: A query language for robotic world models and simulations | | | http://eos.cs.ovgu.de/wp-content/uploads/2015/06/SelectScript-A-Query-Language-for-Robotic-World-Models-and-Simulations.pdf | | | 2. Reasoning in complex environments with the SelectScript declarative language | | | http://arxiv.org/pdf/1508.04159v1.pdf | | Slides | 1. http://eos.cs.ovgu.de/wp-content/uploads/2015/06/ICRA2015-presentation-slides.pdf |
1,374
andrea-pilzer/unsup-stereo-depthGAN
['depth estimation', 'monocular depth estimation']
['Unsupervised Adversarial Depth Estimation using Cycled Generative Networks']
monodepth_dataloader.py average_gradients.py utils/evaluation_utils.py utils/evaluate_kitti.py model_stereo_depthGAN.py ops.py module.py utils.py bilinear_sampler.py main.py average_gradients bilinear_sampler_1d_h main count_text_lines train test stereo_depthGAN_Model mae_criterion string_length_tf MonodepthDataloader lrelu batch_norm linear conv2d deconv2d instance_norm sce_criterion mae_criterion abs_criterion 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 readlines close open trainable_variables checkpoint_path filenames_file plasma Saver MonodepthDataloader save dataset Session run str restore squeeze log_directory disp_out imsave start_queue_runners format cmap latest_checkpoint right_image_batch mkdir Normalize ConfigProto zeros local_variables_initializer norm Variable count_text_lines print data_path Coordinator output_directory model_name global_variables_initializer left_image_batch mode test train monodepth_parameters maximum mean sqrt abs log astype float32 zfill append imread range shape resize append range len readlines close open str 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
# Unsupervised Adversarial Depth Estimation using Cycled Generative Networks The code for "Unsupervised Adversarial Depth Estimation using Cycled Generative Networks" in 3DV2018 Paper link: https://arxiv.org/pdf/1807.10915.pdf By Andrea Pilzer, Dan Xu, Mihai Puscas, Elisa Ricci, Nicu Sebe <p align="center"> <img src="framework.jpg" width="800"/> </p> # Content The experiments are performed on a HPC server with Python 3.6 and Tensorflow 1.10. ## 1. Training and testing
1,375
andreabac3/Bot-Gender-Profiling-Pan2019
['gender prediction']
['Bot and Gender Detection of Twitter Accounts Using Distortion and LSA']
GenderIdentification/en/get_feature.py BotDetection/en/main_neural.py BotDetection/es/classifier.py BotDetection/en/get_feature.py BotDetection/es/get_feature.py BotDetection/pre_processing.py BotDetection/en/main.py GenderIdentification/pre_processing.py GenderIdentification/en/classifier.py GenderIdentification/es/main.py GenderIdentification/en/main.py GenderIdentification/es/get_feature.py GenderIdentification/es/classifier.py BotDetection/es/main.py general_utility.py BotDetection/en/classifier.py print_accuracy print_plot plot_confusion_matrix list_distortion targetFeatureSplit featureFormat processXML2 processXML distortion processXML3 buildDataset voting_ensamble_model SVM train_neural_net bot_neural_net adaboost distortionVectorizer PCA SVM distortionVectorizer PCA processXML buildDataset SupportVectorMachine truncated_SVD TFIDF SupportVectorMachine TFIDF LSA print accuracy_score classification_report show list plot print xlabel ylabel title savefig legend keys arange xticks yticks show list ylabel colorbar imshow title trace savefig range format product astype tight_layout get_cmap xlabel text confusion_matrix figure len join replace update text stem SnowballStemmer TfidfVectorizer split sub getroot polarity_scores SentimentIntensityAnalyzer iter fit_transform append count update cosine_similarity text stem SnowballStemmer mean TfidfVectorizer sub getroot polarity_scores SentimentIntensityAnalyzer iter sum fit_transform append split update transform TweetTokenizer insert text len SnowballStemmer TfidfVectorizer sub getroot polarity_scores SentimentIntensityAnalyzer iter tokenize range append fit_transform sep append load sorted list isinstance array append float keys open CalibratedClassifierCV VotingClassifier SVC fit Sequential add Dense summary compile Dropout fit transform fit list_distortion TfidfVectorizer fit_transform transform SVC fit load print SnowballStemmer WordNetLemmatizer disable_pipes prefer_gpu len count SVC TfidfVectorizer toarray fit_transform TruncatedSVD transform fit_transform TruncatedSVD
# 🤖 Bot and Gender Detection of Twitter Accounts Using Distortion and LSA [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![License: GPL v3](https://img.shields.io/badge/-Sapienza%20University%20of%20Rome-red)](https://www.gnu.org/licenses/gpl-3.0) # Citation To cite this work please use: ``` @article{bacciu2019bot, title={Bot and Gender Detection of Twitter Accounts Using Distortion and LSA}, author={Bacciu, Andrea and La Morgia, Massimo and Mei, Alessandro and Nemmi, Eugenio Nerio and Neri, Valerio and Stefa, Julinda}, year={2019}
1,376
andreas-eberle/x-mars
['person re identification']
['Pose-Driven Deep Models for Person Re-Identification']
x_mars_creator.py get_mars_track_for_filename write_x_mars_tracks_train get_unique_market_labels get_mars_label_for_filename write_x_mars_tracks_test create_x_mars main get_unique_mars_labels get_mars_cam_for_filename set join get_mars_track_for_filename glob print write_x_mars_tracks_train get_unique_market_labels extend get_mars_label_for_filename write_x_mars_tracks_test intersection append union get_unique_mars_labels get_mars_cam_for_filename market print add_argument output mars create_x_mars rmtree ArgumentParser parse_args exists makedirs
# X-MARS Reordering of the MARS Dataset for Image to Video Evaluation This repository provides the X-MARS training and test splits based on the [MARS dataset](http://www.liangzheng.com.cn/Project/project_mars.html). Details on the X-MARS dataset can be found in my [masters thesis](https://arxiv.org/pdf/1803.08709.pdf). If you use this work in your research, please kindly cite my thesis as ``` @article{DBLP:journals/corr/abs-1803-08709, author = {Andreas Eberle}, title = {Pose-Driven Deep Models for Person Re-Identification}, journal = {CoRR}, volume = {abs/1803.08709}, year = {2018},
1,377
andreser09/segan
['speech enhancement']
['SEGAN: Speech Enhancement Generative Adversarial Network']
discriminator.py make_tfrecords.py generator.py ops.py bnorm.py main.py split.py data_loader.py model.py VBN pre_emph de_emph read_and_decode discriminator AEGenerator Generator pre_emph_test main _int64_feature encoder_proc read_and_slice _bytes_feature slice_signal main Model SEAE SEGAN leakyrelu minmax_normalize minmax_denormalize tensor_summary prelu repeat_elements average_gradients batch_to_time atrous_conv1d nn_deconv conv1d conv2d gaussian_noise_layer highway time_to_batch deconv downconv histogram_summary sample_random_walk audio_summary residual_block variables_on_gpu0 scalar_summary reshape concat zeros range read TFRecordReader decode_raw float32 pre_emph set_shape int32 cast parse_single_example as_list int expand_dims pre_emph float32 placeholder seed print save_path name append synthesis_path ConfigProto makedirs int list zip append range read slice_signal join write SerializeToString tostring Example read_and_slice zip split join unlink out_file splitext random_normal zeros range reshape randn scalar histogram audio xavier_initializer expand_dims format _linear f sigmoid range as_list get_shape xavier_initializer as_list print as_list split conv1d repeat_elements xavier_initializer get_shape expand_dims get_variable concat reduce_mean zip append expand_dims
## Notes to run this repository Since there are some bugs to run the original SEGAN due to the tensorflow version used I've added these notes to ease the process and also share some tips to improve the results. The easiest way that I found to train SEGAN from scratch was using tensorflow's docker images, mainly because of problems with CUDA and cudnn. First pull the docker image: docker pull tensorflow/tensorflow:1.4.1-gpu Must have installed nvidia-docker in your computer Inside the container clone this repository. Install the libraries in the requirements.txt Authorize reading/writing for prepare\_data.sh and train\_segan.sh chmod 755 prepare_data.sh train_segan.sh
1,378
andresperezlopez/DCASE2019_task3
['sound event localization and detection']
['A hybrid parametric-deep learning approach for sound event localization and detection']
seld_dcase2019_master/metrics/evaluation_metrics.py seld_dcase2019_master/misc_files/check_dataset_distribution.py seld_dcase2019_master/batch_feature_extraction.py seld_dcase2019_master/cls_feature_class.py preprocess_metadata_files.py classif/eval.py seld_dcase2019_master/calculate_SELD_metrics.py seld_dcase2019_master/keras_model.py file_utils.py process_doa_results.py visualize_output.py seld_dcase2019_master/parameter.py seld_dcase2019_master/seld.py doa_methods.py utils.py classif/data.py compute_doa_metrics.py seld_dcase2019_master/cls_data_generator.py classif/architectures.py classif/classify.py classif/utils_classif.py compute_doa.py parameters.py seld_dcase2019_master/misc_files/visualize_SELD_output.py classif/feat_ext.py seld_dcase2019_master/misc_files/test_SELD_metrics.py get_nb_files compute_DOA_metrics preprocess group_events estimate_doa assign_metadata_result_classes_from_groundtruth write_metadata_result_file build_metadata_result_array_from_event_dict write_output_result_file build_result_dict_from_metadata_array get_params ambisonic_coefs rad2deg deg2rad HybridKMeans beamforming discard_nans dummy_classifier circmedian HybridKmeans_implementation visualize_output get_model_crnn_seld_tagger get_one_hot PatchGeneratorPerFile mixup get_label_files DataGeneratorPatch avg_precision Evaluator get_accuracy get_spectrogram get_mel_spectrogram modify_file_variable_length get_normalized_audio load_audio_file get_shape get_feature_size_per_file save_tensor save_shape load_tensor get_num_instances_per_file make_sure_isdir get_nb_files DataGenerator FeatureClass create_folder get_model get_params main collect_test_labels plot_functions er_overall_framewise compute_doa_scores_clas reshape_3Dto2D distance_between_spherical_coordinates_rad SELDMetrics distance_between_cartesian_coordinates compute_doa_scores_regr compute_seld_metrics_from_output_format_dict load_output_format_file distance_between_gt_pred description_file_to_output_format output_format_dict_to_classification_labels er_overall_1sec sph2cart regression_label_format_to_output_format compute_seld_metric compute_sed_scores write_output_format_file f1_overall_framewise cart2sph f1_overall_1sec classification_label_format_to_output_format description_file_to_regression_label_format description_file_to_classification_label_format collect_classwise_data plot_func append int compute_doa_scores get_nb_frames SELDMetrics read_desc_file update_sed_scores max list basename load_output_format_file get_nb_files get_azi_ele_list output_format_dict_to_classification_labels update_doa_scores format replace compute_seld_metric compute_sed_scores FeatureClass enumerate join get_classes print sort reset get_clas_labels_for_file len int T plot_magnitude_spectrogram Signal limit_bands ceil median warn roll flatten floor circstd max show compute_ita_re f get_num_time_bins apply_mask shape discard_nans append circmedian range compute_threshold_local compute_energy_density plot_doa preprocess stack nan fill get_num_frequency_bins float empty compute_DOA enumerate int sample_rate Stft t zeros compute_mask distance_between_spherical_coordinates_rad grid deg2rad rad2deg warn axhline circstd show list build_metadata_result_array_from_event_dict scatter legend append circmedian range asarray keys enumerate pop items T build_result_dict_from_metadata_array suptitle sort cluster_centers_ figure median std fit int list format sort write close float round keys open format write close open items list asarray append median circmedian int floor ceil float range join write_metadata_result_file distance_between_spherical_coordinates_rad len deg2rad copy append float abs range enumerate items list format print exit dict argmin sum delete pi sqrt cos sin ambisonic_coefs asarray ones deg2rad zeros float range show join load_output_format_file basename get_classes suptitle print GridSpec read_desc_file description_file_to_output_format figure FeatureClass collect_classwise_data len get set_image_data_format Model Input enumerate int arange to_categorical empty len permutation get_one_hot zeros_like beta range zeros range load_tensor len enumerate get read T resample print ones reshape get_normalized_audio ceil int tile len mean abs max get hamming T get_spectrogram reshape dot log10 append mel empty range shape save_shape tofile replace fromfile get_shape replace reshape get_shape join replace float get_shape join replace join makedirs print format makedirs Model summary Input compile enumerate int print zeros format generate subplot list plot grid close savefig figure legend range len reshape_3Dto2D get_nb_frames pi plot_functions save compute_doa_scores_regr get_default_elevation load_model predict_generator append get_filelist range format replace regression_label_format_to_output_format DataGenerator nb_frames_1s fit_generator compute_seld_metric compute_sed_scores write_output_format_file get_params zeros get_frame_per_file enumerate join get_data_sizes time create_folder collect_test_labels print get_nb_classes get_model len float sum sum int ceil zeros max range int range max zeros er_overall_1sec f1_overall_1sec int astype float sum enumerate int T get_matrix_index distance_between_gt_pred pi float sum array range distance_between_spherical_coordinates_rad linear_sum_assignment zeros sum array arccos cos pi sin abs clip sqrt arcsin pi cos sin sqrt arctan2 mean nb_frames_1s compute_doa_scores_clas compute_seld_metric output_format_dict_to_classification_labels compute_sed_scores max list get_classes get_nb_frames get_azi_ele_list zeros keys clip len get_classes where append range len get_matrix_index where append sum range len append int range enumerate int close open append split int list format write close keys open get_labels_for_file get_clas_labels_for_file append list keys list plot grid tick_params xlim keys
## A HYBRID PARAMETRIC-DEEP LEARNING APPROACH FOR SOUND EVENT LOCALIZATION AND DETECTION This repository contains the code corresponding to the following paper. If you use this code or part of it, please cite: > Andres Perez-Lopez, Eduardo Fonseca, Xavier Serra, "A Hybrid Parametric-Deep Learning Approach for Sound Event Localization and Detection", Submitted to DCASE2019 Challenge. Introduction ----------------- The method implemented represents a novel approach for the Sound Event Localization and Detection (SELD) task, which is Task 3 of DCASE2019 Challenge. We use the TAU Spatial Sound Events 2019 - Ambisonic dataset, which provides First-Order Ambisonic (FOA) recordings. For more details about the task setup and dataset, please check the corresponding [DCASE website](dcase.community/challenge2019/task-sound-event-localization-and-detection). The method implemented is based on four systems: DOA estimation, association, beamforming and classification, as shown in the following Figure. In turn, the three former systems are conceptually grouped into the so called _frontend_, while the classification conforms the _backend_. <p align="center">
1,379
andyreagan/sentiment-analysis-comparison
['sentiment analysis']
['Benchmarking sentiment analysis methods for large-scale texts: A case for using continuum-scored words and word shift graphs']
list_ipython_session.py VACC/qsub.py analyzeAll.py twitter-shift-quick.py scatterplot.py twitter_timeseries_day_local plot_twitter_timeseries twitter_timeseries_all pickleNYT twitter_timeseries_day testDualShift twitter_addyears loadTwitter make_twitter_wordvecs_full_res make_movie_review_plots reviewTest loadMovieReviewsBoth loadMovieReviews twitter_timeseries twitter_timeseries_week combine_word_lists twitter_shiftyears gbook_timeseries plot_gbook_timeseries loadGBooks sampleReviewsDict loadtxt loadTweetsDynamic loadNYT twitter_addyears_local plot_twitter_correlations make_twitter_wordvecs_day scatter_integer_integer_3 scatterReplyHorizontal f scatter_full_integer_3 makeShiftPlotsFullInteger histogram_WK_LabMT makeShiftPlotsFullFull make_shift_plots_all scatter_full_full scatterall3 read format sorted list print dictify_general close len dict array range open read dictify_general close dict open load format print strftime dict timedelta open load join list format print wordVecify corpus write close strftime timedelta enumerate open load join list format print wordVecify corpus write close strftime timedelta enumerate open twitter_timeseries_day_local format print append enumerate wordlist open list corpus len map strftime title range format close timedelta datetime join print write isfile zeros array split join twitter_timeseries_day_local format list wordlist write close timedelta title open zeros range datetime len list format stopper print wordlist close map shiftHtml title split open zeros array range scorelist len wordlist scorelist open list corpus len map strftime append sum stopper format close timedelta write dot isfile zeros array split wordlist scorelist open list corpus len map strftime append sum stopper format close timedelta write dot isfile zeros array split hour wordlist minute round scorelist open list weekday corpus len map strftime sum stopper format close timedelta enumerate int total_seconds print dot isfile zeros array split hour wordlist minute round scorelist open list corpus len map strftime sum stopper format close timedelta enumerate int total_seconds print dot isfile zeros array split load str sorted format list print len array range open load str sorted format list print len array range open read format dump print dictify_general close dict open load str sorted format list print len array range pickleNYT open stdin str sorted format list print dict array range len writer read format score writerow dictify_general close len choice dict range open logspace mysavefig open list set_title tick_right set_xlabel log10 legend range format errorbar plot set_xticklabels set_xlim close add_axes mean set_label_position float reader print text dict hist set_ylabel figure set_xticks zeros len print format sampleReviewsDict enumerate wordlist scorelist open sorted list wordVecify corpus len map strftime shiftHtml append sum stopper format replace close datetime enumerate load join print write dot isfile zeros array split arange set_yticklabels mysavefig tick_top pearsonr max sorted set_xlabel transpose colorbar legend range format plot set_xticklabels add_axes mean gbook_timeseries invert_yaxis rc min set_yticks set_ylabel set_xticks figure pcolor zeros array len append loadMovieReviewsBoth stopper shiftHtmlDual wordVecify combine_word_lists len LIWC WK Liu zeros ANEW enumerate MPQA LabMT mysavefig max open list set_xlabel corpus len map Liu legend range format plot close add_axes LIWC mean lower WK ANEW LabMT print rc min set_ylabel figure array MPQA split arange set_yticklabels mysavefig tick_top pearsonr open list transpose corpus map colorbar append range format pcolor set_xticklabels close set add_axes enumerate print invert_yaxis set_yticks set_xticks figure split zeros array len print makeShiftPlotsFullFull makeShiftPlotsFullInteger range len open run list sorted title pprint append range format close RealData sqrt zip items ODR print write beta zeros len items list format wordVecify shiftHtmlSelf title dictify fixedscores zip append fixedwords range len tabletex_file_to_pdf linspace max run open list sorted pprint scatter title legend append range format plot set_xlim close RealData sqrt zip items ODR print set_yticks min write set_xticks beta zeros set_ylim len items list plot tick_right print set_xlabel set_xlim set_xticks set_ylabel histogram legend append len items list format print tabletile pdftile set_xlim set_yticks hist set_xticks set_ticks_position mash zip append max range set_ylim len pdftile linspace max write_table open list sorted title append range invert_xaxis format set_xlim close zip items datastructure print tabletile set_yticks write hist set_xticks set_ylim len data scatter_full_integer_3 mysavefig list scatter_integer_integer_3 set_xlabel histogram_WK_LabMT title scatter_full_full range format set_xlim add_axes score_range join datastructure print text set_yticks invert_yaxis dict set_xticks set_ylabel figure set_ylim len data mysavefig list set_xlabel title scatter_full_full range format set_xlim add_axes join print set_yticks dict set_xticks set_ylabel figure set_ylim len
# sentiment-analysis-comparison
1,380
aneeshan95/Cross-modal_Hierarchy_FGSBIR
['sketch based image retrieval', 'image retrieval']
['Cross-Modal Hierarchical Modelling for Fine-Grained Sketch Based Image Retrieval']
Main Code/loss.py Few Baselines/B-Siamese/Net_Basic_V1.py Few Baselines/SketchBERT_Variant/dataset_chairv2.py Few Baselines/SketchFormer_Variant/main_4head_2layer.py Few Baselines/B-Siamese/dataset_chairv2.py Few Baselines/SketchBERT_Variant/evaluate_chairv2.py Few Baselines/B-Siamese/evaluate_chairv2.py Few Baselines/B-Siamese/main_chairv2.py Few Baselines/SketchFormer_Variant/evaluate_chairv2.py Few Baselines/B-Localised_Co-attn/render_sketch_chairv2.py Few Baselines/SketchBERT_Variant/Net_Basic_V1_4h_2l.py Main Code/evaluate_chairv2.py Few Baselines/SketchBERT_Variant/main_4head_2layer.py Main Code/dataset_chairv2.py Main Code/render_sketch_chairv2.py Few Baselines/B-Localised_Co-attn/main_chairv2.py Few Baselines/SketchFormer_Variant/Net_Basic_V1_4h_2l.py Few Baselines/B-Localised_Co-attn/dataset_chairv2.py Few Baselines/B-Localised_Co-attn/util_bbox.py Few Baselines/B-Localised_Co-attn/Net_Basic_V1.py Main Code/Net_Basic_V1.py Few Baselines/B-Localised_Co-attn/evaluate_chairv2.py Few Baselines/SketchFormer_Variant/dataset_chairv2.py Few Baselines/B-Siamese/render_sketch_chairv2.py Few Baselines/SketchFormer_Variant/render_sketch_chairv2.py Main Code/main_chairv2.py Main Code/util_bbox.py Few Baselines/SketchBERT_Variant/render_sketch_chairv2.py get_ransform CreateDataset_Sketchy Evaluate_chairv2 main_train Net_Basic TripletLoss redraw_Quick2RGB mydrawPNG Preprocess_QuickDraw_redraw sketch2box isClose giveImg bounder boxFinder box_area image_box norm_it image_boxes give_json_boxes treeBuilder inside get_ransform CreateDataset_Sketchy Evaluate_chairv2 get_n_params main_train Net_Basic redraw_Quick2RGB mydrawPNG Preprocess_QuickDraw_redraw get_ransform CreateDataset_Sketchy Evaluate_chairv2 main_train Vector_embedding2 _get_clones Joint_embdedding Vector_embedding Net_Basic TransformerEncoderUS PositionalEncoding redraw_Quick2RGB mydrawPNG Preprocess_QuickDraw_redraw get_ransform CreateDataset_Sketchy Evaluate_chairv2 main_train Vector_embedding2 _get_clones Joint_embdedding Vector_embedding Net_Basic TransformerEncoderUS PositionalEncoding redraw_Quick2RGB mydrawPNG Preprocess_QuickDraw_redraw get_ransform CreateDataset_Sketchy Evaluate_chairv2 words_loss masked_softmax func_attention cosine_similarity convert_to_one_hot st_gumbel_softmax greedy_select main_train get_n_params Net_Basic TripletLoss redraw_Quick2RGB mydrawPNG Preprocess_QuickDraw_redraw sketch2box isClose giveImg bounder boxFinder box_area image_box norm_it image_boxes give_json_boxes treeBuilder inside extend Train pairwise_distance DataLoader unsqueeze ArgumentParser append parse_args sum format eval stack enumerate join time CAMP_Interact print CreateDataset_Sketchy extend index Tensor numpy Test len zero_grad DataLoader save Train Adam load_state_dict to range state_dict format enumerate load time backward load_earlier print CreateDataset_Sketchy parameters Net_Basic niter train step int list bresenham min extend append zeros max range binary_dilation len float round astype array mydrawPNG Preprocess_QuickDraw_redraw remove isClose insert where append label imread range enumerate copy image_box truetype Draw text min copy rectangle image_box clone enumerate range cat inside bounder append truetype Draw text new min rectangle tensor give_json_boxes treeBuilder model to range cat size list parameters model Triplet_Criterion model_image model_sketch Vector_embedding model_image list model_sketch Joint_embdedding Hierarchy_Implcit norm sum exp_ unsqueeze cuda log view transpose permute append sum range cat concatenate size func_attention ByteTensor masked_fill_ stack contiguous cosine_similarity len bmm size view contiguous float sum softmax uniform_ float masked_softmax detach size unsqueeze scatter_ convert_to_one_hot masked_softmax
# [Cross-modal Hierarchical Modelling for FGSBIR](https://aneeshan95.github.io/Cross-modal_Hierarchy_FGSBIR/) #### [Paper](https://arxiv.org/pdf/2007.15103.pdf) accepted for Oral presentation in BMVC 2020. # Abstract Sketch as an image search query is an ideal alternative to text in capturing the finegrained visual details. Prior successes on fine-grained sketch-based image retrieval (FGSBIR) have demonstrated the importance of tackling the unique traits of sketches as opposed to photos, e.g., temporal vs. static, strokes vs. pixels, and abstract vs. pixelperfect. In this paper, we study a further trait of sketches that has been overlooked to date, that is, they are hierarchical in terms of the levels of detail – a person typically sketches up to various extents of detail to depict an object. This hierarchical structure is often visually distinct. In this paper, we design a novel network that is capable of cultivating sketch-specific hierarchies and exploiting them to match sketch with photo at corresponding hierarchical levels. In particular, features from a sketch and a photo are enriched using cross-modal co-attention, coupled with hierarchical node fusion at every level to form a better embedding space to conduct retrieval. Experiments on common benchmarks show our method to outperform state-of-the-arts by a significant margin. # Illustration ![](./Images/opening.jpg) Left half shows different hierarchical levels of detail in a free-hand sketch (illustrative purpose only), while the right half illustrates our overall idea of cross-modal hierarchical modelling. # Framework ![](./Images/framework.jpg)
1,381
anfelopera/spatfGPs
['gaussian processes', 'time series']
['Multioutput Gaussian Processes with Functional Data: A Study on Coastal Flood Hazard Assessment']
GPflow/GPflow-develop/gpflow/expectations/products.py GPflow/GPflow-develop/gpflow/expectations/mean_functions.py GPflow/GPflow-develop/gpflow/conditionals/mo_sample_conditionals.py GPflow/GPflow-develop/tests/test_logdensities.py GPflow/GPflow-develop/tests/reference.py GPflow/GPflow-develop/gpflow/conditionals/mo_conditionals.py GPflow/GPflow-develop/gpflow/conditionals/uncertain_conditionals.py GPflow/GPflow-develop/gpflow/likelihoods/robustmax.py GPflow/GPflow-develop/gpflow/optimizers/mcmc.py GPflow/GPflow-develop/gpflow/models/svgp.py GPflow/GPflow-develop/gpflow/inducing_variables/inducing_variables.py GPflow/mo_fkernel.py GPflow/GPflow-develop/gpflow/versions.py GPflow/GPflow-develop/gpflow/expectations/linears.py GPflow/GPflow-develop/gpflow/kernels/mo_kernels.py GPflow/GPflow-develop/doc/source/notebooks/theory/FITCvsVFE.py GPflow/GPflow-develop/gpflow/inducing_variables/__init__.py GPflow/GPflow-develop/gpflow/optimizers/natgrad.py GPflow/GPflow-develop/tests/test_uncertain_conditional.py GPflow/GPflow-develop/tests/test_prior.py GPflow/GPflow-develop/doc/source/ext/gpflow_api_ext.py GPflow/GPflow-develop/gpflow/expectations/quadratures.py GPflow/GPflow-develop/tests/test_training.py GPflow/GPflow-develop/gpflow/models/gplvm.py GPflow/GPflow-develop/gpflow/conditionals/dispatch.py GPflow/GPflow-develop/tests/test_predict.py GPflow/GPflow-develop/gpflow/mean_functions.py GPflow/GPflow-develop/gpflow/utilities/bijectors.py GPflow/GPflow-develop/gpflow/expectations/cross_kernels.py GPflow/GPflow-develop/gpflow/kullback_leiblers.py GPflow/GPflow-develop/tests/test_mcmc_helper.py GPflow/GPflow-develop/doc/source/conf.py GPflow/GPflow-develop/gpflow/probability_distributions.py GPflow/GPflow-develop/tests/__init__.py GPflow/GPflow-develop/gpflow/kernels/stationaries.py GPflow/futil.py GPflow/GPflow-develop/gpflow/conditionals/__init__.py GPflow/GPflow-develop/tests/test_deepcopy.py GPflow/GPflow-develop/tests/test_quadrature.py GPflow/GPflow-develop/tests/test_expectations.py GPflow/GPflow-develop/gpflow/models/gpr.py GPflow/GPflow-develop/gpflow/expectations/expectations.py GPflow/GPflow-develop/gpflow/expectations/__init__.py GPflow/kronecker_ops.py GPflow/GPflow-develop/gpflow/quadrature.py GPflow/GPflow-develop/gpflow/kernels/misc.py GPflow/GPflow-develop/tests/test_utilities.py GPflow/GPflow-develop/gpflow/ci_utils.py GPflow/GPflow-develop/gpflow/kernels/convolutional.py GPflow/GPflow-develop/gpflow/kernels/linears.py GPflow/GPflow-develop/doc/source/ext/generate_module_rst.py GPflow/fskernels.py GPflow/GPflow-develop/tests/test_kldiv.py GPflow/GPflow-develop/tests/test_natural_gradient.py GPflow/GPflow-develop/gpflow/models/util.py GPflow/GPflow-develop/doc/source/notebooks/tailor/mdn_plotting.py GPflow/fkernels.py GPflow/GPflow-develop/gpflow/conditionals/sample_conditionals.py GPflow/GPflow-develop/tests/test_config.py GPflow/GPflow-develop/tests/test_gplvm.py GPflow/GPflow-develop/gpflow/models/model.py GPflow/GPflow-develop/gpflow/config/__init__.py GPflow/GPflow-develop/gpflow/kernels/base.py GPflow/GPflow-develop/gpflow/conditionals/conditionals.py GPflow/GPflow-develop/gpflow/kernels/changepoints.py GPflow/GPflow-develop/tests/test_coregion.py GPflow/GPflow-develop/doc/source/notebooks/intro_to_gpflow2_plotting.py GPflow/GPflow-develop/gpflow/expectations/misc.py GPflow/GPflow-develop/tests/test_multioutput_features.py GPflow/GPflow-develop/gpflow/models/__init__.py GPflow/GPflow-develop/tests/test_broadcasted_conditionals.py GPflow/GPflow-develop/gpflow/base.py GPflow/GPflow-develop/gpflow/covariances/kuus.py GPflow/GPflow-develop/gpflow/models/sgpr.py GPflow/GPflow-develop/tests/test_method_equivalence.py GPflow/GPflow-develop/gpflow/covariances/mo_kuus.py GPflow/GPflow-develop/gpflow/expectations/sums.py GPflow/GPflow-develop/gpflow/kernels/__init__.py GPflow/GPflow-develop/gpflow/likelihoods/likelihoods.py GPflow/GPflow-develop/gpflow/models/gpmc.py GPflow/GPflow-develop/tests/test_scaled_euclid_dist.py GPflow/GPflow-develop/gpflow/optimizers/__init__.py GPflow/GPflow-develop/gpflow/kernels/statics.py GPflow/GPflow-develop/gpflow/covariances/mo_kufs.py GPflow/GPflow-develop/gpflow/inducing_variables/inducing_patch.py GPflow/GPflow-develop/gpflow/utilities/utilities.py GPflow/GPflow-develop/gpflow/models/vgp.py GPflow/GPflow-develop/doc/source/notebooks/advanced/multiclass_classification.py GPflow/GPflow-develop/gpflow/conditionals/util.py GPflow/GPflow-develop/tests/test_model.py GPflow/GPflow-develop/gpflow/kernels/periodic.py GPflow/GPflow-develop/tests/test_likelihoods.py GPflow/GPflow-develop/gpflow/config/__config__.py GPflow/GPflow-develop/gpflow/likelihoods/__init__.py GPflow/GPflow-develop/tests/test_features.py GPflow/GPflow-develop/gpflow/__init__.py GPflow/GPflow-develop/tests/test_multioutput.py GPflow/GPflow-develop/tests/test_optimizers.py GPflow/GPflow-develop/gpflow/covariances/dispatch.py GPflow/GPflow-develop/tests/test_printing.py GPflow/GPflow-develop/tests/test_mean_functions.py GPflow/GPflow-develop/gpflow/models/sgpmc.py GPflow/fstationaries.py GPflow/GPflow-develop/gpflow/expectations/dispatch.py GPflow/GPflow-develop/gpflow/utilities/__init__.py GPflow/GPflow-develop/tests/test_kernels.py GPflow/GPflow-develop/tests/test_notebooks.py GPflow/GPflow-develop/tests/test_conditionals.py GPflow/GPflow-develop/gpflow/covariances/kufs.py GPflow/GPflow-develop/gpflow/inducing_variables/mo_inducing_variables.py GPflow/GPflow-develop/gpflow/utilities/ops.py GPflow/GPflow-develop/tests/test_methods.py GPflow/GPflow-develop/tests/test_variational.py GPflow/GPflow-develop/gpflow/optimizers/scipy.py GPflow/GPflow-develop/gpflow/logdensities.py GPflow/GPflow-develop/setup.py GPflow/GPflow-develop/gpflow/expectations/squared_exponentials.py GPflow/GPflow-develop/gpflow/covariances/__init__.py fMatern52 fSquaredExponential fMatern32 fExponential fsMatern52 fStationary SquaredExponential RationalQuadratic Matern12 Exponential Matern52 Matern32 kron_mat_apply make_kvs kron_vec_apply kvs_dot_vec_specialfirst kvs_dot_vec_memhungry kron_mat_triangular_solve kron_vec_mul make_kvs_np kvs_dot_vec_loop kron_two kron_mvrnorm log_det_kron_sum make_kvs_two_np kvs_dot_mat log_det_kron_sum_np kron make_kvs_two kron_vec_triangular_solve kron_mat_mul kvs_dot_vec mix_latent_fgp coregionalization_conditional _Kuu fLinearCoregionalization _Kuf write_to_rst_file is_documentable_module set_global_path get_module_rst_string get_public_attributes is_documentable_component traverse_module_bfs get_component_rst_string get_multidispatch_string do_visit_module is_documentable builder_inited setup plotting_regression summary_matplotlib_image plot_from_samples plot_posterior_predictions make_grid plot repeatMinimization trainSparseModel snelsonDemo readCsvFile getTrainingTestData plotComparisonFigure plotPredictions getRegressionModel getKernel stretch printModelParameters getLogPredictiveDensities Callback getSparseModel Parameter _verified_value _to_unconstrained _IS_TRAINABLE_PARAMETER Module _to_constrained _IS_PARAMETER ci_range ci_list is_continuous_integration ci_niter _ gauss_kl exponential multivariate_normal bernoulli gaussian lognormal laplace beta student_t gamma poisson Zero Product MeanFunction SwitchedMeanFunction Constant Additive Identity Linear Gaussian ProbabilityDistribution MarkovGaussian DiagonalGaussian hermgauss ndiagquad mvnquad mvhermgauss ndiag_mc _conditional shared_independent_conditional coregionalization_conditional separate_independent_conditional inducing_point_conditional fallback_independent_latent_conditional _sample_conditional _sample_conditional uncertain_conditional fully_correlated_conditional rollaxis_right mix_latent_gp base_conditional rollaxis_left expand_independent_outputs sample_mvn fully_correlated_conditional_repeat independent_interdomain_conditional Config config set_default_positive_minimum _Values default_float default_summary_fmt set_default_int default_jitter set_default_positive_bijector default_positive_bijector as_context set_default_summary_fmt default_int default positive_bijector_type_map set_default_float set_default_jitter default_positive_minimum set_config Kuf_conv_patch Kuf_sqexp_multiscale Kuf_kernel_inducingpoints Kuu_conv_patch Kuu_sqexp_multiscale Kuu_kernel_inducingpoints _Kuf _Kuu _E expectation _init_expectation quadrature_expectation _E _E _E _E _quadrature_expectation get_eval_func _E _E InducingPatches InducingVariables InducingPoints InducingPointsBase Multiscale FallbackSeparateIndependentInducingVariables SeparateIndependentInducingVariables FallbackSharedIndependentInducingVariables MultioutputInducingVariables SharedIndependentInducingVariables Kernel Product Sum Combination ChangePoints Convolutional Polynomial Linear Coregion ArcCosine SeparateIndependent LinearCoregionalization SharedIndependent MultioutputKernel IndependentLatent Periodic Constant White Static Cosine RationalQuadratic SquaredExponential Matern12 Exponential Stationary Matern52 Matern32 Gamma SwitchedLikelihood Bernoulli MonteCarloLikelihood Softmax Poisson Beta StudentT Gaussian Exponential inv_probit MultiClass Likelihood GaussianMC Ordinal RobustMax GPLVM BayesianGPLVM GPMC GPR GPModel BayesianModel SGPMC SGPR SGPRUpperMixin GPRFITC SVGP inducingpoint_wrapper VGP VGPOpperArchambeau SamplingHelper swap_dimensions XiTransform expectation_to_natural XiNat NaturalGradient expectation_to_meanvarsqrt XiSqrtMeanVar natural_to_meanvarsqrt meanvarsqrt_to_natural meanvarsqrt_to_expectation natural_to_expectation _inverse_lower_triangular positive triangular add_to_diagonal square_distance pca_reduce broadcasting_elementwise leading_transpose eye set_trainable parameter_dict print_summary _get_leaf_components deepcopy_components read_values to_default_float _merge_leaf_components reset_cache_bijectors traverse_module _first_three_elements_regexp to_default_int leaf_components training_loop _str_tensor_value multiple_assign tabulate_module_summary test_methods_predict_log_density _check_models_close test_sgpr_qu test_stochastic_gradients DatumSVGP test_svgp_fixing_q_sqrt test_sparse_mcmc_likelihoods_and_gradients test_methods_predict_y test_methods_predict_f test_svgp_non_white test_svgp_white Datum ref_rbf_kernel ref_arccosine_kernel ref_periodic_kernel Data test_conditional_broadcasting test_broadcasting_mix_latent_gps test_rollaxis test_rollaxis_idempotent Xnew test_gaussian_whiten kernel sqrt Xdata test_whiten test_diag mu chol test_dtype_errorcheck test_jitter_setting test_jitter_errorcheck test_positive_bijector_error test_dtype_setting test_default_summary_fmt_setting test_native_to_default_dtype test_positive_bijector_setting test_default_summary_fmt_errorcheck test_predict_log_density _prepare_models test_predict_y test_likelihood_variance test_predict_f test_kernel_variance test_predict_f_samples Datum test_mean_values A test_deepcopy_component_clears_bijector_cache_and_deecopy B test_kernel_only_expectations kerns test_kernel_mean_function_expectations test_eKxz_no_uncertainty test_eMxKxz_no_uncertainty distrs test_eKdiag_no_uncertainty _check test_exKxz_markov_no_uncertainty test_eKzxKxz_different_sum_kernels means test_eKzxKxz_same_vs_different_sum_kernels test_eKzxKxz_separate_dims_simplification markov_gauss test_mean_function_only_expectations test_RBF_eKzxKxz_gradient_notNaN inducing_variable test_cov_shape_inference test_exKxz_markov test_eKzxKxz_no_uncertainty test_inducing_variables_psd_schur test_multi_scale_inducing_equivalence_inducing_points test_inducing_equivalence test_inducing_points_inducing_variable_len Data test_bayesian_gplvm_constructor_check test_gplvm_constructor_checks _run_optimize test_bayesian_gplvm_1d test_gplvm_default_kernel test_gplvm_periodic_kernel test_bayesian_gplvm_2d test_arccosine_nan_gradient _ref_changepoints _ref_arccosine test_white test_ard_invalid_active_dims test_diags _ref_periodic test_add_asymmetric test_ard_property test_slice_symmetric test_ard_init_scalar test_periodic_non_stationary_base test_kernel_symmetry_1d_and_5d _ref_rbf test_on_separate_dims test_conv_diag _assert_arccosine_kern_err test_periodic_bad_ard_period _assert_changepoints_kern_err test_rbf_1d test_product test_arccosine_non_implemented_order test_coregion_diag test_active_product test_rq_1d test_periodic_diag test_coregion_shape test_periodic test_arccosine_1d_and_3d test_coregion_slice test_slice_asymmetric test_add_symmetric test_changepoints_init_fail _assert_periodic_kern_err test_changepoints make_sqrt test_whitened test_oned make_K_batch test_sumkl_equals_batchkl compute_kl_1d test_unknown_size_inputs Datum test_diags test_robust_max_multiclass_eps_k1_changes test_quadrature_predict_density test_robust_max_multiclass_predict_density test_montecarlo_variational_expectation test_softmax_y_shape_assert _make_montecarlo_mu_var_y LikelihoodSetup test_variational_expectations test_montecarlo_predict_density test_quadrature_mean_and_var filter_analytic test_switched_likelihood_predict_density get_likelihood _make_montecarlo_likelihoods test_conditional_mean_and_variance test_softmax_bernoulli_equivalence test__switched_likelihood_variational_expectations test_quadrature_variational_expectation Datum test_no_missing_likelihoods test_montecarlo_predict_mean_and_var test_switched_likelihood_log_prob test_robust_max_multiclass_symmetric test_switched_likelihood_regression_valid_num_latent test_gamma test_lognormal test_gaussian test_exponential test_multivariate_normal test_poisson test_beta test_laplace test_bernoulli test_student_t build_data build_model test_mcmc_helper_parameters test_mcmc_sampler_integration test_mcmc_helper_target_function test_mean_functions_distributive_property test_mean_functions_A_minus_A_equals_zero test_bug_277_regression _create_GPR_model_with_bias test_mean_functions_composite_type test_models_with_mean_functions_changes test_linear_mean_functions_associative_property test_mean_functions_output_shape test_switched_mean_function Datum _create_svgp_model test_equivalence_vgp_and_svgp _create_full_gp_model DatumUpper _create_approximate_models test_equivalence DatumVGP test_upper_bound_few_inducing_points _create_vgp_model Datum test_equivalence_vgp_and_opper_archambeau _create_vgpao_model test_non_trainable_model_objective Data model test_multioutput_with_diag_q_sqrt test_MixedMok_Kgg test_sample_conditional_mixedkernel Data test_mixed_mok_with_Id_vs_independent_mok DataMixedKernelWithEye test_separate_independent_mok test_separate_independent_mof create_q_sqrt predict test_sample_mvn DataMixedKernel test_sample_conditional assert_all_array_elements_almost_equal test_compare_mixed_kernel check_equality_predictions expand_cov test_MixedKernelSeparateMof test_fully_correlated_conditional_repeat_shapes predict_all test_shared_independent_mok test_mixed_shared make_ip test_kuu test_kuf make_ips make_kernels Datum make_kernel data assert_gpr_vs_vgp test_vgp_vs_gpr Setup inducing_variable test_small_q_sqrt_handeled_correctly test_svgp_vs_sgpr gpr_and_vgp likelihood kernel test_xi_transform_vgp_vs_gpr assert_sgpr_vs_svgp sgpr_and_svgp XiEta _preproc get_notebooks _nbpath _exec_notebook test_notebook Datum _create_full_gp_model test_scipy_jit test_gaussian_log_density test_gaussian_mean_and_variance test_other_models_full_cov_samples ModelSetup test_other_models_full_cov test_gaussian_full_cov_samples test_gaussian_full_cov test_print_summary_output_string_with_positive_minimum test_module_parameters_return_iterators_not_generators test_leaf_components_registers_variable_properties test_leaf_components_registers_param_properties test_print_summary_output_string test_print_summary_for_keras_model test_leaf_components_registers_compose_kernel_variable_properties Data A test_merge_leaf_components_merges_keys_with_same_values create_compose_kernel C dag_module module create_kernel create_model B test_leaf_components_combination_kernel test_leaf_components_only_returns_parameters_and_variables DummyModel test_v_prior_dtypes test_gpr_objective_equivalence get_gpmc_model_params Datum test_log_prior_with_no_prior test_map_contains_log_det_jacobian test_diagquad_logspace test_diagquad_1d test_diagquad_2d test_diagquad_with_kwarg Datum test_kernel_euclidean_distance Data model test_make_trainable test_multiple_assign_fails_with_invalid_values test_multiple_assign_updates_correct_values test_multiple_assign_fails_with_invalid_path test_dict_utilities Data test_monte_carlo_1_din DataMC2 gen_L MomentMatchingSVGP DataQuad mean_function_factory test_quadrature test_monte_carlo_2_din gen_q_sqrt DataMC1 test_no_uncertainty test_triangular test_positive_lower test_positive_bijector test_positive_calculation_order univariate_posterior test_variational_univariate_conditionals test_variational_univariate_log_likelihood test_variational_univariate_prior_KL test_refrence_implementation_consistency test_variational_multivariate_prior_KL_full_q univariate_prior_KL multivariate_prior_KL univariate_log_marginal_likelihood Datum MultiDatum stack stack stack stack stack reshape transpose matmul stack tile expand_dims while_loop zeros float_type constant reshape transpose matmul stack expand_dims sum prod mul ones float64 reduce add kron_vec_mul T numpy prod randn stack dispatch exp scaled_squared_euclid_fdist ind_conditional f_list2 distances f_list sqrt cholesky lengthscale_f expand_dims leading_transpose rollaxis_left tensordot isfunction isclass isfunction isclass get_multidispatch_string format join list format items append format makedirs get_public_attributes pop join write_to_rst_file __name__ is_documentable_module get_module_rst_string get_public_attributes id add is_documentable_component get_component_rst_string append do_visit_module set_global_path srcdir traverse_module_bfs set connect setup_extension items list BytesIO seek getvalue image savefig expand_dims decode_image T plot set_xlim add_subplot close sqrt figure fill_between set_ylim show predict_f plot num_classes set_title reshape set_yticks tight_layout predict_y add_axes sqrt set_xticks figure legend get_legend_handles_labels range set_ylim trainable_variables num_classes plot get_color set_title reshape squeeze set_yticks add_axes predict_f_samples assign set_xticks figure zip append range set_ylim len meshgrid reshape T len make_grid set_title min pdf flatten scatter contourf linspace legend repeat sum max log append readCsvFile range log pi GPR SGPR GPRFITC print format numpy plot sort readCsvFile predict_y sqrt trainable_variables minimize Scipy range Callback copy getSparseModel plot ones set_xlabel shape set_ylabel twinx plotPredictions legend linspace numpy array set_ylim ones subplots flatten plotComparisonFigure plotPredictions getRegressionModel set_title hold_out_likelihood ScipyOptimizer plot stretch printModelParameters log_likelihoods minimize print n_iters getTrainingTestData argsort trainSparseModel embed len Variable default_float isinstance Kuu triangular_solve transpose square reduce_sum log diag_part band_part cholesky eye diag log lgamma square log pi cast default_float clip_by_value dtype triangular_solve square reduce_sum cast list product hermgauss array prod reshape transpose tuple mvhermgauss matmul pi any func tile cholesky expand_dims len items list isinstance reshape map pi shape sqrt tile mvhermgauss len normal list items isinstance reshape sqrt tile kernel base_conditional eye kernel base_conditional Kuf Kuu inducing_variable_list Kuf isinstance Kuu rollaxis_left map_fn stack kernels len kernel Kuf Kuu Kuf fully_correlated_conditional reshape base_conditional Kuu kernel dispatch mix_latent_gp ind_conditional sample_mvn W tensordot conditional adjoint triangular_solve adjoint expectation transpose reshape Kuu matmul Gaussian diag_part band_part cholesky tile zeros diag einsum triangular_solve adjoint concat transpose square reduce_sum matmul broadcast_to shape rank cholesky expand_dims ndims normal concat matmul default_jitter assert_equal shape rank leading_transpose eye cholesky transpose diag triangular_solve reshape transpose square reduce_sum matmul band_part cholesky tensordot fully_correlated_conditional_repeat triangular_solve reshape transpose square reduce_sum matmul broadcast_to shape stack band_part cholesky tile tensordot concat rank concat rank expand_dims leading_transpose rollaxis_left tensordot float64 int32 as_dtype config set_config replace as_dtype config set_config replace config set_config replace config replace isinstance positive_bijector_type_map lower set_config config set_config replace config tabulate_formats replace set_config config set_config _cust_square_dist slice reshape reduce_prod lengthscale Z scales K reduce_sum Z get_patches kernel Z _cust_square_dist exp slice variance square sqrt reduce_prod lengthscale Z scales _init_expectation print _init_expectation isinstance slice expectation variance Z slice_cov tile expand_dims mu A einsum cov b Gaussian Kernel MeanFunction isinstance concat reduce_prod log triangular_solve exp square_distance transpose reduce_sum matmul square lengthscale diag_part cholesky zeros diag product kernels append enumerate InducingPoints matmul cholesky _inverse_lower_triangular matmul _inverse_lower_triangular natural_to_meanvarsqrt expectation_to_meanvarsqrt matmul matmul ones isinstance lower AffineScalar default_positive_minimum Chain cast diag_part concat index copy rank range len reshape op matmul square reduce_sum tensordot T isinstance eigh cov Tensor numpy variables list parameter_dict assign items leaf_components int optimization_step function range print display HTML tabulate_module_summary leaf_components list _merge_leaf_components zip items list set dict experimental_ref traverse_module traverse_module items list Module isinstance enumerate str match _first_three_elements_regexp groups Gaussian Matern32 Exponential randn predict_f assert_array_less shape full_like assert_array_equal Xs assert_array_less predict_y shape full_like assert_array_equal Xs randn predict_log_density shape assert_array_equal rng predict_f randn minimize reshape SGPR compute_qu cast Z sin rng array default_float assert_allclose len data qsqrt assign log_likelihood array qmean SVGP assert_allclose data qsqrt assign log_likelihood array qmean SVGP assert_allclose trainable_variables SVGP len training_loop atleast_2d array convert_to_tensor randn SGPMC StudentT assign log_likelihood GPMC rng assert_allclose T exp dot shape zeros range arccos cos pi range dot sqrt sin empty clip exp square pi sin sum reshape randn randn Dy Z N Matern52 S1_S2_X sample_conditional SX L skip shape S1 M convert_to_tensor S2 InducingPoints SharedIndependentInducingVariables assert_allclose tril LinearCoregionalization reshape array convert_to_tensor T mix_latent_gp randn reshape transpose zeros array range assert_allclose tril convert_to_tensor rollaxis_right randn transpose rollaxis_left assert_allclose convert_to_tensor rollaxis_right randn rollaxis_left assert_allclose White assign Matern32 conditional assert_allclose triangular_solve kernel conditional cholesky eye assert_allclose convert_to_tensor triangular_solve transpose rand broadcast_static_shape kernel shape broadcast_to conditional cholesky diag assert_allclose setter set_default_jitter set_default_positive_bijector set_default_summary_fmt list rand hstack shuffle range SwitchedLikelihood Coregion SquaredExponential minimize VGP SwitchedMeanFunction Scipy read_value _prepare_models assert_allclose read_value _prepare_models assert_allclose read_value _prepare_models assert_allclose predict_f X_augumented0 _prepare_models Xtest assert_allclose X_augumented1 hstack _prepare_models predict_y Xtest assert_allclose _prepare_models assert_allclose predict_log_density predict_f_samples _prepare_models X_augumented0 X_augumented1 deepcopy_components assign module transpose stack concatenate randn expectation assert_allclose quadrature_expectation arg_filter _check arg_filter _check arg_filter _check kernel expectation assert_allclose kernel expectation assert_allclose kernel expectation assert_allclose kernel expectation assert_allclose constant SquaredExponential Gaussian assign InducingPoints _check _check expectation assert_allclose _check kernel expectation assert_allclose _check isinstance len InducingPoints assert_equal randn randn Kuu kernel InducingPoints assert_allclose Kuf SquaredExponential Kuu InducingPoints Multiscale abs max T Kuf randn solve Kuu kernel RandomState trainable_variables Q minimize GPLVM Y Scipy log_likelihood _run_optimize _run_optimize Periodic trainable_variables SquaredExponential BayesianGPLVM ones minimize Y Scipy zeros log_likelihood trainable_variables SquaredExponential predict_f BayesianGPLVM ones minimize randn assert_allclose pca_reduce D Y Scipy range diag log_likelihood SquaredExponential T exp dot shape zeros range arccos cos pi range dot sqrt sin empty clip sum exp square pi sqrt sin abs sorted exp concatenate ones reshape transpose stack _ref_rbf SquaredExponential randn kernel assert_allclose RationalQuadratic SquaredExponential RandomState kRQ astype kSE default_float assert_allclose kernel ArcCosine assert_allclose _ref_arccosine _assert_arccosine_kern_err randn trainable_variables rand ArcCosine gradient _ref_periodic base_class kernel Periodic __name__ assert_allclose _assert_periodic_kern_err multivariate_normal base_class kernel eye base zeros Periodic assert_allclose RBF kernel randn Coregion randn reshape kernel randint Coregion randn reshape K_diag kernel randint kernel1 Coregion SquaredExponential kernel2 hstack kernel_prod randint kernel diag_part randn SquaredExponential randn kernel diagonal Convolutional randn kernel White randn randn randn randn kernel_prod randn read_value SquaredExponential kernel_class K_diag _ref_changepoints ChangePoints kernel diag assert_allclose _assert_changepoints_kern_err randn SquaredExponential Linear array randn square log make_sqrt T randn make_K_batch default_jitter eye sqrt_diag mu gauss_kl stack assert_allclose mu gauss_kl stack I assert_allclose gauss_kl reduce_sum append N assert_almost_equal range mu reshape compute_kl_1d gauss_kl assert_allclose ones gauss_kl assert_allclose normal zeros values issubclass __subclasses__ assert_allclose conditional_mean predict_mean_and_var conditional_variance variational_expectations zeros_like F likelihood Y log_prob assert_allclose variational_expectations ndiagquad log_prob assert_allclose num_gauss_hermite_points predict_density assert_allclose likelihood predict_mean_and_var assert_allclose GaussianMC variational_expectations assert_allclose _make_montecarlo_likelihoods predict_density assert_allclose _make_montecarlo_likelihoods predict_mean_and_var assert_allclose _make_montecarlo_likelihoods convert_to_tensor normal Softmax log_prob int variational_expectations exp Bernoulli Softmax conditional_mean predict_mean_and_var log_prob stack conditional_variance vstack cast default_int numpy default_float assert_allclose convert_to_tensor variational_expectations RandomState ones predict_density predict_mean_and_var randint MultiClass log assert_allclose RandomState ones predict_density cast randint MultiClass assert_allclose convert_to_tensor eps_k1 assert_allclose RobustMax list SwitchedLikelihood astype shuffle float32 log_prob range assert_allclose list SwitchedLikelihood predict_density astype shuffle float32 range assert_allclose list SwitchedLikelihood variational_expectations astype shuffle float32 range assert_allclose SwitchedLikelihood randn hstack InducingPoints SVGP log_likelihood numpy assert_allclose logpdf numpy assert_allclose logpdf numpy assert_allclose logpmf numpy assert_allclose logpmf numpy assert_allclose logpdf numpy assert_allclose logpdf numpy assert_allclose logpdf numpy assert_allclose logpdf numpy assert_allclose logpdf T multivariate_normal dot cholesky logpdf ravel assert_allclose randn rand cos sin Matern52 assign GPR Linear Parameter build_data isinstance build_model trainable_parameters log_marginal_likelihood SamplingHelper range len build_data build_model trainable_parameters grad_fn assign log_marginal_likelihood __original_wrapped__ SamplingHelper target_log_prob_fn len build_data HamiltonianMonteCarlo build_model convert_constrained_values trainable_parameters SimpleStepSizeAdaptation log_marginal_likelihood run_chain_fn SamplingHelper range len randn mean_function_1 mean_composed input_dim N Product predict_f _create_GPR_model_with_bias randn Additive input_dim assert_allclose Zero predict_f _create_GPR_model_with_bias randn Additive input_dim assert_allclose predict_f _create_GPR_model_with_bias randn Additive input_dim assert_allclose reshape hstack SwitchedMeanFunction switched_mean array assert_allclose assign Zero model_class predict_f randn Ntest Gaussian InducingPoints Constant input_dim Matern32 cos tile sin seed randn randn rand pi sin GPR minimize Scipy set_trainable SquaredExponential inducing_variable minimize SGPR Gaussian VGP Scipy SVGP GPRFITC VGP assign VGPOpperArchambeau assign assign SVGP copy isinstance _create_full_gp_model predict_y Xtest read_value SVGP assert_allclose _create_svgp_model data predict_f assert_allclose StudentT q_mu _create_vgp_model Xs Matern52 q_sqrt log_likelihood data N Matern52 log_likelihood einsum _create_svgp_model q_lambda predict_f default_jitter q_alpha kernel Xs assert_allclose inv StudentT dot _create_vgpao_model eye _create_vgp_model cholesky array X SquaredExponential minimize upper_bound SGPR variance assign lengthscale c log_marginal_likelihood Scipy GPR rand set_trainable log_marginal_likelihood predict_f append predict range assert_allclose len assert_all_array_elements_almost_equal transpose assert_almost_equal diagonal Xs predict_all block_diag transpose cholesky matmul convert_to_tensor int hstack array convert_to_tensor reshape expand_cov hstack uniform eye create_q_sqrt convert_to_tensor normal T randn hstack create_q_sqrt ones mean cov sample_mvn eye assert_array_almost_equal convert_to_tensor SquaredExponential ones sample_conditional reshape skip mean uniform InducingPoints cov assert_array_almost_equal assert_allclose convert_to_tensor int LinearCoregionalization SeparateIndependent T P randn ones sample_conditional L matmul mean uniform InducingPoints cov assert_array_almost_equal SharedIndependentInducingVariables ones func eye default_jitter LinearCoregionalization Kgg K W assert_array_almost_equal X einsum seed set_trainable data SquaredExponential P randn minimize reshape check_equality_predictions SharedIndependent Gaussian InducingPoints array SharedIndependentInducingVariables SVGP M set_trainable SeparateIndependent data P randn minimize check_equality_predictions Gaussian InducingPoints array SharedIndependentInducingVariables SVGP M seed set_trainable SeparateIndependent data SquaredExponential P randn minimize SeparateIndependentInducingVariables check_equality_predictions SharedIndependent Gaussian InducingPoints array SVGP M set_trainable LinearCoregionalization data SquaredExponential minimize check_equality_predictions SharedIndependent L Gaussian InducingPoints SVGP W data LinearCoregionalization check_equality_predictions Gaussian InducingPoints SharedIndependentInducingVariables SVGP data LinearCoregionalization ones check_equality_predictions SVGP L Gaussian repeat InducingPoints SharedIndependentInducingVariables data LinearCoregionalization SeparateIndependentInducingVariables check_equality_predictions Gaussian SVGP permutation X Kuu cholesky Kuf Xnew LinearCoregionalization Xnew print L make_ip fun shape cholesky make_kernels SharedIndependentInducingVariables W normal set_trainable variance VGP assign GPR set_trainable likelihood_variance SGPR assign SVGP NaturalGradient log_likelihood minimize_step range assert_allclose data minimize NaturalGradient log_likelihood assert_allclose assert_gpr_vs_vgp assert_gpr_vs_vgp assign randn assert_sgpr_vs_svgp assert_gpr_vs_vgp dirname join _nbpath iglob str _exec_notebook get_values minimize _create_full_gp_model Scipy assert_allclose predict_f predict_y White GPR Matern32 predict_log_density pi predict_y square White GPR log Matern32 predict_f randn GPR range Matern32 predict_f_samples GPR Matern32 randn predict_f randn InducingPoints get_model range predict_f_samples get_model randn ones SquaredExponential Product create_kernel SVGP lengthscale create_model items list items list module_callable assert_equal numpy items list module_callable assert_equal leaf_components numpy split items list assert_equal module_class numpy items list leaf_components split SquaredExponential create_model Variable GPR lengthscale Parameter Parameter DummyModel Gaussian Matern32 exp ndiagquad assert_allclose exp ndiagquad assert_allclose ndiagquad assert_allclose exp array ndiagquad assert_allclose kernel X Variable items list copy assert_equal assert_almost_equal numpy multiple_assign set_trainable parameter_dict list items Module zeros hstack gen_L hstack array randn convert_to_tensor randn gen_L array gen_q_sqrt SquaredExponential predict_f N_new D_in MomentMatchingSVGP Gaussian uncertain_predict_f_moment_matching D_out training_loop mean_function_factory range Xnew_mu assert_allclose uncertain_predict_f_monte_carlo SquaredExponential N_new D_in MomentMatchingSVGP Gaussian uncertain_predict_f_moment_matching D_out training_loop mean_function_factory range assert_allclose uncertain_predict_f_monte_carlo SquaredExponential N_new D_in MomentMatchingSVGP Gaussian uncertain_predict_f_moment_matching D_out training_loop mean_function_factory range assert_allclose uncertain_conditional SquaredExponential Xvar D_in q_mu Xmu InducingPoints Z mvnquad D_out mean_function_factory q_sqrt assert_allclose exp dot T trace solve atleast_2d univariate_posterior copy sqrt array tril rand copy randn reshape rand univariate_prior_KL multivariate_prior_KL assert_allclose zero_mean posterior_mean posterior_std ones univariate_prior_KL prior_kl K posterior_var SVGP assert_allclose posterior_mean posterior_std ones univariate_log_marginal_likelihood numpy SVGP assert_allclose posterior_mean posterior_std ones q_mu conditional kernel Z posterior_var SVGP X assert_allclose q_mean T q_sqrt_full multivariate_prior_KL prior_kl zeros SVGP assert_allclose
anfelopera/spatfGPs
1,382
anguyen8/generative-attribution-methods
['object localization']
['Explaining image classifiers by removing input features using generative models']
generative_inpainting/inpaint_ops.py generative_inpainting/CAInpainter.py formal_utils.py generative_inpainting/inpaint_model.py generative_inpainting/train.py formal_LIME_single_image.py lime_image.py formal_SP_single_image.py formal_plot_figure.py generative_inpainting/test.py formal_MP_single_image.py generative_inpainting/test_pytorch.py get_image load_orig_places365_model load_orig_imagenet_model pytorch_batch_predict get_pil_transform get_pytorch_preprocess_transform get_arguments create_blurred_circular_mask numpy_to_torch get_blurred_img create_blurred_circular_mask_pyramid test_circular_masks occlusion_analysis load get_image tv_norm load_model zero_out_plot_multiple_patch clamp get_pil_transform load_class_label mkdir_p normalize preprocess_image unnormalize load_imagenet_label_map load_model_places365 ImageExplanation LimeImageExplainer CAInpainter InpaintCAModel gen_deconv spatial_discounting_mask contextual_attention flow_to_image_tf dis_conv bbox2mask highlight_flow image2edge resize_mask_like test_contextual_attention flow_to_image local_patch make_color_wheel random_bbox highlight_flow_tf gen_conv compute_color unnormalize_imagenet_img plot_pytorch_img pytorch_to_np load_imagenet_loader multigpu_graph_def parse_args add_argument ArgumentParser Softmax resnet50 Sequential parameters eval to load Softmax Sequential system parameters eval load_state_dict to Compose Normalize Compose pytorch_model tuple stack softmax to unsqueeze_ transpose float32 from_numpy to int float zeros gaussian_filter zeros range create_blurred_circular_mask len data mul zeros_like model where unsqueeze max len exit append to range detach perturb_binary ones_like size item preprocess_image float print get_blurred_img float32 thresh create_blurred_circular_mask_pyramid zeros generate_background fromarray GaussianBlur uint8 filter tuple list split close open sum range copy expand_dims range copy resnet50 googlenet inception_v3 load system load_state_dict unsqueeze_ uint8 float Compose from_numpy permute transform to multiply transpose min float32 max makedirs subplots set_ticks set_visible vstack tick_params round abs max set_ticklabels set_xlabel colorbar imshow twinx savefig range update bounds set_position close add_axes get_cmap join ListedColormap reshape rc set_yticks makedirs subplots_adjust set_xticks set_ylabel split amin amax len int pad conv2d conv2d leaky_relu IMG_SHAPES constant WIDTH VERTICAL_MARGIN random_uniform HEIGHT HORIZONTAL_MARGIN crop_to_bounding_box resize DISCOUNTED_MASK WIDTH ones min info SPATIAL_DISCOUNTING_GAMMA expand_dims HEIGHT max range conv2d_transpose concat set_shape resize argmax transpose reduce_sum shape conv2d cast append range square sqrt stack softmax tile zip equal enumerate as_list extract_image_patches flow_to_image_tf reshape float32 maximum reduce_mean eye zeros split format info imageB imageA shape expand_dims resize imread zeros transpose floor arange uint8 arctan2 size astype pi logical_not isnan shape sqrt floor zeros make_color_wheel range eps min sqrt append compute_color max range ones shape range append CV_64F Laplacian range append unsqueeze clone join ImageFolder Compose build_graph_with_losses
## Explaining image classifiers by removing input features using generative models This repository contains source code necessary to reproduce some of the main results in [the paper](https://arxiv.org/abs/1910.04256): **If you use this software, please consider citing:** @inproceedings{agarwal2020explaining, title={Explaining image classifiers by removing input features using generative models}, author={Agarwal, Chirag and Nguyen, Anh}, year={2020}, booktitle={Proceedings of the Asian Conference on Computer Vision (ACCV)}, year={2020}
1,383
anh-tong/stan_playground
['gaussian processes']
['Efficiently Sampling Functions from Gaussian Process Posteriors']
vi_ibp.py inducing_point_gp.py gp_sampling.py utils.py eight_school.py random_fourier_feature.py create_model IndependentGaussian LinearModel IBP load join hexdigest open
## Playing with Stan This repo contains several implementation of GPs written in Stan ### 1. Efficient GP posterior sampling A recent paper in ICML with the reference as ``` @inproceedings{wilson2020efficiently, title={Efficiently sampling functions from Gaussian process posteriors}, author={James T. Wilson and Viacheslav Borovitskiy and Alexander Terenin
1,384
anhoangphuc/neural_style_transfer
['style transfer']
['A Neural Algorithm of Artistic Style']
style_transfer_script.py gram_matrix load_image im_convert get_features size Compose convert unsqueeze max squeeze transpose array clip detach items list layer t size mm view
anhoangphuc/neural_style_transfer
1,385
aniketde/ZeroShotDG
['domain generalization']
['Zero Shot Domain Generalization']
Semantic-AGG/F-MNIST/models/classifier.py Semantic-MTAE/CIFAR-10/models/mtae.py Semantic-AGG/CIFAR-10/lib/config.py Semantic-MTAE/CIFAR-10/lib/config.py Semantic-FC/F-MNIST/models/featureExtractor.py Semantic-MTAE/CIFAR-10/models/decoder.py Semantic-MTAE/F-MNIST/models/decoder.py Semantic-MTAE/F-MNIST/lib/config.py Semantic-MTAE/CIFAR-10/main.py Semantic-FC/F-MNIST/main.py Semantic-MTAE/F-MNIST/main.py Semantic-MTAE/F-MNIST/models/mtae.py Semantic-AGG/F-MNIST/models/featureExtractor.py Semantic-FC/F-MNIST/lib/config.py Semantic-FC/CIFAR-10/models/classifier.py Semantic-AGG/CIFAR-10/models/classifier.py Semantic-FC/CIFAR-10/lib/utils.py Semantic-MTAE/F-MNIST/lib/utils.py Semantic-FC/CIFAR-10/models/featureExtractor.py Semantic-FC/F-MNIST/models/FC.py Semantic-MTAE/CIFAR-10/models/encoder.py Semantic-FC/CIFAR-10/main.py Semantic-FC/CIFAR-10/models/FC.py Semantic-AGG/CIFAR-10/lib/utils.py Semantic-FC/F-MNIST/models/classifier.py Semantic-MTAE/CIFAR-10/lib/utils.py Semantic-AGG/CIFAR-10/models/featureExtractor.py Semantic-AGG/F-MNIST/lib/utils.py Semantic-AGG/CIFAR-10/models/AGG.py Semantic-AGG/F-MNIST/lib/config.py Semantic-AGG/F-MNIST/models/AGG.py Semantic-AGG/CIFAR-10/main.py Semantic-AGG/F-MNIST/main.py Semantic-FC/F-MNIST/lib/utils.py Semantic-FC/CIFAR-10/lib/config.py Semantic-MTAE/F-MNIST/models/encoder.py load_rotated_cifar domain_specific_training PCA_TSNE Unflatten Flatten AGG Xavier Classifier FeatureExtractor featureExtractor load_rotated_fmnist domain_specific_training PCA_TSNE Unflatten Flatten AGG Xavier Classifier FeatureExtractor featureExtractor load_rotated_cifar domain_specific_training PCA_TSNE Unflatten Flatten Critic_Network_MLP Classifier Xavier FeatureCritic FeatureExtractor featureExtractor load_rotated_fmnist domain_specific_training PCA_TSNE Unflatten Flatten Critic_Network_MLP Classifier Xavier FeatureCritic FeatureExtractor featureExtractor load_rotated_cifar domain_specific_training PCA_TSNE Unflatten Flatten Decoder Encoder MTAE Xavier load_rotated_fmnist domain_specific_training PCA_TSNE Unflatten Flatten Decoder Encoder MTAE Xavier permutation Compose DataLoader iter CIFAR10 append to next range AGG permutation view Classifier print load_rotated_cifar MSELoss feature_extractor eval append to long range cat len show subplots cpu print PCA where scatter unique legend append array fit_transform uniform_ sqrt fill_ permutation FashionMNIST Compose DataLoader iter append to next range format load_rotated_fmnist list FeatureCritic sample train MTAE Encoder str close savefig
# Zero Shot Domain Generalization **Accepted at The British Machine Vision Conference (BMVC) 2020** Standard supervised learning setting assumes that training data and test data come from the same distribution (domain). Domain generalization (DG) methods try to learn a model that when trained on data from multiple domains, would generalize to a new unseen domain. We extend DG to an even more challenging setting, where the label space of the unseen domain could also change. We introduce this problem as Zero-Shot Domain Generalization (to the best of our knowledge, the first such effort), where the model generalizes across new domains and also across new classes in those domains. We propose a simple strategy which effectively exploits semantic information of classes, to adapt existing DG methods to meet the demands of Zero-Shot Domain Generalization. We evaluate the proposed methods on CIFAR-10, CIFAR-100, F-MNIST and PACS datasets, establishing a strong baseline to foster interest in this new research direction. This repository provides with a PyTorch implementation of our algorithms as described in the paper [Zero Shot Domain Generalization](https://arxiv.org/abs/2008.07443)
1,386
anirudh-chakravarthy/CASENet
['object proposal generation', 'edge detection', 'semantic segmentation']
['CASENet: Deep Category-Aware Semantic Edge Detection']
utils/utils.py visualize_multilabel.py train_val/model_play.py dataloader/cityscapes_data.py prep_dataset/prep_cityscapes_dataset.py dataloader/cityscapes_data_zip.py get_results_for_benchmark.py config.py modules/CASENet.py utils/extract-caffe-params/extract.py utils/convert_bin_to_hdf5.py main.py utils/convert_bin_to_png.py utils/convert_bin_to_numpy.py get_args main get_model_policy normalized_feature_map get_colors get_cityscapes_class_names CityscapesData CityscapesData set_require_grad_to_false CASENet_resnet101 CropLayer ScaleLayer gen_mapping_layer_name ConcatLayer ResNet load_npy_to_layer SliceLayer Bottleneck init_bilinear get_dataloader ToTorchFormatTensor RGB2BGR train WeightedMultiLabelSigmoidLoss validate convert_num_to_bitfield convert_num_to_bitfield convert_num_to_bitfield AverageMeter save_checkpoint adjust_learning_rate check_gpu load_official_pretrained_model load_pretrained_model extract_caffe_model parse_args add_argument ArgumentParser validate acc_steps SGD DataParallel adjust_learning_rate save_checkpoint cuda CASENet_resnet101 get_model_policy lr_steps load_state_dict range load_pretrained_model get_dataloader format multigpu start_epoch lr checkpoint_folder load resume_model line print NaN pretrained_model empty_cache train epochs named_modules list format print extend parameters append min max str list format replace print named_parameters keys range len load join list format items state_dict print from_numpy load_state_dict save open size ceil zeros abs prod range parameters ResNet load_official_pretrained_model DataLoader Compose Normalize CityscapesData data model zero_grad numpy update format enumerate int time line backward print AverageMeter WeightedMultiLabelSigmoidLoss check_gpu empty_cache step len update data time format line model no_grad print AverageMeter WeightedMultiLabelSigmoidLoss eval check_gpu empty_cache enumerate len data clamp sigmoid unsqueeze check_gpu float log list asarray replace view from_numpy create_dataset append cat join remove ZIP_DEFLATED write close save numpy ZipFile format str print range imsave makedirs Variable cuda isinstance load items list format update replace print load_state_dict keys state_dict load update list format print load_state_dict keys state_dict join save makedirs param_groups weight_decay sum data str list items print Net save copy_from TEST makedirs
# CASENet: PyTorch Implementation This is an implementation for paper [CASENet: Deep Category-Aware Semantic Edge Detection](https://arxiv.org/abs/1705.09759). This repository has been adapted to work with the Cityscapes Dataset. ## Input pre-processing The author's preprocessing repository was used. Instructions for use can be found in the cityscapes-preprocess directory. This is used to generate binary files for each label in the dataset. For data loading into hdf5 file, an hdf5 file containing these binary files needs to be generated. For this conversion, run: ``` python utils/convert_bin_to_hdf5.py ``` after updating the directory paths (use absolute paths).
1,387
anishathalye/neural-style
['style transfer']
['A Neural Algorithm of Artistic Style']
stylize.py neural_style.py vgg.py imresize fmt_imsave main imread build_parser imsave stylize gray2rgb rgb2gray get_loss_vals print_progress _tensor_size hms load_net _pool_layer net_preloaded _conv_layer unprocess preprocess add_argument ArgumentParser match subplots values initial list use checkpoint_output semilogy set_xlabel savefig OrderedDict shape savetxt array dirname legend width append parse_args imread sum build_parser imsave range stylize format imresize content empty style_blend_weights enumerate items error output fmt_imsave set_ylabel progress_write progress_plot zeros network len float astype dstack uint8 astype save fromarray int uint8 height isinstance astype width print items list format load_net Graph shape range len shape empty int mean loadmat ndarray isinstance _pool_layer relu reshape transpose _conv_layer enumerate conv2d constant
# neural-style [![Build Status](https://github.com/anishathalye/neural-style/workflows/CI/badge.svg)](https://github.com/anishathalye/neural-style/actions?query=workflow%3ACI) An implementation of [neural style][paper] in TensorFlow. This implementation is a lot simpler than a lot of the other ones out there, thanks to TensorFlow's really nice API and [automatic differentiation][ad]. TensorFlow doesn't support [L-BFGS][l-bfgs] (which is what the original authors used), so we use [Adam][adam]. This may require a little bit more hyperparameter tuning to get nice results. ## Running `python neural_style.py --content <content file> --styles <style file> --output <output file>` Run `python neural_style.py --help` to see a list of all options.
1,388
anishathalye/obfuscated-gradients
['adversarial defense', 'adversarial attack']
['Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examples']
defensegan/tflib/save_images.py pixeldefend/robustml_model.py sap/cifar10_input.py inputtransformations/robustml_model.py pixeldefend/models/pixel_cnn_pp/nn.py thermometer/train.py defensegan/tflib/__init__.py defensegan/tflib/plot.py sap/robustml_attack.py pixeldefend/model.py lid/cifar10_input.py defensegan/tflib/ops/cond_batchnorm.py defensegan/mnist_cnn.py thermometer/discretization_utils.py defensegan/tflib/ops/linear.py inputtransformations/quilt_preprocess.py inputtransformations/robustml_attack.py pixeldefend/robustml_attack.py pixeldefend/models/pixel_cnn_pp/model.py baseline/cifar10_input.py defensegan/tflib/cifar10.py randomization/robustml_attack.py sap/sap_model.py defensegan/defense.py pixeldefend/utils.py randomization/defense.py thermometer/robustml_attack.py defensegan/tflib/ops/layernorm.py baseline/cifar_model.py randomization/inceptionv3.py inputtransformations/inceptionv3.py defensegan/tflib/small_imagenet.py thermometer/robustml_model.py defensegan/tflib/mnist.py sap/robustml_model.py pixeldefend/models/pixelcnn_cifar.py defensegan/tflib/ops/deconv2d.py thermometer/cifar10_input.py randomization/robustml_model.py randomization/utils.py inputtransformations/utils.py defensegan/tflib/inception_score.py lid/extract_artifacts.py inputtransformations/imagenet_labels.py thermometer/discretization_attacks.py defensegan/l2_attack.py defensegan/tflib/ops/conv1d.py inputtransformations/defense.py lid/detect_adv_samples.py defensegan/tflib/ops/conv2d.py lid/util.py sap/cifar_model.py defensegan/tflib/ops/batchnorm.py randomization/imagenet_labels.py pixeldefend/defense.py thermometer/cifar_model.py DataSubset AugmentedCIFAR10Data CIFAR10Data AugmentedDataSubset Model show ReLULayer Generator LeakyReLULayer LeakyReLU CarliniL2 load cifar_generator unpickle _init_inception get_inception_score load mnist_generator flush plot tick save_images load make_generator param delete_all_params params_with_name alias_params delete_param_aliases print_model_settings_dict print_model_settings Batchnorm Batchnorm Conv1D enable_default_weightnorm Conv2D set_weights_stdev unset_weights_stdev enable_default_weightnorm Deconv2D set_weights_stdev unset_weights_stdev enable_default_weightnorm Layernorm enable_default_weightnorm disable_default_weightnorm set_weights_stdev unset_weights_stdev Linear defend_jpeg defend_tv bregman defend_crop make_defend_quilt defend_reduce label_to_name _preprocess model _get_model main load_image main BPDA InputTransformations load_image optimistic_restore one_hot make_classify DataSubset AugmentedCIFAR10Data CIFAR10Data AugmentedDataSubset make_pixeldefend Model main BPDA PixelDefend int_shape optimistic_restore make_classify label_to_name _init_model model model_spec int_shape energy_distance get_var_maybe_avg down_shifted_conv2d log_prob_from_logits conv2d gated_resnet discretized_mix_logistic_loss adam_updates get_name right_shift down_shifted_deconv2d down_shift dense down_right_shifted_conv2d concat_elu log_sum_exp nin deconv2d sample_from_discretized_mix_logistic down_right_shifted_deconv2d get_vars_maybe_avg defend label_to_name _preprocess model _get_model main EOT Randomization load_image optimistic_restore one_hot make_classify DataSubset AugmentedCIFAR10Data CIFAR10Data AugmentedDataSubset Model Attack main SAP SAPModel DataSubset AugmentedCIFAR10Data CIFAR10Data AugmentedDataSubset Model adv_dga adv_lspga discretize_range one_hot_to_thermometer unflatten_last random_convolution discretize_uniform get_centroids_by_percentile undiscretize_centroids undiscretize_uniform flatten_last discretize_centroids thermometer_to_one_hot Attack main Thermometer flatten join print range Linear Linear relu reshape transpose sigmoid Deconv2D random_normal Linear load close open append concatenate unpickle append expand_dims astype float32 join urlretrieve print extractall stat makedirs format get_state print shuffle set_state zeros len print urlretrieve update items list format join replace plot clear xlabel sort print ylabel mean clf savefig append keys values int isinstance imsave reshape transpose astype sqrt zeros floating enumerate Variable clear items list clear print sorted format print sorted format as_list param format print ones _fused_batch_norm_training batch_normalization zeros expand_dims moments cond embedding_lookup param ones reshape batch_normalization zeros moments uint8 astype float32 fromarray uint8 BytesIO astype float32 save inf shape sqrt zeros range uniform load reshape float32 placeholder matmul shape top_k to_float hasattr inception_v3_arg_scope inception_v3 default_image_size network_fn _preprocess default_image_size _get_model argmax optimistic_restore join print load_image extend randint shape save sample zeros float listdir astype float32 repeat resize open epsilon evaluate ImageNet BPDA add_argument imagenet_path InputTransformations ArgumentParser parse_args Session defense zeros restore sorted NewCheckpointReader Saver get_variable_to_shape_map int tanh constant exp reshape concat maximum reduce_sum sigmoid softmax linspace tile int_shape zeros PixelDefend cifar_path CIFAR10 join float32 placeholder optimistic_restore _model_func _init_model basename discretized_mix_logistic_loss _model_func get_shape len get_shape reduce_max len get_shape reduce_max len range len int tanh exp softplus reshape concat maximum where reduce_sum sigmoid log_prob_from_logits int_shape zeros log minimum tanh get_shape exp one_hot reshape maximum reduce_sum random_uniform int_shape argmax log average get_variable append get_var_maybe_avg get_shape gradients Variable name square pow assign sqrt assign_add zip append zeros str get_name get_name int_shape get_name int_shape reshape dense dropout nonlinearity sigmoid conv int_shape initialized_value split int_shape int_shape pad int_shape deconv2d pad int_shape deconv2d pad set_shape random_uniform crop_and_resize EOT Randomization SAP model Attack discretize_fn clip_by_value linspace thermometer_to_one_hot discretize_fn softmax_cross_entropy_with_logits discretize_range one_hot gradients model cumsum projection_fn one_hot_to_thermometer unflatten_last clip_by_value random_uniform stop_gradient flatten_last argmax range thermometer_to_one_hot softmax_cross_entropy_with_logits discretize_range one_hot zeros_like model cumsum projection_fn gradients one_hot_to_thermometer unflatten_last range sign shape softmax stop_gradient flatten_last argmax random_normal as_list reshape as_list int reshape append one_hot to_int32 one_hot_to_thermometer clip_by_value flatten_last lin_space map_fn to_float one_hot argmin one_hot_to_thermometer stack flatten_last squared_difference to_float argmax unflatten_last reduce_sum multiply unflatten_last reduce_sum thermometer_to_one_hot cumsum flatten_last unflatten_last one_hot to_int32 unflatten_last reduce_sum flatten_last conv2d flatten_last unflatten_last Thermometer
# Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examples ![](example.png) Above is an [adversarial example](https://blog.openai.com/adversarial-example-research/): the slightly perturbed image of the cat fools an InceptionV3 classifier into classifying it as "guacamole". Such "fooling images" are [easy to synthesize](http://www.anishathalye.com/2017/07/25/synthesizing-adversarial-examples/) using gradient descent ([Szegedy et al. 2013](https://arxiv.org/abs/1312.6199)). In our recent paper, we evaluate the robustness of nine papers accepted to ICLR 2018 as non-certified white-box-secure defenses to adversarial examples. We find that seven of the nine defenses provide a limited increase in robustness and can be broken by improved attack techniques we develop. Below is Table 1 from our paper, where we show the robustness of each accepted defense to the adversarial examples we can construct: | Defense | Dataset | Distance | Accuracy | |---|---|---|---| | [Buckman et al. (2018)](https://openreview.net/forum?id=S18Su--CW) | CIFAR | 0.031 (linf) | 0%* | | [Ma et al. (2018)](https://arxiv.org/abs/1801.02613) | CIFAR | 0.031 (linf) | 5% | | [Guo et al. (2018)](https://arxiv.org/abs/1711.00117) | ImageNet | 0.05 (l2) | 0%* |
1,389
anishathalye/pixel-deflection
['adversarial attack']
['Deflecting Adversarial Attacks with Pixel Deflection']
methods.py model_robustml.py utils.py main.py robustml_attack.py process_image classify_images process_image_parallel attack get_arguments pixel_deflection denoiser Model main BPDA get_img rgb2ycc batches ycc2rgb get_imagenet_labels get_map add_argument ArgumentParser preprocess_input join format decode_predictions print stack zip predict get_img window deflections get_map pixel_deflection zeros sigma format batches glob directory batch_size cpu_count print classify_images append preprocess_input clip get_session model print imsave float32 placeholder copy sparse_softmax_cross_entropy_with_logits sign classify_images range array log shape range get_session evaluate ImageNet print add_argument shape Model imagenet_path ArgumentParser parse_args BPDA dot T array float array astype load_img Normalize load open
# Deflecting Adversarial Attacks with Pixel Deflection The code in this repository demonstrates that [Deflecting Adversarial Attacks with Pixel Deflection](https://arxiv.org/abs/1801.08926) (Prakash et al. 2018) is ineffective in the white-box threat model. With an L-infinity perturbation of 4/255, we generate targeted adversarial examples with 97% success rate, and can reduce classifier accuracy to 0%. See [our note](https://arxiv.org/abs/1804.03286) for more context and details. ## Citation ```
1,390
anishazaveri/austen_plots
['causal inference']
['Sense and Sensitivity Analysis: Simple Post-Hoc Analysis of Bias Due to Unobserved Confounding']
austen_plots/__init__.py austen_plots/plot_helpers.py setup.py austen_plots/AustenPlot.py austen_plots/math_helpers.py AustenPlot calc_Rsqhat calc_Rsq calc_ahat calc_delta calc_ci get_color_palette modify_theme modify_Rsq_plot mean mean mean_squared_error polygamma mean_squared_error mean values quantile warn len theme_light labs theme idxmin
# austen_plots ## Installation The code has been tested on Python 3.8.12 with the packages specified in `requirements.txt` Easiest way to install is through [PyPi](https://pypi.org/project/austen-plots/) `pip install austen-plots` ## Introduction
1,391
anjbapat/D2T
['table to text generation', 'text generation']
['Table-to-text Generation by Structure-aware Seq2seq Learning']
Train/settings.py small_evaluate.py Train/train.py Train/train1.py Train/util.py Train/dataprepare.py Train/preprocessing.py Train/model.py main hierarchical_predictwords predictwords evaluate Lang readLang showsentences loaddata data2index Seq2Seq HierarchicalDecoder Attn PGenLayer EncoderBiLSTMMaxPool HierarchicalRNN AttnDecoderRNN EncoderLIN EncoderBiLSTM HierarchicalEncoderRNN EncoderRNN GlobalAttnDecoderRNN HierarchicalBiLSTM LocalAttnDecoderRNN HierarchicalLIN docEmbedding data_iter test_box_score_aligned doc2vec Boxdata main align_box_score readfile parse_argument hierarchical_predictwords get_batch evaluate find_max_block_numbers sequenceloss predictwords initGlobalEncoderInput Plain_seq_train add_sentence_paddings Hierarchical_seq_train setupconfig addpaddings main train get_batch find_max_block_numbers showconfig sequenceloss initGlobalEncoderInput Plain_seq_train add_sentence_paddings Hierarchical_seq_train addpaddings main train model_initialization gettime show_triplets load_model PriorityQueue show_attention asMinutes timeSince initGlobalEncoderInput push log LocalEncoder topk view squeeze GlobalEncoder shape permute local_decoder scatter_add range global_decoder PriorityQueue LongTensor initHidden copy zero_ Variable find_max_block_numbers zeros len unsqueeze log push topk squeeze shape permute encoder range scatter_add PriorityQueue LongTensor initHidden copy zero_ decoder Variable zeros len add_subplot seq_decode str matshow colorbar savefig sum model_initialization range Seq2Seq get_batch format LongTensor add_axes eval item addpaddings data_iter join Variable print subplots_adjust figure time format gettime evaluate print loaddata enumerate data2index Lang summary triplets addword readLang format print n_words readfile len tuple findword2index triplets summary append range len print maketriplets print pprint list sort shuffle range len items list range len data_iter readfile append enumerate ones range append len Variable zeros range int initGlobalEncoderInput log LocalEncoder view squeeze GlobalEncoder shape permute local_decoder range scatter_add global_decoder initHidden copy zero_ Variable find_max_block_numbers zeros len decoder Variable initHidden squeeze copy encoder log shape permute zero_ zeros range scatter_add list map to_matrix to_list max range len max range len sequenceloss zero_grad AttnDecoderRNN EncoderLIN save cuda EncoderBiLSTMMaxPool n_words docEmbedding list load_model load_state_dict HierarchicalLIN range state_dict Adagrad format Seq2Seq get_batch LongTensor gettime HierarchicalRNN init_weights EncoderBiLSTM addpaddings clip_grad_norm load NLLLoss time data_iter HierarchicalDecoder backward print Variable parameters add_sentence_paddings HierarchicalBiLSTM step decoder encoder exp predictwords next cuda pop format print getattr vars quit setupconfig train add_argument ArgumentParser exp print sum load list Adagrad load_model HierarchicalDecoder EncoderBiLSTMMaxPooling init_weights AttnDecoderRNN EncoderBiLSTM EncoderLIN HierarchicalEncoderRNN cuda parameters load_state_dict HierarchicalBiLSTM n_words HierarchicalLIN docEmbedding model_initialization print format showconfig floor time time load eval train load_state_dict print numpy format enumerate print
# D2T Text generation from structured data ## This is the project for automatically generating text summary given NBA game box-score. ## Requirements 1. Python 3.6 2. PyTorch 0.2 ## Data set We use Rotowire dataset for training as in Challenges in Data-to-Document Generation (Wiseman, Shieber, Rush; EMNLP 2017). This dataset consists of (human-written) NBA basketball game summaries aligned with their corresponding box- and line-scores. ## Basic Usage
1,392
ankit-vaghela30/Cilia-Segmentation
['semantic segmentation']
['The One Hundred Layers Tiramisu: Fully Convolutional DenseNets for Semantic Segmentation']
hastings/__main__.py hastings/prepare_data.py tests/preprocessing_test.py hastings/tiramisu_model.py tests/io_test.py setup.py hastings/unet_model.py hastings/fit_predict_unet.py tests/optical_flow_test.py hastings/io_support.py hastings/optical_flow.py hastings/preprocessing.py call_dl_model predict fit show load_img load_video modifyMask save_img mkdir make_data play load_all_video overlap contour2mask of2prediction optical_flow prepare_data call_prepare threshold blur gray2rgb rgb2hsv augment_data rgb2gray convert_images_gray2rgb hsv2rgb transition_dn up_path dropout relu concat down_path relu_bn conv reverse transition_up dense_block create_tiramisu conv_relu_bn bn unet test_load_all_video test_contour2mask test_load_img test_load_one_video test_overlap test_optical_flow call_dl_model predict fit show load_img load_video modifyMask save_img mkdir make_data play load_all_video overlap contour2mask of2prediction optical_flow prepare_data call_prepare threshold blur gray2rgb rgb2hsv augment_data rgb2gray convert_images_gray2rgb hsv2rgb transition_dn up_path dropout relu concat down_path relu_bn conv reverse transition_up dense_block create_tiramisu conv_relu_bn bn unet test_load_all_video test_contour2mask test_load_img test_load_one_video test_overlap test_optical_flow convert_images_gray2rgb save unet create_tiramisu load_weights convert_images_gray2rgb unet save create_tiramisu augment_data model save_path mask_path image_path mode model_path predict fit join imread join read load_video append join imread listdir makedirs imwrite imshow waitKey imshow waitKey destroyAllWindows load_img sorted load_img modifyMask resize append listdir array len medianBlur rgb2hsv gray2rgb threshold zeros_like calcOpticalFlowFarneback COLOR_BGR2GRAY NORM_MINMAX COLOR_HSV2BGR pi THRESH_BINARY play normalize expand_dims cartToPolar cvtColor contour2mask load_all_video optical_flow save_img mkdir print extend make_data array open print save_path prepare_data num_images data_path file_path save mode THRESH_BINARY load mean astype std append gray2rgb append concat conv_relu_bn range append transition_dn enumerate dense_block as_list concat concat enumerate transition_up dense_block as_list list up_path down_path Model conv reverse Input compile Model Input compile concatenate load_all_video load_video load_img contour2mask overlap optical_flow
# Cilia Segmentation This repository contains several algorithms for cilia segmentation and other support scripts for further experiments. Although Cilia segmentation is 3 label segmentation, we modify the mask to contain only cilia and background. We used three different approaches to solve the problen: 1) Optical Flow 2) Unet 3) Tiramisu # Data Data are sequences of frame images. There are 325 videos in total each with 100 consecutive frames of a grayscale video of cilia. 211 of them are for training and 114 for testing. Each training video also has one mask image with 3 labels. Background pixels are labeled 0, cells are labeled 1 and cilia are labeled as 2. The output is one mask for each testing video with pixels of cilia being labeled as 2. a
1,393
ankithmo/denoiseRBM
['denoising']
['Graph Signal Recovery Using Restricted Boltzmann Machines']
denoiseRBM/distort_X.py examples/DNN.py denoiseRBM/denoiseRBM.py examples/ogbn-arxiv/ogbn_arxiv.py examples/WikiCS/WikiCS.py denoiseRBM/distort_A.py setup.py examples/WikiCS/denoise_WikiCS.py denoiseRBM/utils.py denoiseRBM/RBM.py get_perf denoiseRBM distort_a_vt distort_a get_distorted_a distort_x_vt distort_x get_distorted_x B_RBM plot_tsne Z get_tsne train DNN test ogbn_arxiv test WikiCS list Ph_v model print empty_like test tqdm Pv_h to range load join show plot Ph_v xlabel print get_perf ylabel train_RBM empty_like test title load_state_dict Pv_h to exists update hstack close delete choice tqdm t set_description append tensor numpy get_distorted_a close rand_like size get_distorted_x item close array get_tsne criterion backward model zero_grad step eval argmax model load join list y distort_a PygNodePropPredDataset edge_index Evaluator get_idx_split num_nodes save tensor distort_x range x accuracy load join y arange num_classes edge_index pyg_WikiCS num_nodes save test_mask tensor distort_x distort_a x
# denoiseRBM: Alleviating the Noisy Data Problem using Restricted Boltzmann Machines
1,394
ankitshah009/unsupervised_video_retrieval_from_activity
['action recognition']
['Can Spatiotemporal 3D CNNs Retrace the History of 2D CNNs and ImageNet?']
utils/eval_ucf101.py finetuning/utils/video_jpg_kinetics.py finetuning/models/pre_act_resnet.py finetuning/test.py finetuning/datasets/activitynet.py models/resnet.py finetuning/utils/eval_hmdb51.py finetuning/models/wide_resnet.py utils/video_jpg.py finetuning/train.py finetuning/datasets/ucf101.py finetuning/utils/video_jpg.py opts.py finetuning/target_transforms.py finetuning/datasets/hmdb51.py models/resnext.py train.py finetuning/temporal_transforms.py finetuning/mean.py datasets/hmdb51.py finetuning/opts.py finetuning/datasets/kinetics.py dataset.py finetuning/dataset.py finetuning/spatial_transforms.py finetuning/utils/n_frames_ucf101_hmdb51.py finetuning/utils/video_jpg_ucf101_hmdb51.py finetuning/utils.py models/densenet.py models/wide_resnet.py finetuning/utils/eval_kinetics.py utils.py finetuning/validation.py finetuning/utils/eval_ucf101.py utils/eval_kinetics.py utils/ucf101_json.py datasets/activitynet.py finetuning/models/resnext.py models/pre_act_resnet.py temporal_transforms.py test.py finetuning/models/resnet.py utils/kinetics_json.py datasets/ucf101.py finetuning/utils/hmdb51_json.py utils/eval_hmdb51.py mean.py utils/hmdb51_json.py utils/n_frames_ucf101_hmdb51.py datasets/kinetics.py finetuning/utils/n_frames_kinetics.py main.py target_transforms.py model.py utils/n_frames_kinetics.py utils/video_jpg_ucf101_hmdb51.py finetuning/utils/kinetics_json.py utils/fps.py validation.py finetuning/utils/fps.py spatial_transforms.py finetuning/models/densenet.py finetuning/main.py finetuning/utils/ucf101_json.py finetuning/model.py utils/video_jpg_kinetics.py get_training_set get_test_set get_validation_set get_std get_mean generate_model parse_opts MultiScaleCornerCrop CenterCrop MultiScaleRandomCrop ToTensor Compose Scale Normalize RandomHorizontalFlip CornerCrop ClassLabel VideoID Compose TemporalBeginCrop LoopPadding TemporalCenterCrop TemporalRandomCrop calculate_video_results test calculate_accuracy AverageMeter Logger load_value_file modify_frame_indices get_class_labels load_annotation_data video_loader get_end_t make_dataset ActivityNet accimage_loader get_default_image_loader get_default_video_loader make_untrimmed_dataset pil_loader get_video_names_and_annotations get_class_labels load_annotation_data video_loader make_dataset accimage_loader HMDB51 get_default_image_loader get_default_video_loader pil_loader get_video_names_and_annotations get_class_labels load_annotation_data video_loader make_dataset accimage_loader Kinetics get_default_image_loader get_default_video_loader pil_loader get_video_names_and_annotations UCF101 get_class_labels load_annotation_data video_loader make_dataset accimage_loader get_default_image_loader get_default_video_loader pil_loader get_video_names_and_annotations get_training_set get_test_set get_validation_set get_std get_mean generate_model parse_opts MultiScaleCornerCrop CenterCrop MultiScaleRandomCrop ToTensor Compose Scale Normalize RandomHorizontalFlip CornerCrop ClassLabel VideoID Compose TemporalBeginCrop LoopPadding TemporalCenterCrop TemporalRandomCrop calculate_video_results test calculate_accuracy AverageMeter Logger load_value_file modify_frame_indices get_class_labels load_annotation_data video_loader get_end_t make_dataset ActivityNet accimage_loader get_default_image_loader get_default_video_loader make_untrimmed_dataset pil_loader get_video_names_and_annotations get_class_labels load_annotation_data video_loader make_dataset accimage_loader HMDB51 get_default_image_loader get_default_video_loader pil_loader get_video_names_and_annotations get_class_labels load_annotation_data video_loader make_dataset accimage_loader Kinetics get_default_image_loader get_default_video_loader pil_loader get_video_names_and_annotations UCF101 get_class_labels load_annotation_data video_loader make_dataset accimage_loader get_default_image_loader get_default_video_loader pil_loader get_video_names_and_annotations get_fine_tuning_parameters DenseNet densenet201 densenet169 densenet264 _DenseLayer _DenseBlock _Transition densenet121 conv3x3x3 get_fine_tuning_parameters resnet50 downsample_basic_block resnet152 PreActivationBasicBlock resnet34 resnet200 PreActivationBottleneck resnet18 PreActivationResNet resnet101 conv3x3x3 get_fine_tuning_parameters ResNet downsample_basic_block resnet50 Bottleneck resnet152 resnet34 resnet200 resnet18 resnet10 BasicBlock resnet101 ResNeXtBottleneck conv3x3x3 get_fine_tuning_parameters resnet50 downsample_basic_block ResNeXt resnet152 resnet101 conv3x3x3 get_fine_tuning_parameters WideBottleneck resnet50 downsample_basic_block WideResNet HMDBclassification compute_video_hit_at_k get_blocked_videos KINETICSclassification compute_video_hit_at_k UCFclassification compute_video_hit_at_k convert_hmdb51_csv_to_activitynet_json get_labels convert_csv_to_dict load_labels convert_kinetics_csv_to_activitynet_json convert_csv_to_dict class_process class_process load_labels convert_ucf101_csv_to_activitynet_json convert_csv_to_dict class_process class_process get_fine_tuning_parameters DenseNet densenet201 densenet169 densenet264 _DenseLayer _DenseBlock _Transition densenet121 conv3x3x3 get_fine_tuning_parameters resnet50 downsample_basic_block resnet152 PreActivationBasicBlock resnet34 resnet200 PreActivationBottleneck resnet18 PreActivationResNet resnet101 conv3x3x3 get_fine_tuning_parameters ResNet downsample_basic_block resnet50 Bottleneck resnet152 resnet34 resnet200 resnet18 resnet10 BasicBlock resnet101 ResNeXtBottleneck conv3x3x3 get_fine_tuning_parameters resnet50 downsample_basic_block ResNeXt resnet152 resnet101 conv3x3x3 get_fine_tuning_parameters WideBottleneck resnet50 downsample_basic_block WideResNet HMDBclassification compute_video_hit_at_k get_blocked_videos KINETICSclassification compute_video_hit_at_k UCFclassification compute_video_hit_at_k convert_hmdb51_csv_to_activitynet_json get_labels convert_csv_to_dict load_labels convert_kinetics_csv_to_activitynet_json convert_csv_to_dict class_process class_process load_labels convert_ucf101_csv_to_activitynet_json convert_csv_to_dict class_process class_process video_path UCF101 ActivityNet Kinetics annotation_path HMDB51 video_path UCF101 n_val_samples ActivityNet Kinetics annotation_path HMDB51 video_path UCF101 ActivityNet Kinetics annotation_path HMDB51 get_fine_tuning_parameters in_features densenet264 DataParallel ft_begin_index resnet34 resnet152 cuda load_state_dict resnet200 resnet101 resnet18 format resnet50 resnet10 n_finetune_classes Linear load densenet169 densenet201 print pretrain_path densenet121 parse_args set_defaults add_argument ArgumentParser topk size mean stack append range update time format model print Variable cpu AverageMeter size eval softmax calculate_video_results append range enumerate len topk view size t eq item join format image_loader append exists get_default_image_loader append enumerate append items list format append join format items list format join get_class_labels deepcopy load_annotation_data print modify_frame_indices len load_value_file ceil max range append get_video_names_and_annotations sort listdir items list format join get_class_labels deepcopy load_annotation_data print modify_frame_indices len load_value_file get_end_t ceil max range append get_video_names_and_annotations int min DenseNet DenseNet DenseNet DenseNet append format range named_parameters data isinstance FloatTensor Variable zero_ avg_pool3d cuda cat PreActivationResNet PreActivationResNet PreActivationResNet PreActivationResNet PreActivationResNet PreActivationResNet ResNet ResNet ResNet ResNet ResNet ResNet ResNet ResNeXt ResNeXt ResNeXt WideResNet reset_index size tolist mean unique zeros values enumerate Request urlopen format ceil join read_csv append listdir range len append join listdir update get_labels convert_csv_to_dict read_csv update load_labels convert_csv_to_dict join int print sort append listdir split append range update load_labels convert_csv_to_dict format call mkdir splitext exists endswith
This is the repository for implementation of Unsupervised Video Representation using 3D convNets which is primarily geared towards understanding activities in videos. We use the basecode from 3D ResNets for Action Recognition for this task. Commands to run the codebase ### Training of the Triplets CUDA_VISIBLE_DEVICES=0,1,2,3 python main.py --root_path ./data --video_path ucf/jpg --annotation_path ucf/ucf101_01.json \ --result_path ucf/results_triplet --dataset ucf101 --n_classes 101 --model resnext \ --model_depth 101 --resnet_shortcut B --resnext_cardinality 32 --sample_duration 64 --batch_size 16 \ --n_threads 32 --checkpoint 5 --n_epochs 400 \ CUDA_VISIBLE_DEVICES=1,2,3 python main.py --root_path ./data --video_path hmdb/jpg --annotation_path hmdb/hmdb51_1.json \ --result_path hmdb/results_triplet_scratch --dataset hmdb51 --n_classes 51 --model resnext \
1,395
anlausch/ArguminSci
['argument mining']
['ArguminSci: A Tool for Analyzing Argumentation and Rhetorical Aspects in Scientific Writing']
load_conll.py api.py serve.py utils.py arguminsci.py Server connect_spans index to_index exceptions assign_style_classes after_request predict transform_to_model_input_multiple parse_conll_file load_data parse_conll_files main load_data_multiple transform_to_model_input main Model 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 append assign_style_classes enumerate join connect_spans error dumps info error scheme status strftime full_path remote_addr method error scheme strftime full_path remote_addr format_exc method append readlines print split walk append array append array str print parse_conll_files transform_to_model_input len str transform_to_model_input_multiple print parse_conll_files len print parse_conll_files transform_to_model_input 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
# ArguminSci Analyze Argumentation and other Rhetorical Aspects in Scientific Writing. Here you can find the code necessary to deploy ArguminSci. A detailed description of the tool can be found in the accompanying publication [1]. ArguminSci's models are not included in this Github repository due to space reasons. They can be found here: http://data.dws.informatik.uni-mannheim.de/arguminsci/. In order to include them, just download the folder and copy it to ArguminSci's root. The final project structure should look like this: ``` Arguminsci - static (static files for the web app) - templates (for the template rendering engine used for the web app) - test (a test file)
1,396
anlok/depthmap-loktev
['depth estimation', 'monocular depth estimation']
['Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-shot Cross-dataset Transfer']
models/transforms.py run.py models/blocks.py hubconf.py utils.py models/midas_net.py models/base_model.py MiDaS run write_depth read_pfm write_pfm resize_image resize_depth read_image BaseModel ResidualConvUnit Interpolate _make_encoder _make_resnet_backbone _make_scratch _make_pretrained_resnext101_wsl FeatureFusionBlock MidasNet Resize NormalizeImage apply_min_size PrepareForNet load_state_dict_from_url MidasNet load_state_dict join write_depth format print glob Compose makedirs eval MidasNet device to read_image enumerate len imread COLOR_GRAY2BGR cvtColor COLOR_BGR2RGB float unsqueeze astype resize to numpy resize imwrite min astype float32 write_pfm max _make_scratch _make_pretrained_resnext101_wsl bn1 layer1 Module relu maxpool Sequential layer3 layer4 layer2 conv1 load Module Conv2d list tuple astype float32 shape resize ceil max
## Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-shot Cross-dataset Transfer This repository contains code to compute depth from a single image. It accompanies our [paper](https://arxiv.org/abs/1907.01341v2): >Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-shot Cross-dataset Transfer René Ranftl, Katrin Lasinger, David Hafner, Konrad Schindler, Vladlen Koltun The pre-trained model corresponds to `DS 4` with multi-objective optimization enabled. ### Changelog * **[Dec 2019] Released new version of MiDaS - the new model is significantly more accurate and robust** * [Jul 2019] Initial release of MiDaS ([Link](https://github.com/intel-isl/MiDaS/releases/tag/v1)) ### Setup 1) Download the model weights [model.pt](https://github.com/intel-isl/MiDaS/releases/download/v2/model.pt) and place the
1,397
anna-184702/convCNPClimate
['gaussian processes']
['Convolutional conditional neural processes for local climate downscaling']
convCNP/training/utils.py convCNP/elevation_double_convCNP/land_final_layers.py convCNP/models/final_layers.py convCNP/validation/metrics.py convCNP/validation/utils.py convCNP/models/elev_models.py convCNP/training/training_elev.py convCNP/training/loss_functions.py convCNP/models/mlp.py convCNP/models/models.py convCNP/models/utils.py convCNP/elevation_double_convCNP/stack_conv_models.py convCNP/models/gamma_gp_elev_models.py convCNP/models/multivar_models_precip_init.py convCNP/models/multivar_models_tmax_init.py convCNP/models/gamma_gp_final_layers.py convCNP/models/encoder.py setup.py convCNP/models/model_utils.py convCNP/models/cnn.py LandFinalLayer LandGaussianFinalLayer LandParamLayer LandGammaFinalLayer StackConvCNP LandConvCNPPrecip LandConvCNP CNN channels_to_2nd_dim UNet channels_to_last_dim make_depth_sep_conv ResConvBlock TmaxBiasConvCNPElev GammaBiasConvCNPElev Encoder ParamLayer GammaFinalLayer FinalLayer GaussianFinalLayer GammaGPFinalLayer GammaGPBiasConvCNPElev ParamLayer GammaGPFinalLayer FinalLayer MLP TmaxBiasConvCNP GammaGPBiasConvCNP GammaBiasConvCNP ProbabilityConverter GammaElevStacked TmaxElevStacked GammaElevStacked TmaxElevStacked log_exp generate_context_mask force_positive get_dists gamma_ll tbi_func gamma_gp_ll gll train_epoch_elev eval_epoch_elev train_elev train_batch_elev log_exp get_value_tmax get_value_pr_gammagp generate_context_mask tbi_func get_fold_data shuffle_data make_r_mask r10 sd2 get_spell_length mae wet_spell_mb wd_probability lag_two_autocorr warm_spell_mean correlations r01 dry_spell_mb P98Wet_amount P98Wet ks_test lag_one_autocorr mean_bias ww_probability get_output load_model generate_context_mask load_model_precip get_dists shape zeros exp log where reshape Normal view Gamma reshape log make_r_mask log_prob Gamma exp clamp pi atan log_prob tbi_func reshape linspace make_r_mask sum cuda log backward model generate_context_mask zero_grad shape step median format abs print get_value mean eval correlation zeros numpy range cat train mean item append float train_batch_elev eval_epoch_elev format print train_epoch_elev get_fold_data save append range shuffle linspace shuffle_data cat split cuda tbi_func linspace sum cuda range mean correlation zeros logical_and range shape zeros logical_and range shape append get_spell_length mean shape zeros array get_spell_length mean shape zeros array quantile sum zeros get_spell_length quantile shape acf acf CNN load print GammaBiasConvCNPElev OrderedDict load_state_dict to CNN load TmaxBiasConvCNPElev OrderedDict load_state_dict to
# convCNPClimate Implementation of convolutional conditional neural processes for statistical downscaling following https://gmd.copernicus.org/preprints/gmd-2020-420/. ![alt text](graz_tmax.png) ## Examples Trained models are included in examples/. The notebooks - precip_marginal_prediction.ipynb - tmax_marginal_prediction.ipynb Demonstrate using trained models to make predictions at held out stations ## Models Source code for different sections of the paper can be found in
1,398
anncollin/AnomalyDetection-Keras
['anomaly detection']
['Improved anomaly detection by training an autoencoder with skip connections on images corrupted with Stain-shaped noise']
datasets/add_corruption.py utils/launch_code.py utils/ROC.py utils/callbacks.py utils/helper.py Models/ClassImtoIm.py Models/Networks/AESc.py utils/import_lib.py Models/SuperClass.py GUI/GUI1.py GUI/helper.py Models/Networks/AE.py Models/Losses.py main.py utils/instantiate_net.py utils/patch.py datasets/dataset.py GUI/GUI2.py utils/make_graph.py main add_drops _root _sin clockwiseangle corrupt_image perturbate_ellipse corrupt_dataset add_gaussian _line corrupt func_x add_scratch add_stain Dataset launch_dialog_box launch_analysis_box draw_figure hjson_parser show_im print_ROC update_list print_learning_curves show_im_with_uncertainty show_im_withdef ImtoIm PSNRLoss MSE Network_Class build_model build_model HistoryCheckpoint label_generator drop_array process_im read_folder read_json read_png add print_array write_json deprocess_im iterate_dict diff instantiate_net get_preview corrupt_db import_new_db train_net evaluate_net show print_learningcurves show_tight print_MCevaluation print_evaluationMCDRopout show_im print_ROC print_MCevaluation_individual print_evaluation_individual print_2DROC print_evaluation print_PIXEL_WISE_ROC patchify depatchify compute_ROC_pixel_wise compute_combinedROC psnr l_metric compute_ROC compute_2DcombinedROC listdir remove corrupt_db sort import_new_db gui2 read_json launch_analysis_box gui1 train_net todo launch_dialog_box evaluate_net makedirs int add_drops add_gaussian uniform float add_scratch add_stain corrupt_image copy enumerate corrupt_image read_json copy enumerate int ellipse_perimeter drawContours max ones perturbate_ellipse subtract random_noise multiply pi dstack add shape uniform randint array zeros gaussian_filter sorted arange linspace append max enumerate len hypot atan2 int ones subtract random_noise multiply log dstack add shape zip append randint range zeros circle random_noise add normal int shape func_x randint range append list arange show_im Read str list corrupt_db import_new_db update_list TKCanvas append range get_preview draw_figure hjson_parser create_ds Update write_json listdir evaluate_net enumerate items print sort Popup makedirs train_net Layout split len read_json Column Read max values show read_png update_list TKCanvas append range draw_figure print_ROC Finalize forget Update enumerate print_learningcurves sort split len gcf imshow axis figure gcf axis imshow figure masked_where gcf axis imshow figure masked_where diff pack FigureCanvasTkAgg draw gcf plot xlabel read_json ylabel tight_layout figure legend zip round auc gcf list plot xlabel ylabel tight_layout figure legend range len resize_layer Depth MCDropout Loss Model import_module getattr range compile str parent makedirs imread gray2rgb resize join sort read_png append listdir str squeeze makedirs imsave enumerate int remove str makedirs listdir imsave enumerate len int16 reshape astype squeeze uint8 astype ones randint zeros enumerate items list isinstance load_test create_model load_train import_module getattr class_ Dataset makedirs copy_folder write_json zip listdir range len read_folder sort corrupt append range len items list str read_folder sort makedirs corrupt print_array write_json append range len start Process join copy evaluate read_json evaluate_MCDropout load_weights instantiate_net show tight_layout gcf str parent close tight_layout axis imshow savefig figure makedirs close imshow set_visible savefig figure update gcf list plot xlabel rc close ylabel tight_layout savefig figure legend range len str parent set_title squeeze add_subplot axis close imshow savefig figure diff makedirs str parent squeeze close colorbar imshow set_visible savefig figure tick_params diff array makedirs str parent set_title squeeze add_subplot axis close imshow savefig figure makedirs str parent squeeze close colorbar imshow set_visible savefig figure tick_params array makedirs str parent set_title squeeze rgb2gray add_subplot axis close imshow savefig figure masked_where makedirs update str parent rc close savefig makedirs update str parent plot xlabel rc read_json close ylabel savefig figure legend makedirs read_json add_subplot round convex_hull str set_xlabel savefig legend append update plot close zip auc parent rc set_ylabel figure array makedirs vstack ceil array range append zeros zip float64 sum astype tolist copy l_metric zip append array diff squeeze tolist copy ravel zip append sum array diff print tolist copy l_metric zip append auc round array enumerate diff len copy argsort l_metric zip append sum array enumerate diff
# Anomaly Detection Framework for Industrial Vision ## Table of contents - [Context](#Context) - [Overview of the Method](#Overview-of-the-Method) - [Dependencies](#Dependencies) - [Key Components of the Implementation](#Key-Components-of-the-Implementation) - [Definition of the Stain noise corruption](#Definition-of-the-Stain-noise-corruption) - [The Graphical User Interface](#The-Graphical-User-Interface) ## Context
1,399