Files
modelscope/tests/run_config.yaml

83 lines
2.9 KiB
YAML
Raw Permalink Normal View History

# isolate cases in env, we can install different dependencies in each env.
isolated: # test cases that may require excessive anmount of GPU memory or run long time, which will be executed in dedicagted process.
- test_text_to_speech.py
- test_multi_modal_embedding.py
- test_ofa_tasks.py
- test_video_summarization.py
- test_dialog_modeling.py
- test_csanmt_translation.py
- test_image_super_resolution.py
- test_image_super_resolution_pasd.py
- test_easycv_trainer.py
- test_segformer.py
- test_segmentation_pipeline.py
2022-10-12 13:29:24 +08:00
- test_movie_scene_segmentation.py
- test_image_inpainting.py
- test_image_paint_by_example.py
- test_mglm_text_summarization.py
- test_team_transfer_trainer.py
- test_image_denoise_trainer.py
- test_dialog_intent_trainer.py
- test_finetune_mplug.py
- test_image_instance_segmentation_trainer.py
- test_image_portrait_enhancement_trainer.py
- test_translation_trainer.py
2023-05-11 14:41:08 +08:00
- test_translation_evaluation_trainer.py
- test_unifold.py
- test_automatic_post_editing.py
- test_mplug_tasks.py
- test_movie_scene_segmentation.py
- test_body_3d_keypoints.py
- test_finetune_text_generation.py
- test_clip_trainer.py
- test_ofa_trainer.py
- test_fill_mask.py
- test_hand_2d_keypoints.py
- test_referring_video_object_segmentation.py
- test_easycv_trainer_hand_2d_keypoints.py
- test_card_detection_scrfd_trainer.py
- test_referring_video_object_segmentation_trainer.py
- test_person_image_cartoon.py
- test_image_style_transfer.py
- test_ocr_detection.py
- test_automatic_speech_recognition.py
- test_image_matting.py
- test_skin_retouching.py
- test_table_recognition.py
- test_conversational_text_to_sql.py
- test_video_multi_modal_embedding.py
- test_prost_text_video_retrieval.py
- test_image_skychange.py
- test_video_stabilization.py
- test_video_super_resolution.py
- test_kws_nearfield_trainer.py
- test_gpt3_text_generation.py
- test_ddcolor_image_colorization.py
- test_video_colorization.py
- test_image_defrcn_fewshot_trainer.py
- test_image_deblur_trainer.py
- test_image_quality_assessment_degradation.py
- test_image_quality_assessment_mos.py
- test_image_restoration.py
- test_video_deinterlace.py
- test_image_inpainting_sdv2.py
- test_bad_image_detecting.py
- test_controllable_image_generation.py
- test_image_colorization_trainer.py
add text-to-360pano-image pipeline, mod cv requirements 7月份计划上线的360全景图生成模型,自研 模型权重文件地址https://www.modelscope.cn/models/damo/cv_diffusion_text-to-360panorama-image_generation/summary #### 依赖项说明 ##### 由于要使用xformers,torch版本最好使用1.13.1 ``` pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116 ``` ##### 对应的diffusers和xformers版本如下 ``` pip install -U diffusers==0.18.0 pip install xformers==0.0.16 pip install triton, accelerate, transformers ``` ##### ModelScope Library 需要使用cv ``` pip install modelscope pip install "modelscope[cv]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html ``` ##### 此外,还需要安装第三方的一个库,Real-ESRGAN, 安装方法如下 ``` # Install basicsr - https://github.com/xinntao/BasicSR # We use BasicSR for both training and inference pip install basicsr # facexlib and gfpgan are for face enhancement pip install facexlib pip install gfpgan pip install Pillow pip install tqdm pip install realesrgan==0.3.0 ``` Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/13346430 * add text-to-360pano-image pipeline * add text-to-360pano-image pipeline, mod cv requirements * rm redundant files and cv requirements; add standard input and output definations * fix diffusers==0.18.0 and run test * fix diffusers==0.18.0 in multi-modal and run test again * add model_revision='v1.0.0' * fix yapf * add trycatch for enabling xformers * fix key error * add install xformers in test/setup * skip highres.fix in ci * feat: Fix conflict, auto commit by WebIDE
2023-07-27 11:33:39 +08:00
- test_text_to_360panorama_image.py
envs:
default: # default env, case not in other env will in default, pytorch.
dependencies: # requirement packagespip install before test case run.
- numpy>=1.20,<=1.22.0
- protobuf<4,>=3.20.2
tensorflow1x: # cases excuted tensorflow1.x framework.
requirements: # requirements files run before test case run.
- tensorflow1x.txt
dependencies: # requirement packagespip install before test case run.
- numpy<1.20.0
tests:
- test_image_portrait_stylization_trainer.py