conda create -n VideoHallucination python==3.10; conda activate VideoHallucination; cd /home/ruiyang/code/VideoHallucination; export HF_HOME=/data/lab/yan/huzhang/huzhang1; export OPENAI_API_KEY=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; pip install torch transformers datasets moviepy=='1.0.3' pillow timm openai av kornia nltk huggingface-hub==0.23.0; python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'; pip install 'git+https://github.com/arogozhnikov/einops.git'; cp /data/lab/yan/huzhang/huzhang1/code/Uncertainty-o1/.asset/video_autos.mp4 /data/lab/yan/huzhang/huzhang1/code/VideoHallucination/video.mp4; python /data/lab/yan/huzhang/huzhang1/code/VideoHallucination/Video-POPE.py; python /data/lab/yan/huzhang/huzhang1/code/VideoHallucination/LLaVA-NeXT-Video.py; python /data/lab/yan/huzhang/huzhang1/code/VideoHallucination/TimeSformer.py; python /data/lab/yan/huzhang/huzhang1/code/VideoHallucination/seem/seg.py; bash download.sh k400_test_path.txt; bash extract.sh k400_test_path.txt; wget -O archive.zip 'https://storage.googleapis.com/kaggle-data-sets/2807884/4849320/bundle/archive.zip?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=gcp-kaggle-com%40kaggle-161607.iam.gserviceaccount.com%2F20250426%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20250426T013359Z&X-Goog-Expires=259200&X-Goog-SignedHeaders=host&X-Goog-Signature=4815def9233069d89bdf6ce83a3d27fe4895ec63f34d4f024021268bd14e4f035826a9b40d93014604ff9d34e31919791a9f18a792f3332ae0a4b0d0fd36c3362f2526976858e3aedcc4d6b5fa01b95ccf04ae2dae250531fd3375c2970e01d87fc05a13ff8fca0740d61a961385bcc8684775d5c76769bf9e51517972cf2377d4b3ac3cb4901e79f9f9f1b5c8ea130b47e5d7c3f2f12ff306e8ad5c0ced237f0504c6b127d416f3d3293a6fe8395773bb7743432c262dbb4672e4dc3dd5e54ee1e68c6635154bd851f79fdfdeb14880be0d5e075ce71310660e0b76750f497de652bdf7b1c6e0f1b579d5e48251c4c55b9ed2e34e3597b51ab1170085eceac2'; wget https://apigwx-aws.qualcomm.com/qsc/public/v1/api/download/software/dataset/AIDataset/Something-Something-V2/20bn-something-something-v2-00; wget https://apigwx-aws.qualcomm.com/qsc/public/v1/api/download/software/dataset/AIDataset/Something-Something-V2/20bn-something-something-v2-01; wget https://apigwx-aws.qualcomm.com/qsc/public/v1/api/download/software/dataset/AIDataset/Something-Something-V2/20bn-something-something-download-package-labels.zip; cat 20bn-something-something-v2-?? >> 20bn-something-something-v2.tar.gz; wget https://ic-cv-long-videos.s3.ap-northeast-2.amazonaws.com/LVD-2M/data/random_sample_100.zip; wget https://ic-cv-long-videos.s3.ap-northeast-2.amazonaws.com/LVD-2M/data/random_sample_100.csv; wget https://ic-cv-long-videos.s3.ap-northeast-2.amazonaws.com/LVD-2M/data/ytb_600k_720p.csv; wget https://ic-cv-long-videos.s3.ap-northeast-2.amazonaws.com/LVD-2M/data/hdvg_300k_720p.csv; wget https://ic-cv-long-videos.s3.ap-northeast-2.amazonaws.com/LVD-2M/data/webvid_1200k_336_short.csv; python /data/lab/yan/huzhang/huzhang1/code/VideoHallucination/Video-POPE.py; python /data/lab/yan/huzhang/huzhang1/code/VideoHallucination/model/LlavaNextVideo.py; export CUDA_VISIBLE_DEVICES=7; python Video-POPE.py --dataset kinetic400; export CUDA_VISIBLE_DEVICES=7; python Video-POPE.py --dataset ucf101; export CUDA_VISIBLE_DEVICES=6; python Video-POPE.py --dataset somethingsomething; export CUDA_VISIBLE_DEVICES=0; python inference.py --model LlavaNextVideo --dataset kinetic400 --question_type spatial; export CUDA_VISIBLE_DEVICES=0; python inference.py --model LlavaNextVideo --dataset kinetic400 --question_type temporal; huggingface-cli upload Ruiyang-061X/VideoHallucination VideoHallucination; huggingface-cli download Ruiyang-061X/VideoHallucination --local-dir VideoHallucination;