Hello Rowan,
We are a team of students working with the r2c model and we've opted to use google drive and colab to work on a shared version of the code.
We've uploaded the git repo, and the embeddings, annotations etc of the model and dataset to google drive fine, but struggling to get colab to cooperate when it comes to installing conda and activating the r2c env.
I've tried using both chunks of shell commands in the r2c/README, and I've tried using miniconda as per
this blog. But with either method running:
!source activate r2c OR !source activate r2c && export PYTHONPATH=/usr/local/envs/r2c
runs without visibly complaining, but if I check whether it actually worked using:
sys.prefix == sys.base_prefix
then it doesn't actually seem as though the virtual env is running. Furthermore if I try to run:
!python train.py -params multiatt/default.json -folder saves/flagship_answer
I get a "No module named 'numpy'" error - which I assume is because the environment is definitely not running.
Any ideas as to why this isn't working and how to get around it?
Thanks :)