mjvanderboon / headnerf Goto Github PK
View Code? Open in Web Editor NEWPytorch implementation of HeadNerf
License: MIT License
Pytorch implementation of HeadNerf
License: MIT License
Hello,
I'm trying to run the training script (train.py) on one of the datasets (specifically on comprehensive_cars), and I'm having some problems.
Just for the record, I'm doing that as a first step, since my ultimate goal is to fine-tune a pre-trained model on my own custom dataset.
After following all the installation steps and dataset downloads shown in the README.md file, I run $ python train.py configs/256res/cars_256.yaml
and mainly two error/warning messages are outputted multiple times:
Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method
Warning: Error occurred when loading file data/comprehensive_cars/images/*.jpg
So, after following the CUDA-related message and using "the 'spawn' start method" by adding torch.multiprocessing.set_start_method('spawn')
at the beginning of train.py
, an exception is raised from this line:
File "media/<user>/HD/HF_train/headnerf/train.py", line 14, in <module>
torch.multiprocessing.set_start_method('spawn')
File "/home/<user>/anaconda3/envs/test2/lib/python3.8/multiprocessing/context.py", line 243, in set_start_method
raise RuntimeError('context has already been set')
RuntimeError: context has already been set
Can anyone tell what this means?
Or even if I'm on the right path to successfully run train.py
?
Kind regards,
André
Hi, I am also using DECA. Have you found the way to estimate the extrinsic matrix (3 * 4) with DECA ? The code_dict['pose'] only returns six parameters. Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.