dandelin / ViLT

Code for the ICML 2021 (long talk) paper: "ViLT: Vision-and-Language Transformer Without Convolution or Region Supervision"
Apache License 2.0
1.36k stars 209 forks source link

AttributeError: 'TracebackException' object has no attribute 'exc_traceback' #84

Open liuliAI opened 1 year ago

liuliAI commented 1 year ago

WARNING - root - Changed type of config entry "max_steps" from int to NoneType WARNING - ViLT - No observers have been added to this run INFO - ViLT - Running command 'main' INFO - ViLT - Started Global seed set to 0 INFO - lightning - Global seed set to 0 ERROR - ViLT - Failed after 0:00:03! Traceback (most recent call last): File "D:\Anaconda3\lib\site-packages\sacred\experiment.py", line 312, in run_commandline return self.run( File "D:\Anaconda3\lib\site-packages\sacred\experiment.py", line 276, in run run() File "D:\Anaconda3\lib\site-packages\sacred\run.py", line 238, in call self.result = self.main_function(args) File "D:\Anaconda3\lib\site-packages\sacred\config\captured_function.py", line 42, in captured_function result = wrapped(args, **kwargs) File "run.py", line 42, in main grad_steps = _config["batch_size"] // ( ZeroDivisionError: integer division or modulo by zero

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "run.py", line 11, in def main(_config): File "D:\Anaconda3\lib\site-packages\sacred\experiment.py", line 190, in automain self.run_commandline() print_filtered_stacktrace() File "D:\Anaconda3\lib\site-packages\sacred\utils.py", line 493, in print_filtered_stacktrace print(format_filtered_stacktrace(filter_traceback), file=sys.stderr) File "D:\Anaconda3\lib\site-packages\sacred\utils.py", line 528, in format_filtered_stacktrace return "".join(filtered_traceback_format(tb_exception)) File "D:\Anaconda3\lib\site-packages\sacred\utils.py", line 568, in filtered_traceback_format current_tb = tb_exception.exc_traceback AttributeError: 'TracebackException' object has no attribute 'exc_traceback'

highwang commented 1 year ago

did you solve this question??? please help!!!