SakanaAI / AI-Scientist

The AI Scientist: Towards Fully Automated Open-Ended Scientific Discovery 🧑‍🔬
Apache License 2.0
8.24k stars 1.16k forks source link

Failed to perform writeup: 'utf-8' codec can't decode byte 0x8a in position 139424: invalid start byte #130

Open callor opened 2 months ago

callor commented 2 months ago

It has been running for about 35 hours and then stopped with an error. What could be the problem? While running python launch_scientist.py, the following error occurred:

! LaTeX Error: \begin{subfigure} on input line 340 ended by \end{figure}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.385 \end{figure}

)
! Emergency stop.
<*> template.tex

!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on template.log.

Standard Error:

Standard Output:
 This is BibTeX, Version 0.99d (TeX Live 2023/Debian)
The top-level auxiliary file: template.aux
The style file: iclr2024_conference.bst
Database file #1: references.bib
Repeated entry---line 118 of file references.bib
 : @article{Roy2020EfficientCS
 :                            ,
I'm skipping whatever remains of this entry
(There was 1 error message)

Standard Error:

Failed to perform writeup: 'utf-8' codec can't decode byte 0x8a in position 139424: invalid start byte
FINISHED IDEA
Completed idea: sparse_attention, Success: False
All ideas evaluated.
conglu1997 commented 2 months ago

Hi! Writing succeeds with a success rate dependent on the model. For weaker models, you can try directly re-trying the writeup with this script: https://github.com/SakanaAI/AI-Scientist/blob/main/ai_scientist/perform_writeup.py