DearCaat / MHIM-MIL

[ICCV 2023 Oral] Multiple Instance Learning Framework with Masked Hard Instance Mining for Whole Slide Image Classification
63 stars 3 forks source link

Docker loadError #19

Closed BUPT-BownZ closed 4 months ago

BUPT-BownZ commented 4 months ago

I encountered the problem ”open /home/user/docker/tmp/docker-import-2333838786/boot/json: no such file or directory'“,when trying to load the Docker environment. After checking the cause, I found that it might be due to an incomplete Docker tar file. Have you ever encountered this issue? Could you please update the Docker image tar file again?

DearCaat commented 4 months ago

Pls try to docker import to use the Docker image. After that, if u have more question, feel free to comment here.

BUPT-BownZ commented 4 months ago

After creating the Docker container, I attempted to execute:

bash python3 main.py --project=$PROJECT_NAME --dataset_root=$DATASET_PATH --model_path=$OUTPUT_PATH --cv_fold=3 --title=transmil --model=pure --baseline=selfattn --seed=2021

However, an error occurred:

Traceback (most recent call last):

File "main.py", line 807, in os.mkdir(os.path.join(args.model_path, args.project)) FileNotFoundError: [Errno 2] No such file or directory: ''

The cause of this error is that the variable in --project=$PROJECT_NAME needs to be defined by the user. The question is whether this issue is due to the Docker environment not being configured properly?

DearCaat commented 4 months ago

No, this has nothing to do with the environment, this should be your custom variable.