Open CrispyFeSo4 opened 5 months ago
I have solved the problem below
huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
To disable this warning, you can either:
- Avoid using `tokenizers` before the fork if possible
- Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
by adding code below to the beginning of text2nerf_main.py
import os
os.environ["TOKENIZERS_PARALLELISM"] = "false"
but the issue below still exists and I cannot solve it
/miniconda3/envs/text2nerf/lib/python3.10/site-packages/numpy/core/fromnumeric.py:3504: RuntimeWarning: Mean of empty slice.
return _methods._mean(a, axis=axis, dtype=dtype,
/miniconda3/envs/text2nerf/lib/python3.10/site-packages/numpy/core/_methods.py:129: RuntimeWarning: invalid value encountered in scalar divide
ret = ret.dtype.type(ret / rcount)
I got this error when training the model. Any idea how to resolve this? thanks!!!