gitextract__iw3ng36/ ├── .gitignore ├── .gitmodules ├── LICENSE ├── README.md ├── README_zh.md ├── a2f.py ├── app.py ├── audio2face_pb2.py ├── audio2face_pb2_grpc.py ├── audio2face_streaming_utils.py ├── audio_segment.py ├── auto_label_demo.py ├── batch_clean_gpu.txt ├── crazy_functions/ │ ├── Langchain知识库.py │ ├── Latex全文润色.py │ ├── Latex全文翻译.py │ ├── Latex输出PDF结果.py │ ├── __init__.py │ ├── chatglm微调工具.py │ ├── crazy_functions_test.py │ ├── crazy_utils.py │ ├── latex_fns/ │ │ ├── latex_actions.py │ │ └── latex_toolbox.py │ ├── live_audio/ │ │ ├── aliyunASR.py │ │ └── audio_io.py │ ├── test_project/ │ │ ├── cpp/ │ │ │ ├── cppipc/ │ │ │ │ ├── buffer.cpp │ │ │ │ ├── ipc.cpp │ │ │ │ ├── policy.h │ │ │ │ ├── pool_alloc.cpp │ │ │ │ ├── prod_cons.h │ │ │ │ ├── queue.h │ │ │ │ ├── shm.cpp │ │ │ │ ├── waiter.h │ │ │ │ └── 来源 │ │ │ ├── libJPG/ │ │ │ │ ├── jpgd.cpp │ │ │ │ ├── jpgd.h │ │ │ │ ├── jpge.cpp │ │ │ │ ├── jpge.h │ │ │ │ └── 来源 │ │ │ └── longcode/ │ │ │ ├── jpgd.cpp │ │ │ ├── jpge.cpp │ │ │ └── prod_cons.h │ │ ├── latex/ │ │ │ └── attention/ │ │ │ ├── background.tex │ │ │ ├── introduction.tex │ │ │ ├── model_architecture.tex │ │ │ ├── parameter_attention.tex │ │ │ └── 来源 │ │ ├── python/ │ │ │ └── dqn/ │ │ │ ├── __init__.py │ │ │ ├── dqn.py │ │ │ ├── policies.py │ │ │ └── 来源 │ │ └── 其他测试 │ ├── 下载arxiv论文翻译摘要.py │ ├── 交互功能函数模板.py │ ├── 代码重写为全英文_多线程.py │ ├── 图片生成.py │ ├── 对话历史存档.py │ ├── 总结word文档.py │ ├── 总结音视频.py │ ├── 批量Markdown翻译.py │ ├── 批量总结PDF文档.py │ ├── 批量总结PDF文档pdfminer.py │ ├── 批量翻译PDF文档_多线程.py │ ├── 数学动画生成manim.py │ ├── 理解PDF文档内容.py │ ├── 生成函数注释.py │ ├── 联网的ChatGPT.py │ ├── 联网的ChatGPT_bing版.py │ ├── 虚空终端.py │ ├── 解析JupyterNotebook.py │ ├── 解析项目源代码.py │ ├── 询问多个大语言模型.py │ ├── 语音助手.py │ ├── 读文章写摘要.py │ ├── 谷歌检索小助手.py │ ├── 辅助回答.py │ └── 高级功能函数模板.py ├── gradio_demo.py ├── llm_cards/ │ ├── bridge_all.py │ ├── bridge_chatglm.py │ ├── bridge_chatgpt.py │ ├── bridge_stackclaude.py │ ├── core_functional.py │ ├── crazy_functional.py │ ├── requirements_chatglm.txt │ └── requirements_slackclaude.txt ├── model_cards/ │ ├── Tag2Text/ │ │ ├── MANIFEST.in │ │ ├── batch_inference.py │ │ ├── datasets/ │ │ │ ├── openimages_common_214/ │ │ │ │ ├── imgs/ │ │ │ │ │ └── .gitkeep │ │ │ │ ├── openimages_common_214_ram_annots.txt │ │ │ │ ├── openimages_common_214_ram_taglist.txt │ │ │ │ ├── openimages_common_214_tag2text_idannots.txt │ │ │ │ └── openimages_common_214_tag2text_tagidlist.txt │ │ │ └── openimages_rare_200/ │ │ │ ├── imgs/ │ │ │ │ └── .gitkeep │ │ │ ├── openimages_rare_200_ram_annots.txt │ │ │ └── openimages_rare_200_ram_taglist.txt │ │ ├── inference_ram.py │ │ ├── inference_ram_openset.py │ │ ├── inference_tag2text.py │ │ ├── ram/ │ │ │ ├── __init__.py │ │ │ ├── configs/ │ │ │ │ ├── med_config.json │ │ │ │ ├── q2l_config.json │ │ │ │ └── swin/ │ │ │ │ ├── config_swinB_384.json │ │ │ │ └── config_swinL_384.json │ │ │ ├── data/ │ │ │ │ ├── ram_tag_list.txt │ │ │ │ ├── ram_tag_list_chinese.txt │ │ │ │ ├── ram_tag_list_threshold.txt │ │ │ │ └── tag_list.txt │ │ │ ├── inference.py │ │ │ ├── models/ │ │ │ │ ├── __init__.py │ │ │ │ ├── bert.py │ │ │ │ ├── ram.py │ │ │ │ ├── swin_transformer.py │ │ │ │ ├── tag2text.py │ │ │ │ ├── utils.py │ │ │ │ └── vit.py │ │ │ ├── transform.py │ │ │ └── utils/ │ │ │ ├── __init__.py │ │ │ ├── metrics.py │ │ │ └── openset_utils.py │ │ ├── requirements_groundingDINO.txt │ │ ├── setup.cfg │ │ └── setup.py │ ├── autoback.py │ ├── groundingdino/ │ │ ├── __init__.py │ │ ├── config/ │ │ │ ├── GroundingDINO_SwinB.cfg.py │ │ │ └── GroundingDINO_SwinT_OGC.py │ │ ├── datasets/ │ │ │ ├── __init__.py │ │ │ └── transforms.py │ │ ├── models/ │ │ │ ├── GroundingDINO/ │ │ │ │ ├── __init__.py │ │ │ │ ├── backbone/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── backbone.py │ │ │ │ │ ├── position_encoding.py │ │ │ │ │ └── swin_transformer.py │ │ │ │ ├── bertwarper.py │ │ │ │ ├── csrc/ │ │ │ │ │ ├── MsDeformAttn/ │ │ │ │ │ │ ├── ms_deform_attn.h │ │ │ │ │ │ ├── ms_deform_attn_cpu.cpp │ │ │ │ │ │ ├── ms_deform_attn_cpu.h │ │ │ │ │ │ ├── ms_deform_attn_cuda.cu │ │ │ │ │ │ ├── ms_deform_attn_cuda.h │ │ │ │ │ │ └── ms_deform_im2col_cuda.cuh │ │ │ │ │ ├── cuda_version.cu │ │ │ │ │ └── vision.cpp │ │ │ │ ├── fuse_modules.py │ │ │ │ ├── groundingdino.py │ │ │ │ ├── ms_deform_attn.py │ │ │ │ ├── transformer.py │ │ │ │ ├── transformer_vanilla.py │ │ │ │ └── utils.py │ │ │ ├── __init__.py │ │ │ └── registry.py │ │ ├── util/ │ │ │ ├── __init__.py │ │ │ ├── box_ops.py │ │ │ ├── get_tokenlizer.py │ │ │ ├── inference.py │ │ │ ├── logger.py │ │ │ ├── misc.py │ │ │ ├── slconfig.py │ │ │ ├── slio.py │ │ │ ├── time_counter.py │ │ │ ├── utils.py │ │ │ ├── visualizer.py │ │ │ └── vl_utils.py │ │ └── version.py │ ├── lama/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bin/ │ │ │ ├── analyze_errors.py │ │ │ ├── blur_predicts.py │ │ │ ├── calc_dataset_stats.py │ │ │ ├── debug/ │ │ │ │ └── analyze_overlapping_masks.sh │ │ │ ├── evaluate_predicts.py │ │ │ ├── evaluator_example.py │ │ │ ├── extract_masks.py │ │ │ ├── filter_sharded_dataset.py │ │ │ ├── gen_debug_mask_dataset.py │ │ │ ├── gen_mask_dataset.py │ │ │ ├── gen_mask_dataset_hydra.py │ │ │ ├── gen_outpainting_dataset.py │ │ │ ├── make_checkpoint.py │ │ │ ├── mask_example.py │ │ │ ├── paper_runfiles/ │ │ │ │ ├── blur_tests.sh │ │ │ │ ├── env.sh │ │ │ │ ├── find_best_checkpoint.py │ │ │ │ ├── generate_test_celeba-hq.sh │ │ │ │ ├── generate_test_ffhq.sh │ │ │ │ ├── generate_test_paris.sh │ │ │ │ ├── generate_test_paris_256.sh │ │ │ │ ├── generate_val_test.sh │ │ │ │ ├── predict_inner_features.sh │ │ │ │ └── update_test_data_stats.sh │ │ │ ├── predict.py │ │ │ ├── predict_inner_features.py │ │ │ ├── report_from_tb.py │ │ │ ├── sample_from_dataset.py │ │ │ ├── side_by_side.py │ │ │ ├── split_tar.py │ │ │ ├── to_jit.py │ │ │ └── train.py │ │ ├── colab/ │ │ │ └── LaMa_inpainting.ipynb │ │ ├── conda_env.yml │ │ ├── configs/ │ │ │ ├── analyze_mask_errors.yaml │ │ │ ├── data_gen/ │ │ │ │ ├── random_medium_256.yaml │ │ │ │ ├── random_medium_512.yaml │ │ │ │ ├── random_thick_256.yaml │ │ │ │ ├── random_thick_512.yaml │ │ │ │ ├── random_thin_256.yaml │ │ │ │ └── random_thin_512.yaml │ │ │ ├── debug_mask_gen.yaml │ │ │ ├── eval1.yaml │ │ │ ├── eval2.yaml │ │ │ ├── eval2_cpu.yaml │ │ │ ├── eval2_gpu.yaml │ │ │ ├── eval2_jpg.yaml │ │ │ ├── eval2_segm.yaml │ │ │ ├── eval2_segm_test.yaml │ │ │ ├── eval2_test.yaml │ │ │ ├── places2-categories_157.txt │ │ │ ├── prediction/ │ │ │ │ └── default.yaml │ │ │ ├── test_large_30k.lst │ │ │ └── training/ │ │ │ ├── ablv2_work.yaml │ │ │ ├── ablv2_work_ffc075.yaml │ │ │ ├── ablv2_work_md.yaml │ │ │ ├── ablv2_work_no_fm.yaml │ │ │ ├── ablv2_work_no_segmpl.yaml │ │ │ ├── ablv2_work_no_segmpl_csdilirpl.yaml │ │ │ ├── ablv2_work_no_segmpl_csdilirpl_celeba_csdilirpl1_new.yaml │ │ │ ├── ablv2_work_no_segmpl_csirpl.yaml │ │ │ ├── ablv2_work_no_segmpl_csirpl_celeba_csirpl03_new.yaml │ │ │ ├── ablv2_work_no_segmpl_vgg.yaml │ │ │ ├── ablv2_work_no_segmpl_vgg_celeba_l2_vgg003_new.yaml │ │ │ ├── ablv2_work_nodil_segmpl.yaml │ │ │ ├── ablv2_work_small_holes.yaml │ │ │ ├── big-lama-celeba.yaml │ │ │ ├── big-lama-regular-celeba.yaml │ │ │ ├── big-lama-regular.yaml │ │ │ ├── big-lama.yaml │ │ │ ├── data/ │ │ │ │ ├── abl-02-thin-bb.yaml │ │ │ │ ├── abl-04-256-mh-dist-celeba.yaml │ │ │ │ ├── abl-04-256-mh-dist-web.yaml │ │ │ │ └── abl-04-256-mh-dist.yaml │ │ │ ├── discriminator/ │ │ │ │ └── pix2pixhd_nlayer.yaml │ │ │ ├── evaluator/ │ │ │ │ └── default_inpainted.yaml │ │ │ ├── generator/ │ │ │ │ ├── ffc_resnet_075.yaml │ │ │ │ ├── pix2pixhd_global.yaml │ │ │ │ ├── pix2pixhd_global_sigmoid.yaml │ │ │ │ └── pix2pixhd_multidilated_catin_4dil_9b.yaml │ │ │ ├── hydra/ │ │ │ │ ├── no_time.yaml │ │ │ │ └── overrides.yaml │ │ │ ├── lama-fourier-celeba.yaml │ │ │ ├── lama-fourier.yaml │ │ │ ├── lama-regular-celeba.yaml │ │ │ ├── lama-regular.yaml │ │ │ ├── lama_small_train_masks.yaml │ │ │ ├── location/ │ │ │ │ ├── celeba_example.yaml │ │ │ │ ├── docker.yaml │ │ │ │ └── places_example.yaml │ │ │ ├── optimizers/ │ │ │ │ └── default_optimizers.yaml │ │ │ ├── trainer/ │ │ │ │ ├── any_gpu_large_ssim_ddp_final.yaml │ │ │ │ ├── any_gpu_large_ssim_ddp_final_benchmark.yaml │ │ │ │ └── any_gpu_large_ssim_ddp_final_celeba.yaml │ │ │ └── visualizer/ │ │ │ └── directory.yaml │ │ ├── docker/ │ │ │ ├── 1_generate_masks_from_raw_images.sh │ │ │ ├── 2_predict.sh │ │ │ ├── 3_evaluate.sh │ │ │ ├── Dockerfile │ │ │ ├── Dockerfile-cuda111 │ │ │ ├── build-cuda111.sh │ │ │ ├── build.sh │ │ │ └── entrypoint.sh │ │ ├── fetch_data/ │ │ │ ├── celebahq_dataset_prepare.sh │ │ │ ├── celebahq_gen_masks.sh │ │ │ ├── eval_sampler.py │ │ │ ├── places_challenge_train_download.sh │ │ │ ├── places_standard_evaluation_prepare_data.sh │ │ │ ├── places_standard_test_val_gen_masks.sh │ │ │ ├── places_standard_test_val_prepare.sh │ │ │ ├── places_standard_test_val_sample.sh │ │ │ ├── places_standard_train_prepare.sh │ │ │ ├── sampler.py │ │ │ ├── train_shuffled.flist │ │ │ └── val_shuffled.flist │ │ ├── models/ │ │ │ └── ade20k/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── color150.mat │ │ │ ├── mobilenet.py │ │ │ ├── object150_info.csv │ │ │ ├── resnet.py │ │ │ ├── segm_lib/ │ │ │ │ ├── nn/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── modules/ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ ├── batchnorm.py │ │ │ │ │ │ ├── comm.py │ │ │ │ │ │ ├── replicate.py │ │ │ │ │ │ ├── tests/ │ │ │ │ │ │ │ ├── test_numeric_batchnorm.py │ │ │ │ │ │ │ └── test_sync_batchnorm.py │ │ │ │ │ │ └── unittest.py │ │ │ │ │ └── parallel/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── data_parallel.py │ │ │ │ └── utils/ │ │ │ │ ├── __init__.py │ │ │ │ ├── data/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── dataloader.py │ │ │ │ │ ├── dataset.py │ │ │ │ │ ├── distributed.py │ │ │ │ │ └── sampler.py │ │ │ │ └── th.py │ │ │ └── utils.py │ │ ├── requirements.txt │ │ └── saicinpainting/ │ │ ├── __init__.py │ │ ├── evaluation/ │ │ │ ├── __init__.py │ │ │ ├── data.py │ │ │ ├── evaluator.py │ │ │ ├── losses/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base_loss.py │ │ │ │ ├── fid/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── fid_score.py │ │ │ │ │ └── inception.py │ │ │ │ ├── lpips.py │ │ │ │ └── ssim.py │ │ │ ├── masks/ │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── countless/ │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── countless2d.py │ │ │ │ │ ├── countless3d.py │ │ │ │ │ ├── requirements.txt │ │ │ │ │ └── test.py │ │ │ │ └── mask.py │ │ │ ├── refinement.py │ │ │ ├── utils.py │ │ │ └── vis.py │ │ ├── training/ │ │ │ ├── __init__.py │ │ │ ├── data/ │ │ │ │ ├── __init__.py │ │ │ │ ├── aug.py │ │ │ │ ├── datasets.py │ │ │ │ └── masks.py │ │ │ ├── losses/ │ │ │ │ ├── __init__.py │ │ │ │ ├── adversarial.py │ │ │ │ ├── constants.py │ │ │ │ ├── distance_weighting.py │ │ │ │ ├── feature_matching.py │ │ │ │ ├── perceptual.py │ │ │ │ ├── segmentation.py │ │ │ │ └── style_loss.py │ │ │ ├── modules/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── depthwise_sep_conv.py │ │ │ │ ├── fake_fakes.py │ │ │ │ ├── ffc.py │ │ │ │ ├── multidilated_conv.py │ │ │ │ ├── multiscale.py │ │ │ │ ├── pix2pixhd.py │ │ │ │ ├── spatial_transform.py │ │ │ │ └── squeeze_excitation.py │ │ │ ├── trainers/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── default.py │ │ │ └── visualizers/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── colors.py │ │ │ ├── directory.py │ │ │ └── noop.py │ │ └── utils.py │ ├── requirements.txt │ ├── segment_anything/ │ │ ├── __init__.py │ │ ├── automatic_mask_generator.py │ │ ├── build_sam.py │ │ ├── modeling/ │ │ │ ├── __init__.py │ │ │ ├── common.py │ │ │ ├── image_encoder.py │ │ │ ├── mask_decoder.py │ │ │ ├── prompt_encoder.py │ │ │ ├── sam.py │ │ │ └── transformer.py │ │ ├── predictor.py │ │ └── utils/ │ │ ├── __init__.py │ │ ├── amg.py │ │ ├── onnx.py │ │ └── transforms.py │ └── setup.py ├── requirements.txt ├── requirements_llm_extra.txt ├── themes/ │ ├── common.js │ ├── default.css │ ├── default.py │ ├── green.css │ ├── green.py │ └── theme.py └── utils/ ├── AudioRecorder.py ├── AudioTrans.py ├── __init__.py ├── audio.py ├── check_proxy.py ├── colorful.py ├── conf.py ├── dataloads.py ├── downloads.py ├── ops.py ├── plot.py ├── text2speech.py ├── textsplitter/ │ ├── __init__.py │ ├── ali_text_splitter.py │ ├── chinese_text_splitter.py │ └── zh_title_enhance.py ├── toolbox.py ├── torch_utils.py └── video.py