Comments (6)
It seems this issue might be related to the version of the some package, though I'm not certain about the exact versions. However, you can run 'train.py' by modifying the code as follows: change for logger in self.logger:
to for logger in [self.logger]:
.
from dad-3dheads.
Hi,
I have the same issue when running train.py.
Could you please kindly tell me how to fix it?
Thank you.
from dad-3dheads.
could you please elaborate?
from dad-3dheads.
File "train.py", line 48, in
run_experiment()
File "/home/ria/anaconda3/envs/raft/lib/python3.8/site-packages/hydra/main.py", line 49, in decorated_main
_run_hydra(
File "/home/ria/anaconda3/envs/raft/lib/python3.8/site-packages/hydra/_internal/utils.py", line 367, in _run_hydra
run_and_report(
File "/home/ria/anaconda3/envs/raft/lib/python3.8/site-packages/hydra/_internal/utils.py", line 214, in run_and_report
raise ex
File "/home/ria/anaconda3/envs/raft/lib/python3.8/site-packages/hydra/_internal/utils.py", line 211, in run_and_report
return func()
File "/home/ria/anaconda3/envs/raft/lib/python3.8/site-packages/hydra/_internal/utils.py", line 368, in
lambda: hydra.run(
File "/home/ria/anaconda3/envs/raft/lib/python3.8/site-packages/hydra/_internal/hydra.py", line 110, in run
_ = ret.return_value
File "/home/ria/anaconda3/envs/raft/lib/python3.8/site-packages/hydra/core/utils.py", line 233, in return_value
raise self._return_value
File "/home/ria/anaconda3/envs/raft/lib/python3.8/site-packages/hydra/core/utils.py", line 160, in run_job
ret.return_value = task_function(task_cfg)
File "train.py", line 44, in run_experiment
train(config)
File "train.py", line 24, in train
dad3d_trainer.fit()
File "/mnt/d/desktop/study/DAD-3DHeads/model_training/train/trainer.py", line 58, in fit
self.local_train(test_fn=test_fn)
File "/mnt/d/desktop/study/DAD-3DHeads/model_training/train/trainer.py", line 24, in local_train
self.trainer.fit(self.dad3d_net)
File "/home/ria/anaconda3/envs/raft/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 771, in fit
self._call_and_handle_interrupt(
File "/home/ria/anaconda3/envs/raft/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 724, in _call_and_handle_interrupt
return trainer_fn(*args, **kwargs)
File "/home/ria/anaconda3/envs/raft/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 812, in _fit_impl
results = self._run(model, ckpt_path=self.ckpt_path)
File "/home/ria/anaconda3/envs/raft/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1237, in _run
results = self._run_stage()
File "/home/ria/anaconda3/envs/raft/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1324, in _run_stage
return self._run_train()
File "/home/ria/anaconda3/envs/raft/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1343, in _run_train
self._pre_training_routine()
File "/home/ria/anaconda3/envs/raft/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1337, in _pre_training_routine
self._call_lightning_module_hook("on_pretrain_routine_start")
File "/home/ria/anaconda3/envs/raft/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1596, in _call_lightning_module_hook
output = fn(*args, **kwargs)
File "/mnt/d/desktop/study/DAD-3DHeads/model_training/train/flame_lightning_model.py", line 248, in on_pretrain_routine_start
for logger in self.logger:
TypeError: 'TensorBoardLogger' object is not iterable
I have the same problem here._
from dad-3dheads.
could you please tell me the version of your tensorboard ? It might help.
from dad-3dheads.
it's tensorboard==2.12.0
in my env for this project. hope this helps.
from dad-3dheads.
Related Issues (20)
- UV Map
- dataset request form no reply HOT 4
- Can this model produce such dense grid model or mesh information? HOT 2
- /any pretrained model available for download HOT 1
- Wrong vertex number in right cheek. HOT 2
- Can I use labeling tools? HOT 1
- Why facial landmarks are not recognized correctly HOT 3
- ALFW2000-3D preprocessing HOT 1
- Error when calculating metrics HOT 1
- dataset request form no reply :( HOT 7
- Metadata val.json missing attributes labels HOT 1
- Request for Assistance with Error in Code - ValueError: Unexpected keyword arguments: `compute_on_step` HOT 1
- It seems that training with Multi-GPUs will result inferior results. HOT 3
- 3d meshes are upside down HOT 2
- The Euler angles calculated from the annotation files are too different from the Euler angles predicted by the model.
- Any idea about render obj to image? HOT 1
- Rotation Matrix HOT 2
- Face Transformation
- Request for Assistance with Error in Executing train.py - ValueError: Unexpected keyword arguments: `compute_on_step` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dad-3dheads.