qaz670756 / MMCD

multimodal change detection
36 stars 1 forks source link

安裝及執行問題 #2

Open 482170765 opened 1 month ago

482170765 commented 1 month ago

qaz670756你好:

我們試著要重複Information fusion那篇論文之結果,但碰到以下問題: 1.Installation中的clone目標是錯誤的,找不到Repository Structure中提到的資料夾 2.Usage中提到的model weights是否可以提供除了百度以外的連結例如GoogleNetdisk 3.直接運行程式碼 python main.py --config=CD_siamunet_diff --eval --save_img --ckpt_version 7 出現錯誤 Loading experiment ./config/CD_siamunet_diff.yaml Traceback (most recent call last): File "main.py", line 239, in from pl_model import pl_trainer File "/home/rob/Downloads/MMCD/pl_model.py", line 10, in from utils.mIoU import IoUMetric ModuleNotFoundError: No module named 'utils.mIoU' 可以幫忙澄清?

482170765 commented 1 month ago

qaz670756你好:

我們按著readme檔中所述,要執行以下程序時,發現找不到相關程式,可以請您提供? 1.pip install -r requirements.txt 2.bash reproduce.sh

requirements.txt+reproduce.sh在下載的repository中缺乏。 不知方便協助?

qaz670756 commented 1 month ago

嗨, 今天代码会更新,到时请重新下载我们的Repository。 祝好

482170765 commented 1 month ago

感謝您,Mr. Liu。

Biyuan Liu @.***> 於 2024年9月9日 週一 下午7:29寫道:

嗨, 今天代码会更新,到时请重新下载我们的Repository。 祝好

— Reply to this email directly, view it on GitHub https://github.com/qaz670756/MMCD/issues/2#issuecomment-2337859342, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKUIPQF3G4ITYRBRIONFO3ZVWBBDAVCNFSM6AAAAABN2QJ6M2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZXHA2TSMZUGI . You are receiving this because you authored the thread.Message ID: @.***>

-- 石志雄 Chihhsiong Shih

東海大學 資工系 Department of Computer Science, Tunghai University

482170765 commented 1 month ago

Mr. Liu,

您已更新?我看repo.上的程式仍是舊的?

482170765 commented 1 month ago

Mr. Liu您好:

我們已下載更新源碼,我發現在安裝時(pip install requirements.txt)還是找不到requirements.txt,這部分會關係到程式庫dependency,不知可以提供?

qaz670756 commented 1 month ago

您好,已上传requirements.txt

482170765 commented 1 month ago

感謝!

Biyuan Liu @.***> 於 2024年9月11日 週三 下午4:07寫道:

您好,已上传requirements.txt

— Reply to this email directly, view it on GitHub https://github.com/qaz670756/MMCD/issues/2#issuecomment-2342947472, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKUIPWZUE5Y6DH5MJENP23ZV724VAVCNFSM6AAAAABN2QJ6M2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBSHE2DONBXGI . You are receiving this because you authored the thread.Message ID: @.***>

-- 石志雄 Chihhsiong Shih

東海大學 資工系 Department of Computer Science, Tunghai University

482170765 commented 1 month ago

Mr. Liu您好:

我們在更新安裝環境腳本後(pip install requirements)發現以下問題, messageImage_1726243504720 及以下錯誤訊息: ModuleNotFoundError: No module named 'utils.losses' 這應該是python IDE開發環境不一樣導致,想請教你那邊是用何IDE?

qaz670756 commented 1 month ago

pycharm

482170765 commented 1 month ago

收到,感謝。

Biyuan Liu @.***> 於 2024年9月14日 週六 下午9:26寫道:

pycharm

— Reply to this email directly, view it on GitHub https://github.com/qaz670756/MMCD/issues/2#issuecomment-2350991063, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKUIPSQS27NALPPPIPNSSTZWQ2OVAVCNFSM6AAAAABN2QJ6M2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJQHE4TCMBWGM . You are receiving this because you authored the thread.Message ID: @.***>

