├── .gitignore ├── LICENSE ├── README.md ├── assets └── overview.jpg ├── evaluate_animation.py ├── evaluate_edit.py ├── evaluate_gen.py ├── evaluate_un.py ├── example ├── pure_black.mp4 ├── pure_black.png ├── pure_black_128.mp4 └── pure_white.png ├── install.sh ├── metrics ├── CLIP_Score.py ├── DINO_Score.py ├── FID.py ├── LPIPS.py ├── PSNR.py ├── SSIM.py ├── average_meter.py ├── base_metric.py ├── inception.py ├── inference │ ├── inference.py │ ├── inference_animation.py │ ├── inference_edit.py │ ├── inference_un.py │ ├── un_clean_result.py │ └── video_api.py ├── metrics.py ├── token_length.py └── video │ ├── CLIP_video.py │ ├── DINO_video.py │ ├── FVD.py │ ├── LPIPS_video.py │ ├── PSNR_video.py │ ├── SSIM_video.py │ ├── viclip │ ├── bpe_simple_vocab_16e6.txt.gz │ ├── simple_tokenizer.py │ ├── viclip.py │ ├── viclip_text.py │ └── viclip_vision.py │ └── video_metrics.py ├── requirements.txt ├── scripts ├── evaluate │ ├── animation │ │ └── demo.sh │ ├── chem │ │ └── demo.sh │ ├── icon │ │ ├── edit │ │ │ └── demo.sh │ │ ├── gen │ │ │ └── demo.sh │ │ └── un │ │ │ └── demo.sh │ └── illustration │ │ └── demo.sh └── inference │ ├── animation │ └── demo.sh │ ├── edit │ └── demo.sh │ ├── gen │ └── demo.sh │ └── un │ └── demo.sh ├── svgo ├── config.mjs └── config_smil.mjs └── utils ├── api.py ├── parallel_mapper.py ├── raster_svg.py ├── scale_svg.py ├── simplify_svg.py ├── svg_animate.py ├── token_count.py └── translate.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/README.md -------------------------------------------------------------------------------- /assets/overview.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/assets/overview.jpg -------------------------------------------------------------------------------- /evaluate_animation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/evaluate_animation.py -------------------------------------------------------------------------------- /evaluate_edit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/evaluate_edit.py -------------------------------------------------------------------------------- /evaluate_gen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/evaluate_gen.py -------------------------------------------------------------------------------- /evaluate_un.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/evaluate_un.py -------------------------------------------------------------------------------- /example/pure_black.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/example/pure_black.mp4 -------------------------------------------------------------------------------- /example/pure_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/example/pure_black.png -------------------------------------------------------------------------------- /example/pure_black_128.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/example/pure_black_128.mp4 -------------------------------------------------------------------------------- /example/pure_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/example/pure_white.png -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/install.sh -------------------------------------------------------------------------------- /metrics/CLIP_Score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/CLIP_Score.py -------------------------------------------------------------------------------- /metrics/DINO_Score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/DINO_Score.py -------------------------------------------------------------------------------- /metrics/FID.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/FID.py -------------------------------------------------------------------------------- /metrics/LPIPS.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/LPIPS.py -------------------------------------------------------------------------------- /metrics/PSNR.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/PSNR.py -------------------------------------------------------------------------------- /metrics/SSIM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/SSIM.py -------------------------------------------------------------------------------- /metrics/average_meter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/average_meter.py -------------------------------------------------------------------------------- /metrics/base_metric.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/base_metric.py -------------------------------------------------------------------------------- /metrics/inception.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/inception.py -------------------------------------------------------------------------------- /metrics/inference/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/inference/inference.py -------------------------------------------------------------------------------- /metrics/inference/inference_animation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/inference/inference_animation.py -------------------------------------------------------------------------------- /metrics/inference/inference_edit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/inference/inference_edit.py -------------------------------------------------------------------------------- /metrics/inference/inference_un.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/inference/inference_un.py -------------------------------------------------------------------------------- /metrics/inference/un_clean_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/inference/un_clean_result.py -------------------------------------------------------------------------------- /metrics/inference/video_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/inference/video_api.py -------------------------------------------------------------------------------- /metrics/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/metrics.py -------------------------------------------------------------------------------- /metrics/token_length.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/token_length.py -------------------------------------------------------------------------------- /metrics/video/CLIP_video.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/video/CLIP_video.py -------------------------------------------------------------------------------- /metrics/video/DINO_video.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/video/DINO_video.py -------------------------------------------------------------------------------- /metrics/video/FVD.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/video/FVD.py -------------------------------------------------------------------------------- /metrics/video/LPIPS_video.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/video/LPIPS_video.py -------------------------------------------------------------------------------- /metrics/video/PSNR_video.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/video/PSNR_video.py -------------------------------------------------------------------------------- /metrics/video/SSIM_video.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/video/SSIM_video.py -------------------------------------------------------------------------------- /metrics/video/viclip/bpe_simple_vocab_16e6.txt.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/video/viclip/bpe_simple_vocab_16e6.txt.gz -------------------------------------------------------------------------------- /metrics/video/viclip/simple_tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/video/viclip/simple_tokenizer.py -------------------------------------------------------------------------------- /metrics/video/viclip/viclip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/video/viclip/viclip.py -------------------------------------------------------------------------------- /metrics/video/viclip/viclip_text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/video/viclip/viclip_text.py -------------------------------------------------------------------------------- /metrics/video/viclip/viclip_vision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/video/viclip/viclip_vision.py -------------------------------------------------------------------------------- /metrics/video/video_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/metrics/video/video_metrics.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/evaluate/animation/demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/scripts/evaluate/animation/demo.sh -------------------------------------------------------------------------------- /scripts/evaluate/chem/demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/scripts/evaluate/chem/demo.sh -------------------------------------------------------------------------------- /scripts/evaluate/icon/edit/demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/scripts/evaluate/icon/edit/demo.sh -------------------------------------------------------------------------------- /scripts/evaluate/icon/gen/demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/scripts/evaluate/icon/gen/demo.sh -------------------------------------------------------------------------------- /scripts/evaluate/icon/un/demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/scripts/evaluate/icon/un/demo.sh -------------------------------------------------------------------------------- /scripts/evaluate/illustration/demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/scripts/evaluate/illustration/demo.sh -------------------------------------------------------------------------------- /scripts/inference/animation/demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/scripts/inference/animation/demo.sh -------------------------------------------------------------------------------- /scripts/inference/edit/demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/scripts/inference/edit/demo.sh -------------------------------------------------------------------------------- /scripts/inference/gen/demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/scripts/inference/gen/demo.sh -------------------------------------------------------------------------------- /scripts/inference/un/demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/scripts/inference/un/demo.sh -------------------------------------------------------------------------------- /svgo/config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/svgo/config.mjs -------------------------------------------------------------------------------- /svgo/config_smil.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/svgo/config_smil.mjs -------------------------------------------------------------------------------- /utils/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/utils/api.py -------------------------------------------------------------------------------- /utils/parallel_mapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/utils/parallel_mapper.py -------------------------------------------------------------------------------- /utils/raster_svg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/utils/raster_svg.py -------------------------------------------------------------------------------- /utils/scale_svg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/utils/scale_svg.py -------------------------------------------------------------------------------- /utils/simplify_svg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/utils/simplify_svg.py -------------------------------------------------------------------------------- /utils/svg_animate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/utils/svg_animate.py -------------------------------------------------------------------------------- /utils/token_count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/utils/token_count.py -------------------------------------------------------------------------------- /utils/translate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmwang2002/InternSVG/HEAD/utils/translate.py --------------------------------------------------------------------------------