在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → google的tensor2tensor的学习源码

google的tensor2tensor的学习源码

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:92.14M
  • 下载次数:2
  • 浏览次数:48
  • 发布时间:2021-01-31
  • 实例类别:一般编程问题
  • 发 布 人:好学IT男
  • 文件格式:.zip
  • 所需积分:2
 

实例介绍

【实例简介】
可以参考 https://blog.csdn.net/csa121/article/category/7518359 学习使用
【实例截图】
【核心代码】
65227ec0-84da-47f4-b499-0cff81a1f829
├── __MACOSX
│   └── t2t
│   └── tensor2tensor
│   ├── mylib
│   └── tensor2tensor
│   └── t2t_test
│   ├── data
│   ├── my_usr_dir
│   ├── samples
│   └── train
└── t2t
├── serving
│   ├── AUTHORS
│   ├── CONTRIBUTING.md
│   ├── LICENSE
│   ├── README.md
│   ├── RELEASE.md
│   ├── tensorflow_serving
│   │   ├── apis
│   │   │   ├── BUILD
│   │   │   ├── classification.proto
│   │   │   ├── classifier.h
│   │   │   ├── get_model_metadata.proto
│   │   │   ├── get_model_status.proto
│   │   │   ├── inference.proto
│   │   │   ├── input.proto
│   │   │   ├── internal
│   │   │   │   ├── BUILD
│   │   │   │   └── serialized_input.proto
│   │   │   ├── model_management.proto
│   │   │   ├── model.proto
│   │   │   ├── model_service_pb2_grpc.py
│   │   │   ├── model_service_pb2.py
│   │   │   ├── model_service.proto
│   │   │   ├── prediction_service_pb2.py
│   │   │   ├── prediction_service.proto
│   │   │   ├── predict.proto
│   │   │   ├── regression.proto
│   │   │   └── regressor.h
│   │   ├── batching
│   │   │   ├── batching_session.cc
│   │   │   ├── batching_session.h
│   │   │   ├── batching_session_test.cc
│   │   │   ├── batching_util.cc
│   │   │   ├── batching_util.h
│   │   │   ├── batching_util_test.cc
│   │   │   ├── batch_scheduler_retrier.h
│   │   │   ├── batch_scheduler_retrier_test.cc
│   │   │   ├── BUILD
│   │   │   ├── README.md
│   │   │   ├── streaming_batch_scheduler.cc
│   │   │   ├── streaming_batch_scheduler.h
│   │   │   ├── streaming_batch_scheduler_test.cc
│   │   │   ├── testdata
│   │   │   │   ├── BUILD
│   │   │   │   └── matrix_half_plus_two
│   │   │   │   └── 1
│   │   │   │   └── saved_model.pb
│   │   │   └── test_util
│   │   │   ├── BUILD
│   │   │   ├── matrix_half_plus_two_saved_model.py
│   │   │   ├── puppet_batch_scheduler.h
│   │   │   └── puppet_batch_scheduler_test.cc
│   │   ├── BUILD
│   │   ├── config
│   │   │   ├── BUILD
│   │   │   ├── log_collector_config.proto
│   │   │   ├── logging_config.proto
│   │   │   ├── model_server_config.proto
│   │   │   └── platform_config.proto
│   │   ├── core
│   │   │   ├── aspired_version_policy.cc
│   │   │   ├── aspired_version_policy.h
│   │   │   ├── aspired_version_policy_test.cc
│   │   │   ├── aspired_versions_manager_benchmark.cc
│   │   │   ├── aspired_versions_manager_builder.cc
│   │   │   ├── aspired_versions_manager_builder.h
│   │   │   ├── aspired_versions_manager_builder_test.cc
│   │   │   ├── aspired_versions_manager.cc
│   │   │   ├── aspired_versions_manager.h
│   │   │   ├── aspired_versions_manager_test.cc
│   │   │   ├── availability_preserving_policy.cc
│   │   │   ├── availability_preserving_policy.h
│   │   │   ├── availability_preserving_policy_test.cc
│   │   │   ├── basic_manager.cc
│   │   │   ├── basic_manager.h
│   │   │   ├── basic_manager_test.cc
│   │   │   ├── BUILD
│   │   │   ├── caching_manager.cc
│   │   │   ├── caching_manager.h
│   │   │   ├── caching_manager_test.cc
│   │   │   ├── dynamic_source_router.h
│   │   │   ├── dynamic_source_router_test.cc
│   │   │   ├── loader.h
│   │   │   ├── loader_harness.cc
│   │   │   ├── loader_harness.h
│   │   │   ├── loader_harness_test.cc
│   │   │   ├── load_servables_fast.cc
│   │   │   ├── load_servables_fast.h
│   │   │   ├── log_collector.cc
│   │   │   ├── log_collector.h
│   │   │   ├── log_collector_test.cc
│   │   │   ├── logging.proto
│   │   │   ├── manager.h
│   │   │   ├── manager_test.cc
│   │   │   ├── manager_wrapper.cc
│   │   │   ├── manager_wrapper.h
│   │   │   ├── README.md
│   │   │   ├── request_logger.cc
│   │   │   ├── request_logger.h
│   │   │   ├── request_logger_test.cc
│   │   │   ├── resource_preserving_policy.cc
│   │   │   ├── resource_preserving_policy.h
│   │   │   ├── resource_preserving_policy_test.cc
│   │   │   ├── servable_data.h
│   │   │   ├── servable_data_test.cc
│   │   │   ├── servable_handle.h
│   │   │   ├── servable_id.h
│   │   │   ├── servable_id_test.cc
│   │   │   ├── servable_state.h
│   │   │   ├── servable_state_monitor.cc
│   │   │   ├── servable_state_monitor.h
│   │   │   ├── servable_state_monitor_test.cc
│   │   │   ├── server_request_logger.cc
│   │   │   ├── server_request_logger.h
│   │   │   ├── server_request_logger_test.cc
│   │   │   ├── simple_loader.h
│   │   │   ├── simple_loader_test.cc
│   │   │   ├── source_adapter.h
│   │   │   ├── source_adapter_test.cc
│   │   │   ├── source.h
│   │   │   ├── source_router.h
│   │   │   ├── source_router_test.cc
│   │   │   ├── static_manager.cc
│   │   │   ├── static_manager.h
│   │   │   ├── static_manager_test.cc
│   │   │   ├── static_source_router.h
│   │   │   ├── static_source_router_test.cc
│   │   │   ├── storage_path.h
│   │   │   ├── storage_path_test.cc
│   │   │   ├── target.h
│   │   │   └── test_util
│   │   │   ├── availability_test_util.cc
│   │   │   ├── availability_test_util.h
│   │   │   ├── BUILD
│   │   │   ├── fake_loader.cc
│   │   │   ├── fake_loader.h
│   │   │   ├── fake_loader_source_adapter.cc
│   │   │   ├── fake_loader_source_adapter.h
│   │   │   ├── fake_loader_source_adapter.proto
│   │   │   ├── fake_log_collector.h
│   │   │   ├── fake_storage_path_source_adapter.cc
│   │   │   ├── fake_storage_path_source_adapter.h
│   │   │   ├── manager_test_util.cc
│   │   │   ├── manager_test_util.h
│   │   │   ├── mock_loader.h
│   │   │   ├── mock_log_collector.h
│   │   │   ├── mock_request_logger.h
│   │   │   ├── mock_server_request_logger.h
│   │   │   ├── mock_session.h
│   │   │   ├── mock_storage_path_target.h
│   │   │   ├── servable_handle_test_util.h
│   │   │   └── test_main.cc
│   │   ├── example
│   │   │   ├── BUILD
│   │   │   ├── imagenet_lsvrc_2015_synsets.txt
│   │   │   ├── imagenet_metadata.txt
│   │   │   ├── inception_client.cc
│   │   │   ├── inception_client.py
│   │   │   ├── inception_k8s.yaml
│   │   │   ├── inception_saved_model.py
│   │   │   ├── mnist_client.py
│   │   │   ├── mnist_input_data.py
│   │   │   └── mnist_saved_model.py
│   │   ├── g3doc
│   │   │   ├── architecture_overview.md
│   │   │   ├── _config.yml
│   │   │   ├── css
│   │   │   │   └── main.scss
│   │   │   ├── custom_servable.md
│   │   │   ├── custom_source.md
│   │   │   ├── docker.md
│   │   │   ├── images
│   │   │   │   ├── serving_architecture.svg
│   │   │   │   └── tf_diagram.svg
│   │   │   ├── _includes
│   │   │   │   ├── footer.html
│   │   │   │   ├── header.html
│   │   │   │   ├── head.html
│   │   │   │   ├── icon-github.html
│   │   │   │   ├── icon-github.svg
│   │   │   │   ├── icon-twitter.html
│   │   │   │   ├── icon-twitter.svg
│   │   │   │   └── nav.md
│   │   │   ├── index.md
│   │   │   ├── _layouts
│   │   │   │   └── default.html
│   │   │   ├── leftnav_files
│   │   │   ├── METADATA
│   │   │   ├── _sass
│   │   │   │   ├── _base.scss
│   │   │   │   ├── _layout.scss
│   │   │   │   └── _syntax-highlighting.scss
│   │   │   ├── serving_advanced.md
│   │   │   ├── serving_basic.md
│   │   │   ├── serving_inception.md
│   │   │   ├── setup.md
│   │   │   └── signature_defs.md
│   │   ├── model_servers
│   │   │   ├── BUILD
│   │   │   ├── get_model_status_impl.cc
│   │   │   ├── get_model_status_impl.h
│   │   │   ├── get_model_status_impl_test.cc
│   │   │   ├── grpc_status_util.cc
│   │   │   ├── grpc_status_util.h
│   │   │   ├── main.cc
│   │   │   ├── model_platform_types.h
│   │   │   ├── model_service_impl.cc
│   │   │   ├── model_service_impl.h
│   │   │   ├── platform_config_util.cc
│   │   │   ├── platform_config_util.h
│   │   │   ├── server_core.cc
│   │   │   ├── server_core.h
│   │   │   ├── server_core_test.cc
│   │   │   ├── tensorflow_model_server_test_client.py
│   │   │   ├── tensorflow_model_server_test.py
│   │   │   └── test_util
│   │   │   ├── BUILD
│   │   │   ├── mock_server_core.h
│   │   │   ├── server_core_test_util.cc
│   │   │   ├── server_core_test_util.h
│   │   │   ├── storage_path_error_injecting_source_adapter.cc
│   │   │   ├── storage_path_error_injecting_source_adapter.h
│   │   │   └── storage_path_error_injecting_source_adapter.proto
│   │   ├── repo.bzl
│   │   ├── resources
│   │   │   ├── BUILD
│   │   │   ├── resources.proto
│   │   │   ├── resource_tracker.cc
│   │   │   ├── resource_tracker.h
│   │   │   ├── resource_tracker_test.cc
│   │   │   ├── resource_util.cc
│   │   │   ├── resource_util.h
│   │   │   ├── resource_util_test.cc
│   │   │   ├── resource_values.cc
│   │   │   └── resource_values.h
│   │   ├── servables
│   │   │   ├── hashmap
│   │   │   │   ├── BUILD
│   │   │   │   ├── hashmap_source_adapter.cc
│   │   │   │   ├── hashmap_source_adapter.h
│   │   │   │   ├── hashmap_source_adapter.proto
│   │   │   │   └── hashmap_source_adapter_test.cc
│   │   │   └── tensorflow
│   │   │   ├── BUILD
│   │   │   ├── bundle_factory_test.h
│   │   │   ├── bundle_factory_test_util.cc
│   │   │   ├── bundle_factory_test_util.h
│   │   │   ├── bundle_factory_util.cc
│   │   │   ├── bundle_factory_util.h
│   │   │   ├── bundle_factory_util_test.cc
│   │   │   ├── classification_service.cc
│   │   │   ├── classification_service.h
│   │   │   ├── classification_service_test.cc
│   │   │   ├── classifier.cc
│   │   │   ├── classifier.h
│   │   │   ├── classifier_test.cc
│   │   │   ├── curried_session.cc
│   │   │   ├── curried_session.h
│   │   │   ├── curried_session_test.cc
│   │   │   ├── get_model_metadata_impl.cc
│   │   │   ├── get_model_metadata_impl.h
│   │   │   ├── get_model_metadata_impl_test.cc
│   │   │   ├── multi_inference.cc
│   │   │   ├── multi_inference.h
│   │   │   ├── multi_inference_test.cc
│   │   │   ├── predict_impl.cc
│   │   │   ├── predict_impl.h
│   │   │   ├── predict_impl_test.cc
│   │   │   ├── regression_service.cc
│   │   │   ├── regression_service.h
│   │   │   ├── regression_service_test.cc
│   │   │   ├── regressor.cc
│   │   │   ├── regressor.h
│   │   │   ├── regressor_test.cc
│   │   │   ├── saved_model_bundle_factory.cc
│   │   │   ├── saved_model_bundle_factory.h
│   │   │   ├── saved_model_bundle_factory_test.cc
│   │   │   ├── saved_model_bundle_source_adapter.cc
│   │   │   ├── saved_model_bundle_source_adapter.h
│   │   │   ├── saved_model_bundle_source_adapter.proto
│   │   │   ├── saved_model_bundle_source_adapter_test.cc
│   │   │   ├── serving_session.cc
│   │   │   ├── serving_session.h
│   │   │   ├── session_bundle_config.proto
│   │   │   ├── session_bundle_factory.cc
│   │   │   ├── session_bundle_factory.h
│   │   │   ├── session_bundle_factory_test.cc
│   │   │   ├── session_bundle_source_adapter.cc
│   │   │   ├── session_bundle_source_adapter.h
│   │   │   ├── session_bundle_source_adapter.proto
│   │   │   ├── session_bundle_source_adapter_test.cc
│   │   │   ├── simple_servers.cc
│   │   │   ├── simple_servers.h
│   │   │   ├── simple_servers_test.cc
│   │   │   ├── testdata
│   │   │   │   ├── bad_half_plus_two
│   │   │   │   │   └── 00000123
│   │   │   │   │   ├── checkpoint
│   │   │   │   │   ├── export
│   │   │   │   │   └── export.meta
│   │   │   │   ├── bad_model_config.txt
│   │   │   │   ├── batching_config.txt
│   │   │   │   ├── BUILD
│   │   │   │   ├── export_bad_half_plus_two.py
│   │   │   │   ├── export_counter.py
│   │   │   │   ├── export_half_plus_two.py
│   │   │   │   ├── good_model_config.txt
│   │   │   │   ├── half_plus_two
│   │   │   │   │   └── 00000123
│   │   │   │   │   ├── export.data-00000-of-00001
│   │   │   │   │   ├── export.index
│   │   │   │   │   └── export.meta
│   │   │   │   ├── half_plus_two_2_versions
│   │   │   │   │   ├── 00000123
│   │   │   │   │   │   ├── export.data-00000-of-00001
│   │   │   │   │   │   ├── export.index
│   │   │   │   │   │   └── export.meta
│   │   │   │   │   └── 00000124
│   │   │   │   │   ├── export.data-00000-of-00001
│   │   │   │   │   ├── export.index
│   │   │   │   │   └── export.meta
│   │   │   │   ├── saved_model_counter
│   │   │   │   │   └── 00000123
│   │   │   │   │   ├── saved_model.pb
│   │   │   │   │   └── variables
│   │   │   │   │   ├── variables.data-00000-of-00001
│   │   │   │   │   └── variables.index
│   │   │   │   ├── saved_model_half_plus_three
│   │   │   │   │   └── 00000123
│   │   │   │   │   ├── assets
│   │   │   │   │   │   └── foo.txt
│   │   │   │   │   ├── saved_model.pb
│   │   │   │   │   └── variables
│   │   │   │   │   ├── variables.data-00000-of-00001
│   │   │   │   │   └── variables.index
│   │   │   │   └── saved_model_half_plus_two_2_versions
│   │   │   │   ├── 00000123
│   │   │   │   │   ├── assets
│   │   │   │   │   │   └── foo.txt
│   │   │   │   │   ├── saved_model.pb
│   │   │   │   │   └── variables
│   │   │   │   │   ├── variables.data-00000-of-00001
│   │   │   │   │   └── variables.index
│   │   │   │   └── 00000124
│   │   │   │   ├── assets
│   │   │   │   │   └── foo.txt
│   │   │   │   ├── saved_model.pb
│   │   │   │   └── variables
│   │   │   │   ├── variables.data-00000-of-00001
│   │   │   │   └── variables.index
│   │   │   ├── util.cc
│   │   │   ├── util.h
│   │   │   └── util_test.cc
│   │   ├── serving.bzl
│   │   ├── sources
│   │   │   └── storage_path
│   │   │   ├── BUILD
│   │   │   ├── file_system_storage_path_source.cc
│   │   │   ├── file_system_storage_path_source.h
│   │   │   ├── file_system_storage_path_source.proto
│   │   │   ├── file_system_storage_path_source_test.cc
│   │   │   ├── static_storage_path_source.cc
│   │   │   ├── static_storage_path_source.h
│   │   │   ├── static_storage_path_source.proto
│   │   │   └── static_storage_path_source_test.cc
│   │   ├── test_util
│   │   │   ├── BUILD
│   │   │   ├── test_util.cc
│   │   │   └── test_util.h
│   │   ├── tools
│   │   │   ├── docker
│   │   │   │   ├── Dockerfile.devel
│   │   │   │   ├── Dockerfile.devel-gpu
│   │   │   │   └── README.md
│   │   │   └── pip_package
│   │   │   ├── BUILD
│   │   │   ├── build_pip_package.sh
│   │   │   └── setup.py
│   │   ├── util
│   │   │   ├── any_ptr.h
│   │   │   ├── any_ptr_test.cc
│   │   │   ├── BUILD
│   │   │   ├── class_registration.h
│   │   │   ├── class_registration_test.cc
│   │   │   ├── class_registration_test.proto
│   │   │   ├── class_registration_util.cc
│   │   │   ├── class_registration_util.h
│   │   │   ├── cleanup.h
│   │   │   ├── cleanup_test.cc
│   │   │   ├── event_bus.h
│   │   │   ├── event_bus_test.cc
│   │   │   ├── executor.h
│   │   │   ├── fast_read_dynamic_ptr_benchmark.cc
│   │   │   ├── fast_read_dynamic_ptr.h
│   │   │   ├── fast_read_dynamic_ptr_test.cc
│   │   │   ├── file_probing_env.cc
│   │   │   ├── file_probing_env.h
│   │   │   ├── hash.cc
│   │   │   ├── hash.h
│   │   │   ├── inline_executor.cc
│   │   │   ├── inline_executor.h
│   │   │   ├── inline_executor_test.cc
│   │   │   ├── observer.h
│   │   │   ├── observer_test.cc
│   │   │   ├── optional.cc
│   │   │   ├── optional.h
│   │   │   ├── optional_test.cc
│   │   │   ├── retrier.cc
│   │   │   ├── retrier.h
│   │   │   ├── retrier_test.cc
│   │   │   ├── status.proto
│   │   │   ├── status_util.cc
│   │   │   ├── status_util.h
│   │   │   ├── status_util_test.cc
│   │   │   ├── test_util
│   │   │   │   ├── BUILD
│   │   │   │   └── mock_file_probing_env.h
│   │   │   ├── threadpool_executor.cc
│   │   │   ├── threadpool_executor.h
│   │   │   ├── threadpool_executor_test.cc
│   │   │   ├── unique_ptr_with_deps.h
│   │   │   └── unique_ptr_with_deps_test.cc
│   │   └── workspace.bzl
│   ├── tools
│   │   └── bazel.rc
│   └── WORKSPACE
└── tensor2tensor
├── AUTHORS
├── CONTRIBUTING.md
├── docs
│   ├── cloud_mlengine.md
│   ├── cloud_tpu.md
│   ├── distributed_training.md
│   ├── index.md
│   ├── new_model.md
│   ├── new_problem.md
│   ├── overview.md
│   ├── tutorials
│   │   └── asr_with_transformer.md
│   └── walkthrough.md
├── LICENSE
├── mylib
│   └── tf_nightly-1.7.0.dev20180223-cp27-cp27m-macosx_10_11_x86_64.whl
├── README.md
├── setup.py
└── tensor2tensor
├── bin
│   ├── __init__.py
│   ├── __init__.pyc
│   ├── make_tf_configs.py
│   ├── t2t-avg-all
│   ├── t2t_avg_all.py
│   ├── t2t-bleu
│   ├── t2t_bleu.py
│   ├── t2t-datagen
│   ├── t2t_datagen.py
│   ├── t2t_datagen.pyc
│   ├── t2t-decoder
│   ├── t2t_decoder.py
│   ├── t2t-exporter
│   ├── t2t-insights-server
│   ├── t2t-make-tf-configs
│   ├── t2t-query-server
│   ├── t2t-trainer
│   ├── t2t_trainer.py
│   ├── t2t_trainer.pyc
│   ├── t2t_trainer_test.py
│   ├── t2t-translate-all
│   └── t2t_translate_all.py
├── data_generators
│   ├── algorithmic_math.py
│   ├── algorithmic_math.pyc
│   ├── algorithmic_math_test.py
│   ├── algorithmic.py
│   ├── algorithmic.pyc
│   ├── algorithmic_test.py
│   ├── all_problems.py
│   ├── all_problems.pyc
│   ├── all_problems_test.py
│   ├── audio.py
│   ├── audio.pyc
│   ├── audio_test.py
│   ├── celeba.py
│   ├── celeba.pyc
│   ├── cifar.py
│   ├── cifar.pyc
│   ├── cipher.py
│   ├── cipher.pyc
│   ├── cnn_dailymail.py
│   ├── cnn_dailymail.pyc
│   ├── desc2code.py
│   ├── desc2code.pyc
│   ├── desc2code_test.py
│   ├── dna_encoder.py
│   ├── dna_encoder_test.py
│   ├── fsns.py
│   ├── fsns.pyc
│   ├── gene_expression.py
│   ├── gene_expression.pyc
│   ├── gene_expression_test.py
│   ├── generator_utils.py
│   ├── generator_utils.pyc
│   ├── generator_utils_test.py
│   ├── gym.py
│   ├── gym.pyc
│   ├── ice_parsing.py
│   ├── ice_parsing.pyc
│   ├── imagenet.py
│   ├── imagenet.pyc
│   ├── image_utils.py
│   ├── image_utils.pyc
│   ├── image_utils_test.py
│   ├── imdb.py
│   ├── imdb.pyc
│   ├── __init__.py
│   ├── __init__.pyc
│   ├── inspect.py
│   ├── librispeech.py
│   ├── librispeech.pyc
│   ├── lm1b.py
│   ├── lm1b.pyc
│   ├── mnist.py
│   ├── mnist.pyc
│   ├── mscoco.py
│   ├── mscoco.pyc
│   ├── multinli.py
│   ├── multinli.pyc
│   ├── ocr.py
│   ├── ocr.pyc
│   ├── problem_hparams.py
│   ├── problem_hparams.pyc
│   ├── problem.py
│   ├── problem.pyc
│   ├── ptb.py
│   ├── ptb.pyc
│   ├── README.md
│   ├── snli.py
│   ├── snli.pyc
│   ├── speech_recognition.py
│   ├── speech_recognition.pyc
│   ├── test_data
│   │   ├── corpus-1.txt
│   │   ├── corpus-2.txt
│   │   ├── vocab-1.txt
│   │   └── vocab-2.txt
│   ├── text_encoder_build_subword.py
│   ├── text_encoder.py
│   ├── text_encoder.pyc
│   ├── text_encoder_test.py
│   ├── text_problems.py
│   ├── text_problems.pyc
│   ├── text_problems_test.py
│   ├── tokenizer.py
│   ├── tokenizer.pyc
│   ├── tokenizer_test.py
│   ├── translate_encs.py
│   ├── translate_encs.pyc
│   ├── translate_ende.py
│   ├── translate_ende.pyc
│   ├── translate_enfr.py
│   ├── translate_enfr.pyc
│   ├── translate_enmk.py
│   ├── translate_enmk.pyc
│   ├── translate_enzh.py
│   ├── translate_enzh.pyc
│   ├── translate.py
│   ├── translate.pyc
│   ├── translate_test.py
│   ├── twentybn.py
│   ├── twentybn.pyc
│   ├── wiki.py
│   ├── wiki.pyc
│   ├── wsj_parsing.py
│   └── wsj_parsing.pyc
├── __init__.py
├── __init__.pyc
├── insights
│   ├── graph.py
│   ├── __init__.py
│   ├── insight_configuration.proto
│   ├── polymer
│   │   ├── attention_visualization
│   │   │   ├── attention-visualization.html
│   │   │   └── attention-visualization.js
│   │   ├── bower.json
│   │   ├── common-types.js
│   │   ├── explore_view
│   │   │   ├── explore-view.html
│   │   │   └── explore-view.js
│   │   ├── graph_visualization
│   │   │   ├── graph-visualization.html
│   │   │   └── graph-visualization.js
│   │   ├── index.html
│   │   ├── insights_app
│   │   │   ├── insights-app.html
│   │   │   └── insights-app.js
│   │   ├── language_selector
│   │   │   ├── language-selector-content.html
│   │   │   ├── language-selector-content.js
│   │   │   ├── language-selector.html
│   │   │   └── language-selector.js
│   │   ├── processing_visualization
│   │   │   ├── processing-visualization.html
│   │   │   └── processing-visualization.js
│   │   ├── query_card
│   │   │   ├── query-card.html
│   │   │   └── query-card.js
│   │   ├── tensor2tensor.html
│   │   └── translation_result
│   │   ├── translation-result.html
│   │   └── translation-result.js
│   ├── query_processor.py
│   ├── README.md
│   ├── server.py
│   └── transformer_model.py
├── layers
│   ├── common_attention.py
│   ├── common_attention.pyc
│   ├── common_attention_test.py
│   ├── common_hparams.py
│   ├── common_hparams.pyc
│   ├── common_image_attention.py
│   ├── common_image_attention.pyc
│   ├── common_layers.py
│   ├── common_layers.pyc
│   ├── common_layers_test.py
│   ├── __init__.py
│   ├── __init__.pyc
│   ├── modalities.py
│   ├── modalities.pyc
│   ├── modalities_test.py
│   ├── rev_block.py
│   ├── rev_block.pyc
│   └── rev_block_test.py
├── models
│   ├── basic.py
│   ├── basic.pyc
│   ├── bytenet.py
│   ├── bytenet.pyc
│   ├── bytenet_test.py
│   ├── image_transformer_2d.py
│   ├── image_transformer_2d.pyc
│   ├── image_transformer_2d_test.py
│   ├── image_transformer.py
│   ├── image_transformer.pyc
│   ├── image_transformer_test.py
│   ├── __init__.py
│   ├── __init__.pyc
│   ├── lstm.py
│   ├── lstm.pyc
│   ├── lstm_test.py
│   ├── neural_gpu.py
│   ├── neural_gpu.pyc
│   ├── neural_gpu_test.py
│   ├── README.md
│   ├── research
│   │   ├── aligned.py
│   │   ├── aligned.pyc
│   │   ├── attention_lm_moe.py
│   │   ├── attention_lm_moe.pyc
│   │   ├── attention_lm.py
│   │   ├── attention_lm.pyc
│   │   ├── cycle_gan.py
│   │   ├── cycle_gan.pyc
│   │   ├── gene_expression.py
│   │   ├── gene_expression.pyc
│   │   ├── gene_expression_test.py
│   │   ├── __init__.py
│   │   ├── __init__.pyc
│   │   ├── multimodel.py
│   │   ├── multimodel.pyc
│   │   ├── multimodel_test.py
│   │   ├── rl.py
│   │   ├── super_lm.py
│   │   ├── super_lm.pyc
│   │   ├── transformer_moe.py
│   │   ├── transformer_moe.pyc
│   │   ├── transformer_revnet.py
│   │   ├── transformer_revnet.pyc
│   │   ├── transformer_revnet_test.py
│   │   ├── transformer_sketch.py
│   │   ├── transformer_sketch.pyc
│   │   ├── transformer_vae.py
│   │   └── transformer_vae.pyc
│   ├── resnet.py
│   ├── resnet.pyc
│   ├── resnet_test.py
│   ├── revnet.py
│   ├── revnet.pyc
│   ├── revnet_test.py
│   ├── shake_shake.py
│   ├── shake_shake.pyc
│   ├── slicenet.py
│   ├── slicenet.pyc
│   ├── slicenet_test.py
│   ├── transformer.py
│   ├── transformer.pyc
│   ├── transformer_test.py
│   ├── vanilla_gan.py
│   ├── vanilla_gan.pyc
│   ├── xception.py
│   ├── xception.pyc
│   └── xception_test.py
├── notebooks
│   ├── hello_t2t.ipynb
│   ├── hello_t2tpy.py
│   └── self_hello_t2t.ipynb
├── problems.py
├── problems.pyc
├── problems_test.py
├── rl
│   ├── collect.py
│   ├── envs
│   │   ├── batch_env.py
│   │   ├── in_graph_batch_env.py
│   │   ├── __init__.py
│   │   └── utils.py
│   ├── __init__.py
│   ├── ppo.py
│   ├── README.md
│   ├── rl_trainer_lib.py
│   ├── rl_trainer_lib_test.py
│   └── t2t_rl_trainer.py
├── self_data
│   ├── text2text_tmpdir-unshuffled-train-00000-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00001-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00002-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00003-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00004-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00005-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00006-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00007-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00008-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00009-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00010-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00011-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00012-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00013-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00014-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00015-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00016-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00017-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00018-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00019-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00020-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00021-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00022-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00023-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00024-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00025-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00026-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00027-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00028-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00029-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00030-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00031-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00032-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00033-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00034-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00035-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00036-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00037-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00038-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00039-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00040-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00041-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00042-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00043-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00044-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00045-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00046-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00047-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00048-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00049-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00050-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00051-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00052-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00053-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00054-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00055-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00056-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00057-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00058-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00059-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00060-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00061-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00062-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00063-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00064-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00065-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00066-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00067-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00068-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00069-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00070-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00071-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00072-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00073-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00074-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00075-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00076-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00077-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00078-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00079-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00080-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00081-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00082-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00083-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00084-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00085-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00086-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00087-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00088-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00089-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00090-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00091-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00092-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00093-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00094-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00095-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00096-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00097-of-00100
│   ├── text2text_tmpdir-unshuffled-train-00098-of-00100
│   └── text2text_tmpdir-unshuffled-train-00099-of-00100
├── self_t2t
│   ├── command
│   ├── decoder
│   │   ├── a.txt
│   │   └── q.txt
│   ├── rawdata
│   │   ├── a.txt
│   │   └── q.txt
│   ├── self_data
│   │   ├── my_problem-dev-00000-of-00001
│   │   ├── my_problem-train-00000-of-00009
│   │   ├── my_problem-train-00001-of-00009
│   │   ├── my_problem-train-00002-of-00009
│   │   ├── my_problem-train-00003-of-00009
│   │   ├── my_problem-train-00004-of-00009
│   │   ├── my_problem-train-00005-of-00009
│   │   ├── my_problem-train-00006-of-00009
│   │   ├── my_problem-train-00007-of-00009
│   │   ├── my_problem-train-00008-of-00009
│   │   └── vocab.my_problem.2048.subwords
│   ├── self_script
│   │   ├── __init__.py
│   │   ├── __init__.pyc
│   │   ├── my_problem.py
│   │   ├── my_problem.pyc
│   │   └── self_my_problem.pyc
│   └── train
│   ├── checkpoint
│   ├── eval_one_pass
│   │   └── events.out.tfevents.1521018830.bogon
│   ├── events.out.tfevents.1521018308.bogon
│   ├── export
│   │   └── Servo
│   │   └── 1521034655
│   │   ├── saved_model.pbtxt
│   │   └── variables
│   │   ├── variables.data-00000-of-00001
│   │   └── variables.index
│   ├── flags_t2t.txt
│   ├── flags.txt
│   ├── graph.pbtxt
│   ├── hparams.json
│   ├── model.ckpt-1000.data-00000-of-00002
│   ├── model.ckpt-1000.data-00001-of-00002
│   ├── model.ckpt-1000.index
│   ├── model.ckpt-1000.meta
│   ├── model.ckpt-1001.data-00000-of-00002
│   ├── model.ckpt-1001.data-00001-of-00002
│   ├── model.ckpt-1001.index
│   ├── model.ckpt-1001.meta
│   ├── model.ckpt-1.data-00000-of-00002
│   ├── model.ckpt-1.data-00001-of-00002
│   ├── model.ckpt-1.index
│   ├── model.ckpt-1.meta
│   ├── model.ckpt-2000.data-00000-of-00002
│   ├── model.ckpt-2000.data-00001-of-00002
│   ├── model.ckpt-2000.index
│   ├── model.ckpt-2000.meta
│   ├── model.ckpt-2001.data-00000-of-00002
│   ├── model.ckpt-2001.data-00001-of-00002
│   ├── model.ckpt-2001.index
│   └── model.ckpt-2001.meta
├── serving
│   ├── export.py
│   ├── __init__.py
│   ├── query.py
│   └── README.md
├── t2t_test
│   ├── data
│   │   ├── my_problem-dev-00000-of-00001
│   │   ├── my_problem-train-00000-of-00009
│   │   ├── my_problem-train-00001-of-00009
│   │   ├── my_problem-train-00002-of-00009
│   │   ├── my_problem-train-00003-of-00009
│   │   ├── my_problem-train-00004-of-00009
│   │   ├── my_problem-train-00005-of-00009
│   │   ├── my_problem-train-00006-of-00009
│   │   ├── my_problem-train-00007-of-00009
│   │   ├── my_problem-train-00008-of-00009
│   │   └── vocab.my_problem.2048.subwords
│   ├── decode_this.txt
│   ├── decode_this.txt.lstm_seq2seq_attention.lstm_attention.my_problem.beam4.alpha0.6.decodes
│   ├── my_usr_dir
│   │   ├── __init__.py
│   │   ├── __init__.pyc
│   │   ├── my_problem.py
│   │   └── my_problem.pyc
│   ├── samples
│   │   ├── answer
│   │   └── question
│   └── train
│   ├── flags_t2t.txt
│   ├── flags.txt
│   └── hparams.json
├── test_data
│   ├── example_usr_dir
│   │   ├── __init__.py
│   │   ├── my_submodule.py
│   │   └── setup.py
│   ├── transformer_test_ckpt
│   │   ├── checkpoint
│   │   ├── flags.txt
│   │   ├── hparams.json
│   │   ├── model.ckpt-1.data-00000-of-00002
│   │   ├── model.ckpt-1.data-00001-of-00002
│   │   ├── model.ckpt-1.index
│   │   └── model.ckpt-1.meta
│   ├── vocab.ende.32768
│   └── vocab.ende.8192
├── utils
│   ├── avg_checkpoints.py
│   ├── beam_search.py
│   ├── beam_search.pyc
│   ├── beam_search_test.py
│   ├── bleu_hook.py
│   ├── bleu_hook.pyc
│   ├── bleu_hook_test.py
│   ├── checkpoint_compatibility_test.py
│   ├── cloud_mlengine.py
│   ├── cloud_mlengine.pyc
│   ├── cloud_tpu.py
│   ├── cloud_tpu.pyc
│   ├── data_reader.py
│   ├── data_reader.pyc
│   ├── data_reader_test.py
│   ├── decoding.py
│   ├── decoding.pyc
│   ├── devices.py
│   ├── devices.pyc
│   ├── diet.py
│   ├── diet.pyc
│   ├── diet_test.py
│   ├── expert_utils.py
│   ├── expert_utils.pyc
│   ├── expert_utils_test.py
│   ├── flags.py
│   ├── flags.pyc
│   ├── get_cnndm_rouge.sh
│   ├── get_ende_bleu.sh
│   ├── get_rouge.py
│   ├── __init__.py
│   ├── __init__.pyc
│   ├── metrics_hook.py
│   ├── metrics_hook.pyc
│   ├── metrics_hook_test.py
│   ├── metrics.py
│   ├── metrics.pyc
│   ├── metrics_test.py
│   ├── modality.py
│   ├── modality.pyc
│   ├── optimize.py
│   ├── optimize.pyc
│   ├── registry.py
│   ├── registry.pyc
│   ├── registry_test.py
│   ├── rouge.py
│   ├── rouge.pyc
│   ├── rouge_test.py
│   ├── t2t_model.py
│   ├── t2t_model.pyc
│   ├── trainer_lib.py
│   ├── trainer_lib.pyc
│   ├── trainer_lib_test.py
│   ├── usr_dir.py
│   ├── usr_dir.pyc
│   ├── yellowfin.py
│   ├── yellowfin.pyc
│   └── yellowfin_test.py
└── visualization
├── attention.js
├── attention.py
├── __init__.py
├── TransformerVisualization.ipynb
├── visualization.py
└── visualization_test.py

114 directories, 896 files

标签:

实例下载地址

google的tensor2tensor的学习源码

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警