alasdairtran / transform-and-tell

[CVPR 2020] Transform and Tell: Entity-Aware News Image Captioning
https://transform-and-tell.ml/
89 stars 14 forks source link

How does the project run on windows systems? #47

Open MrAccelerator opened 2 years ago

MrAccelerator commented 2 years ago

What do I want to run a project in a windows environment?

alasdairtran commented 2 years ago

I haven't really tested this in Windows. It's probably easiest if you just run it within the Windows Subsystem for Linux.

MrAccelerator commented 2 years ago

I haven't really tested this in Windows. It's probably easiest if you just run it within the Windows Subsystem for Linux.

Thanks for your reply, I had a difficulty while training,I run python -m tell.commands train expt/goodnews/5_transformer_roberta/config.yaml -f

INFO Beginning training. INFO Epoch 0/99 INFO Peak CPU memory usage MB: 0.0 INFO GPU 0 memory usage MB: 3351 INFO Training 0%| | 0/4096 [00:00<?, ?it/s]I NFO Grabbing all article IDs 424692it [00:01, 266073.66it/s] 407513it [00:01, 363793.16it/s] Then, it got stuck in the second line.

alasdairtran commented 2 years ago

How long did you wait? It might just be slow as it tries to read data from MongoDB. Does the MongoDB log show anything? I remember in some instances, it might take a couple of minutes in my machine to cache enough data before training starts.