-- 石志雄 Chihhsiong Shih

東海大學 資工系 Department of Computer Science, Tunghai University

482170765 commented 1 month ago

Mr. Liu:

我們實際運作pip install requirements,發現以下錯誤, PS C:\Users\marimo\Documents\MMCD> pip install -r requirements.txt Processing c:\users\ktietz\demo\mc3\conda-bld\affine_1629890479180\work (from -r requirements.txt (line 2)) ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\Users\ktietz\demo\mc3\conda-bld\affine_1629890479180\work' 這error應該是指以上路徑是你那邊電腦之路徑,想請教是否要改成我自己電腦之路徑?或檔案?

qaz670756 commented 1 month ago

Hi, requirements.txt中部分内容为anaconda直接导出,已删掉不必要的内容,应该可以正确安装依赖包

482170765 commented 1 month ago

Mr. Liu您好:

我們使用新的requirements.txt進行install,還是發現有些library裝不起來,我們是使用python3.12, 想請問您是使用哪一python版本?

Biyuan Liu @.***> 於 2024年9月19日 週四 上午10:07寫道:

Hi, requirements.txt中部分内容为anaconda直接导出,已删掉不必要的内容,应该可以正确安装依赖包

— Reply to this email directly, view it on GitHub https://github.com/qaz670756/MMCD/issues/2#issuecomment-2359833600, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKUIPUTQ57YRITLITLIUB3ZXIWWNAVCNFSM6AAAAABN2QJ6M2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJZHAZTGNRQGA . You are receiving this because you authored the thread.Message ID: @.***>

-- 石志雄 Chihhsiong Shih

東海大學 資工系 Department of Computer Science, Tunghai University

qaz670756 commented 1 month ago

hi, 我们的python版本是3.8.16,已更新requirements.txt,只保留该project所需的依赖包

482170765 commented 1 month ago

好的。感謝。

Biyuan Liu @.***> 於 2024年9月20日 星期五寫道:

hi, 我们的python版本是3.8.16,已更新requirements.txt,只保留该project所需的依赖包

— Reply to this email directly, view it on GitHub https://github.com/qaz670756/MMCD/issues/2#issuecomment-2362552971, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKUIPRUC3HPM6QZXHFBFG3ZXN6ELAVCNFSM6AAAAABN2QJ6M2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRSGU2TEOJXGE . You are receiving this because you authored the thread.Message ID: @.***>

-- 石志雄 Chihhsiong Shih

東海大學 資工系 Department of Computer Science, Tunghai University

482170765 commented 1 month ago

Mr. Liu:

想請教你執行python的OS是實體Linux,還是在虛擬環境下之Linux?

cheesepuff287 shihc @.***> 於 2024年9月20日 週五 上午10:08寫道:

好的。感謝。

Biyuan Liu @.***> 於 2024年9月20日 星期五寫道:

hi, 我们的python版本是3.8.16,已更新requirements.txt,只保留该project所需的依赖包

— Reply to this email directly, view it on GitHub https://github.com/qaz670756/MMCD/issues/2#issuecomment-2362552971, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKUIPRUC3HPM6QZXHFBFG3ZXN6ELAVCNFSM6AAAAABN2QJ6M2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRSGU2TEOJXGE . You are receiving this because you authored the thread.Message ID: @.***>

-- 石志雄 Chihhsiong Shih

東海大學 資工系 Department of Computer Science, Tunghai University

-- 石志雄 Chihhsiong Shih

東海大學 資工系 Department of Computer Science, Tunghai University

482170765 commented 1 month ago

messageImage_1726902030283

我們在執行main時,碰到此錯誤,它說utils無vis_feature模組,您有遇過?

482170765 commented 1 month ago

Mr. Liu:

看來是您那邊漏了把vis_feature.py包到utils package了。